com.infoengine.schema
Class DisplayValue

java.lang.Object
  extended by com.infoengine.schema.DisplayValue
All Implemented Interfaces:
java.io.Serializable

public class DisplayValue
extends java.lang.Object
implements java.io.Serializable

Associates a string id with a display string value

See Also:
DisplayContainer, Serialized Form

Constructor Summary
DisplayValue()
          Create DisplayValue with null id and value
DisplayValue(java.lang.String id, java.lang.String value)
          Create a DisplayValue with id and value
 
Method Summary
 java.lang.String getId()
          Get the id
 java.lang.String getValue()
          Get the display string value
 void setId(java.lang.String id)
          Set the id
 void setValue(java.lang.String v)
          Set the display string value
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayValue

public DisplayValue()
Create DisplayValue with null id and value


DisplayValue

public DisplayValue(java.lang.String id,
                    java.lang.String value)
Create a DisplayValue with id and value

Parameters:
id - the id value the display string
Method Detail

setId

public void setId(java.lang.String id)
Set the id

Parameters:
id - the new id

getId

public java.lang.String getId()
Get the id

Returns:
the id of this object

setValue

public void setValue(java.lang.String v)
Set the display string value

Parameters:
v - the new display string value

getValue

public java.lang.String getValue()
Get the display string value

Returns:
the display string of this object