public DMCreateResponse( java.lang.Object paramObj, DMExtendedSoapSerializationEnvelope __envelope) { super(paramObj, __envelope); if (paramObj == null) return; AttributeContainer inObj = (AttributeContainer) paramObj; if (inObj instanceof SoapObject) { SoapObject soapObject = (SoapObject) inObj; int size = soapObject.getPropertyCount(); for (int i0 = 0; i0 < size; i0++) { // if you have compilation error here, please use a ksoap2.jar and ExKsoap2.jar from libs // folder (in the generated zip file) PropertyInfo info = soapObject.getPropertyInfo(i0); java.lang.Object obj = info.getValue(); if (info.name.equals("object")) { if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this._object = j.toString(); } } else if (obj != null && obj instanceof String) { this._object = (String) obj; } continue; } } } }
public DMGetDocumentListByOwnerRequest( java.lang.Object paramObj, DMExtendedSoapSerializationEnvelope __envelope) { super(paramObj, __envelope); if (paramObj == null) return; AttributeContainer inObj = (AttributeContainer) paramObj; if (inObj instanceof SoapObject) { SoapObject soapObject = (SoapObject) inObj; int size = soapObject.getPropertyCount(); for (int i0 = 0; i0 < size; i0++) { // if you have compilation error here, please use a ksoap2.jar and ExKsoap2.jar from libs // folder (in the generated zip file) PropertyInfo info = soapObject.getPropertyInfo(i0); java.lang.Object obj = info.getValue(); if (info.name.equals("owners")) { if (this.owners == null) { this.owners = new ArrayList<DMObject>(); } java.lang.Object j = obj; DMObject j1 = (DMObject) __envelope.get(j, DMObject.class); this.owners.add(j1); continue; } if (info.name.equals("columnSet")) { if (this.columnSet == null) { this.columnSet = new ArrayList<String>(); } java.lang.Object j = obj; String j1 = j.toString(); this.columnSet.add(j1); continue; } } } }
public OJCDMBusinessProcessApprovalParticipant( java.lang.Object paramObj, DMExtendedSoapSerializationEnvelope __envelope) { super(paramObj, __envelope); if (paramObj == null) return; AttributeContainer inObj = (AttributeContainer) paramObj; if (inObj instanceof SoapObject) { SoapObject soapObject = (SoapObject) inObj; int size = soapObject.getPropertyCount(); for (int i0 = 0; i0 < size; i0++) { // if you have compilation error here, please use a ksoap2.jar and ExKsoap2.jar from libs // folder (in the generated zip file) PropertyInfo info = soapObject.getPropertyInfo(i0); java.lang.Object obj = info.getValue(); if (info.name.equals("approvalOrder")) { java.lang.Object j = obj; this.approvalOrder = (DMApprovalOrder) __envelope.get(j, DMApprovalOrder.class); continue; } } } }
public DeviceType(AttributeContainer inObj, ExtendedSoapSerializationEnvelope envelope) { if (inObj == null) return; SoapObject soapObject = (SoapObject) inObj; if (soapObject.hasProperty("DeviceId")) { Object obj = soapObject.getProperty("DeviceId"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.DeviceId = Integer.parseInt(j.toString()); } } else if (obj != null && obj instanceof Integer) { this.DeviceId = (Integer) obj; } } if (soapObject.hasProperty("IndustryCode")) { Object obj = soapObject.getProperty("IndustryCode"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.IndustryCode = j.toString(); } } else if (obj != null && obj instanceof String) { this.IndustryCode = (String) obj; } } if (soapObject.hasProperty("DeviceTypeId")) { Object obj = soapObject.getProperty("DeviceTypeId"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.DeviceTypeId = Integer.parseInt(j.toString()); } } else if (obj != null && obj instanceof Integer) { this.DeviceTypeId = (Integer) obj; } } if (soapObject.hasProperty("DeviceDescription")) { Object obj = soapObject.getProperty("DeviceDescription"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.DeviceDescription = j.toString(); } } else if (obj != null && obj instanceof String) { this.DeviceDescription = (String) obj; } } if (soapObject.hasProperty("CheckProcessor")) { Object obj = soapObject.getProperty("CheckProcessor"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.CheckProcessor = j.toString(); } } else if (obj != null && obj instanceof String) { this.CheckProcessor = (String) obj; } } if (soapObject.hasProperty("CheckSEC")) { int size = soapObject.getPropertyCount(); this.CheckSEC = new ArrayList<String>(); for (int i0 = 0; i0 < size; i0++) { PropertyInfo info = new PropertyInfo(); soapObject.getPropertyInfo(i0, info); Object obj = info.getValue(); if (obj != null && info.name.equals("CheckSEC")) { Object j = info.getValue(); String j1 = j.toString(); this.CheckSEC.add(j1); } } } }