com.ivata.mask.valueobject
Interface ValueObject

All Superinterfaces:
java.io.Serializable

public interface ValueObject
extends java.io.Serializable

For the purposes of ivata masks, a value object or data object (we use the two synonymously) defines any object which may be listed, edited, displayed or persisted by the system.

Classic examples are the kinds of 'noun' of a problem domain, such as the order, order item, product and customer value objects in the demo application.

All ivata masks value objects implement this interface.

Since:
ivata masks 0.4 (2004-05-10)
Version:
$Revision: 1.3 $
Author:
Colin MacLeod colin.macleod@ivata.com

Method Summary
 java.lang.String getDisplayValue()
           Get the string representation of this value object to show to the user.
 java.lang.String getIdString()
           Identifies this value object uniquely.
 

Method Detail

getIdString

public java.lang.String getIdString()

Identifies this value object uniquely. This value may only be null for a new value object.

Returns:
unique identifier for this value object.

getDisplayValue

public java.lang.String getDisplayValue()

Get the string representation of this value object to show to the user.

Returns:
valid string representation.


Copyright © 2001-2005 ivata limited. All Rights Reserved.