File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Architect Certification (SCEA/OCMJEA)
Joined: Nov 19, 2006
Dec 10, 2006 19:51:00
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?
Joined: Jul 11, 2005
Dec 12, 2006 16:20:00
You never encounter an emply list. Say in
, 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*
Passed Part 2/3
SCEA part 2 : a question of domain model
just passed 310-061 only 93%
Modeling a many-to-many relationship in java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014