Reputation: 19
I am struggling with creating a domain model for a class. I have a basic understanding of domain models and their purpose however really have no idea where to begin on this.
"Consider the following description of the rules for meetings in a company:
Could someone help with creating a domain model representing this information?
Upvotes: 1
Views: 108
Reputation: 36295
Basically (!) it's very simple. In a nutshell:
Talking of objects is because you are analysing a business domain with concrete objects. You model these as classes in order to abstract them.
The difficulty are the details. You need to hold meetings with stakeholders to find all objects and to squeze the details out of them. Take for example an address or a person. Very common business objects. Everybody seems to know everything about it. But then you find details like: we're doing business in America and China and they have completely differnt way to address someone. There are even local differences. Or a middle name is common in America while Germany does not really have one. And so on and so forth.
So in detail for your simple domain model:
Upvotes: 1