Interface TypedValue
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
BooleanValue
,BytesValue
,DateValue
,DeferredFileValue
,DoubleValue
,FileValue
,IntegerValue
,JsonValue
,JsonValue
,LongValue
,NumberValue
,ObjectValue
,PrimitiveValue<T>
,SerializableValue
,ShortValue
,SpinValue
,StringValue
,XmlValue
,XmlValue
- All Known Implementing Classes:
AbstractTypedValue
,DeferredFileValueImpl
,FileValueImpl
,JsonValueImpl
,JsonValueImpl
,NullValueImpl
,ObjectValueImpl
,PrimitiveTypeValueImpl
,PrimitiveTypeValueImpl.BooleanValueImpl
,PrimitiveTypeValueImpl.BytesValueImpl
,PrimitiveTypeValueImpl.DateValueImpl
,PrimitiveTypeValueImpl.DoubleValueImpl
,PrimitiveTypeValueImpl.IntegerValueImpl
,PrimitiveTypeValueImpl.LongValueImpl
,PrimitiveTypeValueImpl.NumberValueImpl
,PrimitiveTypeValueImpl.ShortValueImpl
,PrimitiveTypeValueImpl.StringValueImpl
,SpinValueImpl
,UntypedValueImpl
,XmlValueImpl
,XmlValueImpl
A TypedValue
is a value with additional type information (the ValueType
).
TypedValues are used for representing variable values.
- Since:
- 7.2
- Author:
- Daniel Meyer
-
Method Details
-
getValue
Object getValue()The actual value. May be null in case the value is null.- Returns:
- the value
-
getType
ValueType getType()The type of the value. See ValueType for a list of built-in ValueTypes.- Returns:
- the type of the value.
-
isTransient
boolean isTransient()Indicator for transience of the value- Returns:
- isTransient
-