/**
   * Converts value object to XML representation.
   *
   * @return Element.
   */
  public Element toXml(Document doc) {
    Element root = doc.createElement("InvoiceCustDetail");
    root.setAttribute("Id", String.valueOf(mOrderItemData));

    Element node;

    node = doc.createElement("InvoiceCustDetailData");
    node.appendChild(doc.createTextNode(String.valueOf(mInvoiceCustDetailData)));
    root.appendChild(node);

    return root;
  }
  /**
   * Converts value object to XML representation.
   *
   * @return Element.
   */
  public Element toXml(Document doc) {
    Element root = doc.createElement("InboundPollockOrderGuideLoader");
    root.setAttribute("Id", String.valueOf(mEditType));

    Element node;

    node = doc.createElement("RecordType");
    node.appendChild(doc.createTextNode(String.valueOf(mRecordType)));
    root.appendChild(node);

    node = doc.createElement("RecordValue1");
    node.appendChild(doc.createTextNode(String.valueOf(mRecordValue1)));
    root.appendChild(node);

    node = doc.createElement("RecordValue2");
    node.appendChild(doc.createTextNode(String.valueOf(mRecordValue2)));
    root.appendChild(node);

    node = doc.createElement("RecordValue3");
    node.appendChild(doc.createTextNode(String.valueOf(mRecordValue3)));
    root.appendChild(node);

    return root;
  }
  /**
   * Converts value object to XML representation.
   *
   * @return Element.
   */
  public Element toXml(Document doc) {
    Element root = doc.createElement("ProductViewDef");

    Element node;

    root.setAttribute("Id", String.valueOf(mProductViewDefId));

    node = doc.createElement("StatusCd");
    node.appendChild(doc.createTextNode(String.valueOf(mStatusCd)));
    root.appendChild(node);

    node = doc.createElement("AccountId");
    node.appendChild(doc.createTextNode(String.valueOf(mAccountId)));
    root.appendChild(node);

    node = doc.createElement("Attributename");
    node.appendChild(doc.createTextNode(String.valueOf(mAttributename)));
    root.appendChild(node);

    node = doc.createElement("SortOrder");
    node.appendChild(doc.createTextNode(String.valueOf(mSortOrder)));
    root.appendChild(node);

    node = doc.createElement("Width");
    node.appendChild(doc.createTextNode(String.valueOf(mWidth)));
    root.appendChild(node);

    node = doc.createElement("StyleClass");
    node.appendChild(doc.createTextNode(String.valueOf(mStyleClass)));
    root.appendChild(node);

    node = doc.createElement("ProductViewCd");
    node.appendChild(doc.createTextNode(String.valueOf(mProductViewCd)));
    root.appendChild(node);

    node = doc.createElement("AddDate");
    node.appendChild(doc.createTextNode(String.valueOf(mAddDate)));
    root.appendChild(node);

    node = doc.createElement("AddBy");
    node.appendChild(doc.createTextNode(String.valueOf(mAddBy)));
    root.appendChild(node);

    node = doc.createElement("ModDate");
    node.appendChild(doc.createTextNode(String.valueOf(mModDate)));
    root.appendChild(node);

    node = doc.createElement("ModBy");
    node.appendChild(doc.createTextNode(String.valueOf(mModBy)));
    root.appendChild(node);

    return root;
  }
