-
Nested Class Summary
Nested Classes
-
Method Summary
<T> T
Returns the current value casted to the given type.
Serialize the current value as String.
Returns the current value as generic Object.
-
Method Details
-
-
-
toValue
Returns the current value as generic Object.
- Returns:
- an uncasted instance of this value
-
toCastValue
Returns the current value casted to the given type.
- Type Parameters:
T
- cast type
- Parameters:
reference
- class reference
- Returns:
- the current value as typed java instance
- Throws:
EdmPrimitiveTypeException
- if the object is not assignable to the type T.
-
toString
Serialize the current value as String.
- Overrides:
toString
in class Object
- Returns:
- a String representation of this value