com.infoengine.schema
Class DisplayValue

java.lang.Object
  extended bycom.infoengine.schema.DisplayValue
All Implemented Interfaces:
Serializable

public class DisplayValue
extends Object
implements Serializable

Associates a string id with a display string value

See Also:
DisplayContainer, Serialized Form

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

Field Detail

id

private String id

value

private String value
Constructor Detail

DisplayValue

public DisplayValue()
Create DisplayValue with null id and value


DisplayValue

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

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

setId

public void setId(String id)
Set the id

Parameters:
id - the new id

getId

public String getId()
Get the id

Returns:
the id of this object

setValue

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

Parameters:
v - the new display string value

getValue

public String getValue()
Get the display string value

Returns:
the display string of this object