Hi
a>
would anyone recommand one or several good books about object-oriented analyis and
design? both in theoretic and practice?
b>
and I have one question:
in our system, there are classes: Order, OrderItem, Product.
one Order has 1 to many OrderItems, each OrderItem has relationship to One Product.
there are two method to model them:
1) Order: int orderID,Date orderDate, Collection items
OrderItem: int lineNo, int qty, double price, Product product
Product: Int productID, String name, String UOM
2) Order: int orderID,Date orderDate
OrderItem: int orderID, int lineNo, int qty, double price, int productID
Product: Int productID, String name, String UOM
which one is more OO?
c>
are there any theory in OOAD about how to model these kind of relationship?
are there any theory in OOAD just like normalization in RDBMS design?
thanks
Tian WeiJun
[EMAIL PROTECTED]
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************