Hi, In the business domain model, the Itinerary has a 1...1* relationship with the Segment. How would you model such a relationship? 1..1 is a reference. 1..0* is a list. Not sure how 1...1* might be modeled. Any thoughts?
posted 9 years ago
You never encounter an emply list. Say in Java, ArrayList can exist but its size can be zero, one or more than one. right? So, if you use a List it will cover all the cases.