Class SpinValueImpl

  • All Implemented Interfaces:
    Serializable, org.camunda.bpm.engine.variable.value.SerializableValue, org.camunda.bpm.engine.variable.value.TypedValue, SpinValue
    Direct Known Subclasses:
    JsonValueImpl, XmlValueImpl

    public abstract class SpinValueImpl
    extends org.camunda.bpm.engine.variable.impl.value.AbstractTypedValue<org.camunda.spin.Spin<?>>
    implements SpinValue
    Author:
    Roman Smirnov
    See Also:
    Serialized Form
    • Field Detail

      • serializedValue

        protected String serializedValue
      • isDeserialized

        protected boolean isDeserialized
      • dataFormatName

        protected String dataFormatName
    • Constructor Detail

      • SpinValueImpl

        public SpinValueImpl​(org.camunda.spin.Spin<?> value,
                             String serializedValue,
                             String dataFormatName,
                             boolean isDeserialized,
                             org.camunda.bpm.engine.variable.type.ValueType type,
                             boolean isTransient)
    • Method Detail

      • getValue

        public org.camunda.spin.Spin<?> getValue()
        Specified by:
        getValue in interface org.camunda.bpm.engine.variable.value.SerializableValue
        Specified by:
        getValue in interface SpinValue
        Specified by:
        getValue in interface org.camunda.bpm.engine.variable.value.TypedValue
        Overrides:
        getValue in class org.camunda.bpm.engine.variable.impl.value.AbstractTypedValue<org.camunda.spin.Spin<?>>
      • getType

        public SpinValueType getType()
        Specified by:
        getType in interface org.camunda.bpm.engine.variable.value.SerializableValue
        Specified by:
        getType in interface org.camunda.bpm.engine.variable.value.TypedValue
        Overrides:
        getType in class org.camunda.bpm.engine.variable.impl.value.AbstractTypedValue<org.camunda.spin.Spin<?>>
      • isDeserialized

        public boolean isDeserialized()
        Specified by:
        isDeserialized in interface org.camunda.bpm.engine.variable.value.SerializableValue
      • getValueSerialized

        public String getValueSerialized()
        Specified by:
        getValueSerialized in interface org.camunda.bpm.engine.variable.value.SerializableValue
      • setValueSerialized

        public void setValueSerialized​(String serializedValue)
      • getSerializationDataFormat

        public String getSerializationDataFormat()
        Specified by:
        getSerializationDataFormat in interface org.camunda.bpm.engine.variable.value.SerializableValue
      • setSerializationDataFormat

        public void setSerializationDataFormat​(String serializationDataFormat)
      • getDataFormat

        public org.camunda.spin.spi.DataFormat<? extends org.camunda.spin.Spin<?>> getDataFormat()
        Specified by:
        getDataFormat in interface SpinValue