This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
SCEA part 2 : a question of domain model
unidirectional relationship
just passed 310-061 only 93%
Passed Part 2/3
Modeling a many-to-many relationship in java