Class ObjectValueImpl

    • Field Detail

      • objectTypeName

        protected java.lang.String objectTypeName
      • serializationDataFormat

        protected java.lang.String serializationDataFormat
      • serializedValue

        protected java.lang.String serializedValue
      • isDeserialized

        protected boolean isDeserialized
    • Constructor Detail

      • ObjectValueImpl

        public ObjectValueImpl​(java.lang.Object deserializedValue,
                               java.lang.String serializedValue,
                               java.lang.String serializationDataFormat,
                               java.lang.String objectTypeName,
                               boolean isDeserialized)
      • ObjectValueImpl

        public ObjectValueImpl​(java.lang.Object value)
      • ObjectValueImpl

        public ObjectValueImpl​(java.lang.Object value,
                               boolean isTransient)
    • Method Detail

      • getSerializationDataFormat

        public java.lang.String getSerializationDataFormat()
        Description copied from interface: SerializableValue
        The serialization format used to serialize this value.
        Specified by:
        getSerializationDataFormat in interface SerializableValue
        the serialization format used to serialize this variable.
      • setSerializationDataFormat

        public void setSerializationDataFormat​(java.lang.String serializationDataFormat)
      • getObjectTypeName

        public java.lang.String getObjectTypeName()
        Description copied from interface: ObjectValue
        A String representation of the Object's type name. Usually the canonical class name of the Java Class this object is an instance of.
        Specified by:
        getObjectTypeName in interface ObjectValue
        the Object's type name.
      • setObjectTypeName

        public void setObjectTypeName​(java.lang.String objectTypeName)
      • getValueSerialized

        public java.lang.String getValueSerialized()
        Description copied from interface: SerializableValue
        Returns the serialized value. In case the serializaton data format (as returned by SerializableValue.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.
        Specified by:
        getValueSerialized in interface SerializableValue
      • setSerializedValue

        public void setSerializedValue​(java.lang.String serializedValue)
      • getValue

        public <T> T getValue​(java.lang.Class<T> type)
        Description copied from interface: ObjectValue
        Returns the object provided by this VariableValue. Allows type-safe access to objects by passing in the class.
        Specified by:
        getValue in interface ObjectValue
        type - the java class the value should be cast to
        the object represented by this TypedValue.
      • getObjectType

        public java.lang.Class<?> getObjectType()
        Description copied from interface: ObjectValue
        Returns the Class this object is an instance of.
        Specified by:
        getObjectType in interface ObjectValue
        the Class this object is an instance of