Examples of SerializableValue


Examples of org.camunda.bpm.engine.variable.value.SerializableValue

    String typeName = typedValue.getType().getName();
    dto.setType(toRestApiTypeName(typeName));
    dto.setValueInfo(typedValue.getType().getValueInfo(typedValue));

    if(typedValue instanceof SerializableValue) {
      SerializableValue serializableValue = (SerializableValue) typedValue;

      if(serializableValue.isDeserialized()) {
        dto.setValue(serializableValue.getValue());
      }
      else {
        dto.setValue(serializableValue.getValueSerialized());
      }

    }
    else {
      dto.setValue(typedValue.getValue());
View Full Code Here

Examples of org.chromium.sdk.internal.wip.WipValueBuilder.SerializableValue

      String thisObjectId = null;
      final List<CallArgumentParam> additionalObjectIds = new ArrayList<CallArgumentParam>(0);
      String tempObjectRef = GLOBAL_VARIABLE_NAME + ".data." + dataId + ".";
      for (Map.Entry<String, ? extends SerializableValue> entry : additionalContext.entrySet()) {
        SerializableValue jsValueBase = entry.getValue();
        String commandParamName;
        if (thisObjectId == null && jsValueBase.getRefId() != null) {
          commandParamName = "this";
          thisObjectId = jsValueBase.getRefId();
        } else {
          commandParamName = "p" + additionalObjectIds.size();
          CallArgumentParam callArgumentParam = jsValueBase.createCallArgumentParam();
          if (callArgumentParam == null) {
            throw new IllegalArgumentException("Cannot serialize additional context property " +
                entry.getKey());
          }
          additionalObjectIds.add(callArgumentParam);
View Full Code Here

Examples of org.chromium.sdk.internal.wip.WipValueBuilder.SerializableValue

      String thisObjectId = null;
      final List<CallArgumentParam> additionalObjectIds = new ArrayList<CallArgumentParam>(0);
      String tempObjectRef = GLOBAL_VARIABLE_NAME + ".data." + dataId + ".";
      for (Map.Entry<String, ? extends SerializableValue> entry : additionalContext.entrySet()) {
        SerializableValue jsValueBase = entry.getValue();
        String commandParamName;
        if (thisObjectId == null && jsValueBase.getRefId() != null) {
          commandParamName = "this";
          thisObjectId = jsValueBase.getRefId();
        } else {
          commandParamName = "p" + additionalObjectIds.size();
          CallArgumentParam callArgumentParam = jsValueBase.createCallArgumentParam();
          if (callArgumentParam == null) {
            throw new IllegalArgumentException("Cannot serialize additional context property " +
                entry.getKey());
          }
          additionalObjectIds.add(callArgumentParam);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.