Exemple #4
0
  /**
   * Converts value object to XML representation.
   *
   * @return Element.
   */
  public Element toXml(Document doc) {
    Element root = doc.createElement("NscUs");
    root.setAttribute("Id", String.valueOf(mUserName));

    Element node;

    node = doc.createElement("Password");
    node.appendChild(doc.createTextNode(String.valueOf(mPassword)));
    root.appendChild(node);

    node = doc.createElement("CustomerNumber");
    node.appendChild(doc.createTextNode(String.valueOf(mCustomerNumber)));
    root.appendChild(node);

    node = doc.createElement("ContactName");
    node.appendChild(doc.createTextNode(String.valueOf(mContactName)));
    root.appendChild(node);

    node = doc.createElement("EmailAddress");
    node.appendChild(doc.createTextNode(String.valueOf(mEmailAddress)));
    root.appendChild(node);

    node = doc.createElement("CatalogName");
    node.appendChild(doc.createTextNode(String.valueOf(mCatalogName)));
    root.appendChild(node);

    node = doc.createElement("LocationNumber");
    node.appendChild(doc.createTextNode(String.valueOf(mLocationNumber)));
    root.appendChild(node);

    node = doc.createElement("MemberNumber");
    node.appendChild(doc.createTextNode(String.valueOf(mMemberNumber)));
    root.appendChild(node);

    node = doc.createElement("FirstName");
    node.appendChild(doc.createTextNode(String.valueOf(mFirstName)));
    root.appendChild(node);

    node = doc.createElement("LastName");
    node.appendChild(doc.createTextNode(String.valueOf(mLastName)));
    root.appendChild(node);

    node = doc.createElement("UserId");
    node.appendChild(doc.createTextNode(String.valueOf(mUserId)));
    root.appendChild(node);

    node = doc.createElement("UserAction");
    node.appendChild(doc.createTextNode(String.valueOf(mUserAction)));
    root.appendChild(node);

    node = doc.createElement("StoreId");
    node.appendChild(doc.createTextNode(String.valueOf(mStoreId)));
    root.appendChild(node);

    node = doc.createElement("StoreAssocId");
    node.appendChild(doc.createTextNode(String.valueOf(mStoreAssocId)));
    root.appendChild(node);

    node = doc.createElement("StoreAssocAction");
    node.appendChild(doc.createTextNode(String.valueOf(mStoreAssocAction)));
    root.appendChild(node);

    node = doc.createElement("AccountId");
    node.appendChild(doc.createTextNode(String.valueOf(mAccountId)));
    root.appendChild(node);

    node = doc.createElement("AccountAssocId");
    node.appendChild(doc.createTextNode(String.valueOf(mAccountAssocId)));
    root.appendChild(node);

    node = doc.createElement("AccountAssocAction");
    node.appendChild(doc.createTextNode(String.valueOf(mAccountAssocAction)));
    root.appendChild(node);

    node = doc.createElement("SiteId");
    node.appendChild(doc.createTextNode(String.valueOf(mSiteId)));
    root.appendChild(node);

    node = doc.createElement("SiteAssocId");
    node.appendChild(doc.createTextNode(String.valueOf(mSiteAssocId)));
    root.appendChild(node);

    node = doc.createElement("SiteAssocAction");
    node.appendChild(doc.createTextNode(String.valueOf(mSiteAssocAction)));
    root.appendChild(node);

    node = doc.createElement("EmailId");
    node.appendChild(doc.createTextNode(String.valueOf(mEmailId)));
    root.appendChild(node);

    node = doc.createElement("EmailAction");
    node.appendChild(doc.createTextNode(String.valueOf(mEmailAction)));
    root.appendChild(node);

    node = doc.createElement("MemberId");
    node.appendChild(doc.createTextNode(String.valueOf(mMemberId)));
    root.appendChild(node);

    node = doc.createElement("CatalogId");
    node.appendChild(doc.createTextNode(String.valueOf(mCatalogId)));
    root.appendChild(node);

    return root;
  }
  /**
   * Converts value object to XML representation.
   *
   * @return Element.
   */
  public Element toXml(Document doc) {
    Element root = doc.createElement("OrderAssoc");

    Element node;

    root.setAttribute("Id", String.valueOf(mOrderAssocId));

    node = doc.createElement("Order1Id");
    node.appendChild(doc.createTextNode(String.valueOf(mOrder1Id)));
    root.appendChild(node);

    node = doc.createElement("Order2Id");
    node.appendChild(doc.createTextNode(String.valueOf(mOrder2Id)));
    root.appendChild(node);

    node = doc.createElement("OrderAssocCd");
    node.appendChild(doc.createTextNode(String.valueOf(mOrderAssocCd)));
    root.appendChild(node);

    node = doc.createElement("OrderAssocStatusCd");
    node.appendChild(doc.createTextNode(String.valueOf(mOrderAssocStatusCd)));
    root.appendChild(node);

    node = doc.createElement("AddDate");
    node.appendChild(doc.createTextNode(String.valueOf(mAddDate)));
    root.appendChild(node);

    node = doc.createElement("AddBy");
    node.appendChild(doc.createTextNode(String.valueOf(mAddBy)));
    root.appendChild(node);

    node = doc.createElement("ModDate");
    node.appendChild(doc.createTextNode(String.valueOf(mModDate)));
    root.appendChild(node);

    node = doc.createElement("ModBy");
    node.appendChild(doc.createTextNode(String.valueOf(mModBy)));
    root.appendChild(node);

    node = doc.createElement("WorkOrderItemId");
    node.appendChild(doc.createTextNode(String.valueOf(mWorkOrderItemId)));
    root.appendChild(node);

    node = doc.createElement("ServiceTicketId");
    node.appendChild(doc.createTextNode(String.valueOf(mServiceTicketId)));
    root.appendChild(node);

    return root;
  }
Exemple #6
0
  /**
   * Converts value object to XML representation.
   *
   * @return Element.
   */
  public Element toXml(Document doc) {
    Element root = doc.createElement("Event");

    Element node;

    root.setAttribute("Id", String.valueOf(mEventId));

    node = doc.createElement("Type");
    node.appendChild(doc.createTextNode(String.valueOf(mType)));
    root.appendChild(node);

    node = doc.createElement("Status");
    node.appendChild(doc.createTextNode(String.valueOf(mStatus)));
    root.appendChild(node);

    node = doc.createElement("Cd");
    node.appendChild(doc.createTextNode(String.valueOf(mCd)));
    root.appendChild(node);

    node = doc.createElement("Attempt");
    node.appendChild(doc.createTextNode(String.valueOf(mAttempt)));
    root.appendChild(node);

    node = doc.createElement("AddDate");
    node.appendChild(doc.createTextNode(String.valueOf(mAddDate)));
    root.appendChild(node);

    node = doc.createElement("AddBy");
    node.appendChild(doc.createTextNode(String.valueOf(mAddBy)));
    root.appendChild(node);

    node = doc.createElement("ModDate");
    node.appendChild(doc.createTextNode(String.valueOf(mModDate)));
    root.appendChild(node);

    node = doc.createElement("ModBy");
    node.appendChild(doc.createTextNode(String.valueOf(mModBy)));
    root.appendChild(node);

    node = doc.createElement("EventPriority");
    node.appendChild(doc.createTextNode(String.valueOf(mEventPriority)));
    root.appendChild(node);

    node = doc.createElement("ProcessTime");
    node.appendChild(doc.createTextNode(String.valueOf(mProcessTime)));
    root.appendChild(node);

    return root;
  }