File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Modeling 1...1*

Ram Ruk
Greenhorn

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?

Thanks
Ara Tatous
Greenhorn

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: http://aspose.com/file-tools
 
subject: Modeling 1...1*
 
Similar Threads
unidirectional relationship
SCEA part 2 : a question of domain model
just passed 310-061 only 93%
Passed Part 2/3
Modeling a many-to-many relationship in java