oracle.owb.foundation.domain
Interface PrimitiveValue

All Superinterfaces:
ScalarValue, Typed, Value
All Known Subinterfaces:
PrimitiveProperty

public interface PrimitiveValue
extends ScalarValue

PrimitiveValue represents primitive values - which can be converted to string and backforth.

Author:
Xiaoge Zhang

Method Summary
 void setValueByString(java.lang.String value)
          Set the value by string.
 java.lang.String stringValue()
          Return string representation of this primitive value.
 
Methods inherited from interface oracle.owb.foundation.domain.ScalarValue
getValue, setValue
 
Methods inherited from interface oracle.owb.foundation.domain.Value
equals, greaterThan, lessThan
 
Methods inherited from interface oracle.owb.foundation.domain.Typed
getType
 

Method Detail

stringValue

public java.lang.String stringValue()
Return string representation of this primitive value.
Returns:
value in string.

setValueByString

public void setValueByString(java.lang.String value)
                      throws InvalidFormatException
Set the value by string.
Parameters:
value - - String representation for this primitive value.
Throws:
InvalidFormatException - - String is in invalid format.