Beispiel #1
0
 public virtual ObjectValue convertToTypedValue(UntypedValueImpl untypedValue)
 {
     // untyped values are always deserialized
     return(Variables.objectValue(untypedValue.Value, untypedValue.Transient).create());
 }
Beispiel #2
0
 public virtual StringValue convertToTypedValue(UntypedValueImpl untypedValue)
 {
     return(Variables.stringValue((string)untypedValue.Value, untypedValue.Transient));
 }
Beispiel #3
0
 public virtual BooleanValue convertToTypedValue(UntypedValueImpl untypedValue)
 {
     return(Variables.booleanValue((bool?)untypedValue.Value, untypedValue.Transient));
 }
Beispiel #4
0
 public virtual SpinValue convertToTypedValue(UntypedValueImpl untypedValue)
 {
     return(SpinValues.xmlValue((SpinXmlElement)untypedValue.Value).create());
 }
Beispiel #5
0
 public override FileValue convertToTypedValue(UntypedValueImpl untypedValue)
 {
     throw new System.NotSupportedException("Currently no automatic conversation from UntypedValue to FileValue");
 }
Beispiel #6
0
 public virtual SpinValue convertToTypedValue(UntypedValueImpl untypedValue)
 {
     return(SpinValues.jsonValue((SpinJsonNode)untypedValue.Value).create());
 }
Beispiel #7
0
 public override ObjectValue convertToTypedValue(UntypedValueImpl untypedValue)
 {
     return(Variables.objectValue(untypedValue.Value, untypedValue.Transient).create());
 }
Beispiel #8
0
 public virtual LongValue convertToTypedValue(UntypedValueImpl untypedValue)
 {
     return(Variables.longValue((long?)untypedValue.Value, untypedValue.Transient));
 }
Beispiel #9
0
 public virtual DoubleValue convertToTypedValue(UntypedValueImpl untypedValue)
 {
     return(Variables.doubleValue((double?)untypedValue.Value, untypedValue.Transient));
 }
Beispiel #10
0
 public abstract TypedValue convertToTypedValue(org.camunda.bpm.engine.variable.impl.value.UntypedValueImpl untypedValue);
Beispiel #11
0
 public override NullValueImpl convertToTypedValue(UntypedValueImpl untypedValue)
 {
     return(!untypedValue.Transient ? NullValueImpl.INSTANCE : NullValueImpl.INSTANCE_TRANSIENT);
 }