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

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
          extended by org.camunda.spin.plugin.variable.value.impl.JsonValueImpl
All Implemented Interfaces:
Serializable, org.camunda.bpm.engine.variable.value.SerializableValue, org.camunda.bpm.engine.variable.value.TypedValue, JsonValue, SpinValue

public class JsonValueImpl
extends SpinValueImpl
implements JsonValue

Author:
Roman Smirnov
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.camunda.spin.plugin.variable.value.impl.SpinValueImpl
dataFormatName, isDeserialized, serializedValue
 
Fields inherited from class org.camunda.bpm.engine.variable.impl.value.AbstractTypedValue
type, value
 
Constructor Summary
JsonValueImpl(org.camunda.spin.json.SpinJsonNode value)
           
JsonValueImpl(org.camunda.spin.json.SpinJsonNode value, String serializedValue, String dataFormatName, boolean isDeserialized)
           
JsonValueImpl(String value)
           
JsonValueImpl(String value, String dataFormatName)
           
 
Method Summary
 org.camunda.spin.spi.DataFormat<org.camunda.spin.json.SpinJsonNode> getDataFormat()
           
 JsonValueType getType()
           
 org.camunda.spin.json.SpinJsonNode getValue()
           
 
Methods inherited from class org.camunda.spin.plugin.variable.value.impl.SpinValueImpl
getSerializationDataFormat, getValueSerialized, isDeserialized, setSerializationDataFormat, setValueSerialized
 
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
 
Methods inherited from interface org.camunda.bpm.engine.variable.value.SerializableValue
getSerializationDataFormat, getValueSerialized, isDeserialized
 

Constructor Detail

JsonValueImpl

public JsonValueImpl(org.camunda.spin.json.SpinJsonNode value,
                     String serializedValue,
                     String dataFormatName,
                     boolean isDeserialized)

JsonValueImpl

public JsonValueImpl(org.camunda.spin.json.SpinJsonNode value)

JsonValueImpl

public JsonValueImpl(String value,
                     String dataFormatName)

JsonValueImpl

public JsonValueImpl(String value)
Method Detail

getDataFormat

public org.camunda.spin.spi.DataFormat<org.camunda.spin.json.SpinJsonNode> getDataFormat()
Specified by:
getDataFormat in interface JsonValue
Specified by:
getDataFormat in interface SpinValue
Overrides:
getDataFormat in class SpinValueImpl

getType

public JsonValueType 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
Specified by:
getType in interface JsonValue
Overrides:
getType in class SpinValueImpl

getValue

public org.camunda.spin.json.SpinJsonNode 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 JsonValue
Specified by:
getValue in interface SpinValue
Overrides:
getValue in class SpinValueImpl


Copyright © 2016 camunda services GmbH. All rights reserved.