Class JsonValueImpl
java.lang.Object
org.camunda.bpm.engine.variable.impl.value.AbstractTypedValue<org.camunda.spin.Spin<?>>
org.camunda.spin.plugin.variable.value.impl.SpinValueImpl
org.camunda.spin.plugin.variable.value.impl.JsonValueImpl
- All Implemented Interfaces:
Serializable
,SerializableValue
,TypedValue
,JsonValue
,SpinValue
- Author:
- Roman Smirnov
- See Also:
-
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
isTransient, type, value
-
Constructor Summary
ConstructorDescriptionJsonValueImpl
(String value) JsonValueImpl
(String value, String dataFormatName) JsonValueImpl
(org.camunda.spin.json.SpinJsonNode value) JsonValueImpl
(org.camunda.spin.json.SpinJsonNode value, String serializedValue, String dataFormatName, boolean isDeserialized) JsonValueImpl
(org.camunda.spin.json.SpinJsonNode value, String serializedValue, String dataFormatName, boolean isDeserialized, boolean isTransient) -
Method Summary
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
isTransient, setTransient, 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
Methods inherited from interface org.camunda.bpm.engine.variable.value.TypedValue
isTransient
-
Constructor Details
-
JsonValueImpl
-
JsonValueImpl
public JsonValueImpl(org.camunda.spin.json.SpinJsonNode value) -
JsonValueImpl
-
JsonValueImpl
-
JsonValueImpl
-
-
Method Details
-
getDataFormat
public org.camunda.spin.spi.DataFormat<org.camunda.spin.json.SpinJsonNode> getDataFormat()- Specified by:
getDataFormat
in interfaceJsonValue
- Specified by:
getDataFormat
in interfaceSpinValue
- Overrides:
getDataFormat
in classSpinValueImpl
-
getType
Description copied from interface:TypedValue
The type of the value. See ValueType for a list of built-in ValueTypes.- Specified by:
getType
in interfaceJsonValue
- Specified by:
getType
in interfaceSerializableValue
- Specified by:
getType
in interfaceTypedValue
- Overrides:
getType
in classSpinValueImpl
- Returns:
- the type of the value.
-
getValue
public org.camunda.spin.json.SpinJsonNode getValue()Description copied from interface:TypedValue
The actual value. May be null in case the value is null.- Specified by:
getValue
in interfaceJsonValue
- Specified by:
getValue
in interfaceSerializableValue
- Specified by:
getValue
in interfaceSpinValue
- Specified by:
getValue
in interfaceTypedValue
- Overrides:
getValue
in classSpinValueImpl
- Returns:
- the value
-