Class JsonValueImpl
java.lang.Object
org.camunda.bpm.engine.variable.impl.value.AbstractTypedValue<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
(SpinJsonNode value) JsonValueImpl
(SpinJsonNode value, String serializedValue, String dataFormatName, boolean isDeserialized) JsonValueImpl
(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
-
JsonValueImpl
-
JsonValueImpl
public JsonValueImpl(SpinJsonNode value, String serializedValue, String dataFormatName, boolean isDeserialized) -
JsonValueImpl
public JsonValueImpl(SpinJsonNode value, String serializedValue, String dataFormatName, boolean isDeserialized, boolean isTransient)
-
-
Method Details
-
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
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
-