|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ivata.mask.web.demo.valueobject.DemoValueObject
com.ivata.mask.web.demo.order.OrderDO
Represents a single order of this imaginary system.
| Constructor Summary | |
OrderDO()
Construct a new order instance with no id. |
|
OrderDO(int idParam)
Construct a new order instance with the given unique identifier. |
|
| Method Summary | |
CustomerDO |
getCustomer()
Each order had to be ordered by someone! This is the customer who placed the order. |
java.lang.String |
getDisplayValue()
For an order, this just returns toString(). |
java.util.List |
getItems()
An order ain't nothing without some items being purchased. |
void |
setCustomer(CustomerDO customerDO)
Sets the customer who made this order. |
void |
setItems(java.util.List list)
Set all of the items in the order as a list. |
| Methods inherited from class com.ivata.mask.web.demo.valueobject.DemoValueObject |
getId, getIdString, setId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OrderDO()
Construct a new order instance with no id.
public OrderDO(int idParam)
Construct a new order instance with the given unique identifier.
idParam - unique identifier of this product.| Method Detail |
public CustomerDO getCustomer()
public java.util.List getItems()
List contains instances of OrderItemDO.
List containing instances of
OrderItemDO.public void setCustomer(CustomerDO customerDO)
customerDO - customer who made this order.public void setItems(java.util.List list)
list - a List of OrderItemDO instances.public java.lang.String getDisplayValue()
toString().
com.ivata.mask.valueobject.ValueObject#getStringValue()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||