org.camunda.spin.plugin.variable.value.impl
Class SpinValueImpl

java.lang.Object
  extended by org.camunda.bpm.engine.variable.impl.value.AbstractTypedValue<org.camunda.spin.Spin<?>>
      extended by org.camunda.spin.plugin.variable.value.impl.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 Summary
protected  String dataFormatName
           
protected  boolean isDeserialized
           
protected  String serializedValue
           
 
Fields inherited from class org.camunda.bpm.engine.variable.impl.value.AbstractTypedValue
type, value
 
Constructor Summary
SpinValueImpl(org.camunda.spin.Spin<?> value, String serializedValue, String dataFormatName, boolean isDeserialized, org.camunda.bpm.engine.variable.type.ValueType type)
           
 
Method Summary
 org.camunda.spin.spi.DataFormat<? extends org.camunda.spin.Spin<?>> getDataFormat()
           
 String getSerializationDataFormat()
           
 SpinValueType getType()
           
 org.camunda.spin.Spin<?> getValue()
           
 String getValueSerialized()
           
 boolean isDeserialized()
           
 void setSerializationDataFormat(String serializationDataFormat)
           
 void setValueSerialized(String serializedValue)
           
 
Methods inherited from class org.camunda.bpm.engine.variable.impl.value.AbstractTypedValue
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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)
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 org.camunda.bpm.engine.variable.value.TypedValue
Specified by:
getValue in interface SpinValue
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


Copyright © 2016 camunda services GmbH. All rights reserved.