org.ujoframework.orm.sample
Class Item
java.lang.Object
org.ujoframework.extensions.AbstractUjo
org.ujoframework.implementation.quick.QuickUjo
org.ujoframework.implementation.orm.OrmTable<Item>
org.ujoframework.orm.sample.Item
- All Implemented Interfaces:
- UjoCloneable, UjoTextable, OrmUjo, Ujo
public class Item
- extends OrmTable<Item>
The column mapping to DB table ITEM (a sample of usage).
Note, that the Item object have got a reference to a Order object.
| Fields inherited from class org.ujoframework.implementation.quick.QuickUjo |
data |
|
Constructor Summary |
Item()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ID
public static final UjoProperty<Item,java.lang.Long> ID
- Unique key
USER_ID
public static final UjoProperty<Item,java.lang.Integer> USER_ID
- User key
DESCR
public static final UjoProperty<Item,java.lang.String> DESCR
- Description of Item
ORDER
public static final UjoProperty<Item,Order> ORDER
- A reference to common Order
_ORDER_DATE
public static final UjoProperty<Item,java.util.Date> _ORDER_DATE
- A composed/indirect PATH property to a "date" attribute of the Order
Item
public Item()
getId
public java.lang.Long getId()
setId
public void setId(java.lang.Long id)
getUsrId
public java.lang.Integer getUsrId()
setUsrId
public void setUsrId(java.lang.Integer usrId)
getDescr
public java.lang.String getDescr()
setDescr
public void setDescr(java.lang.String descr)
getOrder
public Order getOrder()
setOrder
public void setOrder(Order descr)
getOrderDate
public java.util.Date getOrderDate()
- Example of the composed PATH property
Copyright © 2009. All Rights Reserved.