com.infoengine.schema
Class EnumeratedValue

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

public class EnumeratedValue
extends com.infoengine.schema.DisplayContainer
implements java.io.Serializable

Represents an enumerated value option. SimpleType objects may be enumerated and contain arrays of EnumeratedValues

See Also:
SimpleType, Serialized Form

Constructor Summary
EnumeratedValue()
           
 
Method Summary
 boolean getIsDefault()
          Get the isDefault property value
 boolean getIsSelectable()
          Get the isSelectable property value
 java.lang.String getValue()
          Get the string value
 boolean isDefault()
          Get the isDefault property value
 boolean isSelectable()
          Get the isSelectable property value
 void setIsDefault(boolean b)
          Set the isDefault property
 void setIsSelectable(boolean b)
          Set the isSelectable property value.
 void setValue(java.lang.String v)
          Set the string value
 
Methods inherited from class com.infoengine.schema.DisplayContainer
addDisplayValue, getDisplays, getDisplays, getDisplayString, getDisplayValue, getIds, removeDisplayValue, setDisplays, setDisplays, setDisplayString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumeratedValue

public EnumeratedValue()
Method Detail

setValue

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

Parameters:
v - the new value

getValue

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

Returns:
the value

setIsDefault

public void setIsDefault(boolean b)
Set the isDefault property

A value of true indicates this is the default selection. Only one EnumeratedValue per array should be the default.

Parameters:
b - the new property value

getIsDefault

public boolean getIsDefault()
Get the isDefault property value

Returns:
the property value

isDefault

public boolean isDefault()
Get the isDefault property value

Returns:
the property value

setIsSelectable

public void setIsSelectable(boolean b)
Set the isSelectable property value.

This property indicates whether or not a end user should be allowed to select this EnumeratedValue from a list.

Parameters:
b - the new property value

getIsSelectable

public boolean getIsSelectable()
Get the isSelectable property value

Returns:
the property value

isSelectable

public boolean isSelectable()
Get the isSelectable property value

Returns:
the property value