Interface TypedValue
-
- All Superinterfaces:
java.io.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
public interface TypedValue extends java.io.Serializable
A
TypedValue
is a value with additional type information (theValueType
). TypedValues are used for representing variable values.- Since:
- 7.2
- Author:
- Daniel Meyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ValueType
getType()
The type of the value.java.lang.Object
getValue()
The actual value.boolean
isTransient()
Indicator for transience of the value
-
-
-
Method Detail
-
getValue
java.lang.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
-
-