| java.lang.Object com.ivata.mask.web.demo.valueobject.DemoValueObject
All known Subclasses: com.ivata.mask.web.demo.order.item.OrderItemDO, com.ivata.mask.web.demo.order.OrderDO, com.ivata.mask.web.demo.customer.CustomerDO, com.ivata.mask.web.demo.product.ProductDO,
DemoValueObject | abstract public class DemoValueObject implements ValueObject(Code) | |
Inherited by all value objects in this demo.
since: ivata masks 0.2 (2004-05-24) author: Colin MacLeod author: colin.macleod@ivata.com version: $Revision: 1.4 $ |
Constructor Summary | |
public | DemoValueObject()
Construct a new value object marked as invalid. | public | DemoValueObject(int idParam)
Construct a new value object with the given id value. |
Method Summary | |
final public int | getId() Get the unique identifier of this value object, in its internal form:
int . | final public String | getIdString() Get the unique identifier of the value object, as a string. | final public void | setId(int idParam) Get the unique identifier of this value object, in its internal form:
int . |
DemoValueObject | public DemoValueObject()(Code) | |
Construct a new value object marked as invalid.
|
DemoValueObject | public DemoValueObject(int idParam)(Code) | |
Construct a new value object with the given id value.
Parameters: idParam - unique identifier of the object. |
getId | final public int getId()(Code) | | Get the unique identifier of this value object, in its internal form:
int .
unique identifier as an int . |
getIdString | final public String getIdString()(Code) | | Get the unique identifier of the value object, as a string.
See Also: com.ivata.mask.ValueObject.getIdString |
setId | final public void setId(int idParam)(Code) | | Get the unique identifier of this value object, in its internal form:
int .
Parameters: idParam - unique identifier of this value object, as anint . |
|
|