コード例 #1
0
  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;
        }
      }
    }
  }