File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Modeling 1...1* Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Modeling 1...1*" Watch "Modeling 1...1*" New topic

Modeling 1...1*

Ram Ruk

Joined: Nov 19, 2006
Posts: 10
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?

Ara Tatous

Joined: Jul 11, 2005
Posts: 16
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.
I agree. Here's the link:
subject: Modeling 1...1*
It's not a secret anymore!