Interface SerializableValue

All Superinterfaces:
Serializable, TypedValue
All Known Subinterfaces:
JsonValue, ObjectValue, SpinValue, XmlValue
All Known Implementing Classes:
JsonValueImpl, ObjectValueImpl, SpinValueImpl, XmlValueImpl

public interface SerializableValue extends TypedValue
A TypedValue for which a serialized value can be obtained and specified
Daniel Meyer
  • Method Details

    • isDeserialized

      boolean isDeserialized()
      Returns true in case the value is deserialized. If this method returns true, it is safe to call the getValue() method
      true if the object is deserialized.
    • getValue

      Object getValue()
      Returns the value or null in case the value is null.
      Specified by:
      getValue in interface TypedValue
      the value represented by this TypedValue.
      IllegalStateException - in case the value is not deserialized. See isDeserialized().
    • getValueSerialized

      String getValueSerialized()
      Returns the serialized value. In case the serializaton data format (as returned by getSerializationDataFormat()) is not text based, a base 64 encoded representation of the value is returned The serialized value is a snapshot of the state of the value as it is serialized to the process engine database.
    • getSerializationDataFormat

      String getSerializationDataFormat()
      The serialization format used to serialize this value.
      the serialization format used to serialize this variable.
    • getType

      Description copied from interface: TypedValue
      The type of the value. See ValueType for a list of built-in ValueTypes.
      Specified by:
      getType in interface TypedValue
      the type of the value.