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

public interface TypedValue extends Serializable

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 Summary

    Modifier and Type
    Method
    Description
    The type of the value.
    The actual value.
    boolean
    Indicator for transience of the value
  • 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