Class SpinValueImpl

    • Field Detail

      • serializedValue

        protected java.lang.String serializedValue
      • isDeserialized

        protected boolean isDeserialized
      • dataFormatName

        protected java.lang.String dataFormatName
    • Constructor Detail

      • SpinValueImpl

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

      • 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
      • setValueSerialized

        public void setValueSerialized​(java.lang.String serializedValue)
      • 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)
      • getDataFormat

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