com.versionone.om
Interface IListValueProperty


public interface IListValueProperty

Represents a List Value property of an Entity.


Method Summary
 void clearCurrentValue()
          Removes the currently selected value.
 java.lang.String[] getAllValues()
           
 java.lang.String getCurrentValue()
           
 boolean isValid(java.lang.String value)
          Validates a value for this relation.
 void setCurrentValue(java.lang.String value)
           
 

Method Detail

getCurrentValue

java.lang.String getCurrentValue()
Returns:
the currently saved value.

setCurrentValue

void setCurrentValue(java.lang.String value)
Parameters:
value - to set as current.

getAllValues

java.lang.String[] getAllValues()
Returns:
The names of all of the active values that this relation can be set to.

isValid

boolean isValid(java.lang.String value)
Validates a value for this relation.

Parameters:
value - The name to validate.
Returns:
True if the name matches an item in the list, otherwise false.

clearCurrentValue

void clearCurrentValue()
Removes the currently selected value.