com.ibm.commerce.order.history

Class HistoryShipInfo

  • java.lang.Object
    • com.ibm.commerce.order.history.HistoryShipInfo
  • All Implemented Interfaces:
    XMLRecordable


    public class HistoryShipInfo
    extends java.lang.Object
    implements XMLRecordable
    This class is used to track ship history information. It can be used to get the XML element from an com.ibm.commerce.edp.api.ShipInfoAccessBean or get HistoryShipInfo from the XML.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The IBM Copyright statement.
    • Constructor Summary

      Constructors 
      Constructor and Description
      HistoryShipInfo() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String fieldsToXML()
      This method converts only this object's fields into an XML format representation.
      java.lang.Long getAddressId()
      Gets the addressId
      java.lang.String getCarrierAccntNum()
      Gets the carrier account number
      java.lang.String getInstructions()
      Gets the instructions
      java.lang.Long getOrderId()
      Gets the orderId.
      java.lang.Long getPolicyId()
      Gets the policy id
      java.lang.Long getShipInfoId()
      Gets the ship info id
      java.lang.Integer getShipModeId()
      Gets the ship mode id
      void refresh()
      This method syncs this objects with the given ShipInfoAccessBean.
      void setAddressId(java.lang.Long long1)
      Sets address id
      void setCarrierAccntNum(java.lang.String string)
      Sets carrier account number
      void setInstructions(java.lang.String string)
      Sets the instructions
      void setOrderId(java.lang.Long long1)
      Sets the order id
      void setPolicyId(java.lang.Long long1)
      Sets the policy id
      void setShipInfo(ShipInfoAccessBean abShipInfo)
      This method sets the ship info.
      void setShipInfoId(java.lang.Long long1)
      Sets the ship info id
      void setShipModeId(java.lang.Integer integer)
      Sets the ship mode id
      XMLRecordable toFields(org.w3c.dom.Node xmlNode)
      This method transforms an XML node into a real Object's field
      XMLRecordable toObject(org.w3c.dom.Node xmlNode)
      This method transforms an XML node into a real Object.
      java.lang.String toXML()
      This method converts this object into an XML format representation.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The IBM Copyright statement.
        See Also:
        Constant Field Values
    • Constructor Detail

      • HistoryShipInfo

        public HistoryShipInfo()
    • Method Detail

      • getAddressId

        public java.lang.Long getAddressId()
        Gets the addressId
        Returns:
        addressId
      • getCarrierAccntNum

        public java.lang.String getCarrierAccntNum()
        Gets the carrier account number
        Returns:
        carrierAccntNum
      • getInstructions

        public java.lang.String getInstructions()
        Gets the instructions
        Returns:
        instructions
      • getOrderId

        public java.lang.Long getOrderId()
        Gets the orderId.
        Returns:
        orderId
      • getPolicyId

        public java.lang.Long getPolicyId()
        Gets the policy id
        Returns:
        policyId
      • getShipInfoId

        public java.lang.Long getShipInfoId()
        Gets the ship info id
        Returns:
        shipInfoId
      • getShipModeId

        public java.lang.Integer getShipModeId()
        Gets the ship mode id
        Returns:
        shipModeId
      • setAddressId

        public void setAddressId(java.lang.Long long1)
        Sets address id
        Parameters:
        long1 - address id
      • setCarrierAccntNum

        public void setCarrierAccntNum(java.lang.String string)
        Sets carrier account number
        Parameters:
        string - carrier account number
      • setInstructions

        public void setInstructions(java.lang.String string)
        Sets the instructions
        Parameters:
        string - instructions
      • setOrderId

        public void setOrderId(java.lang.Long long1)
        Sets the order id
        Parameters:
        long1 - the order id
      • setPolicyId

        public void setPolicyId(java.lang.Long long1)
        Sets the policy id
        Parameters:
        long1 - the policy id
      • setShipInfoId

        public void setShipInfoId(java.lang.Long long1)
        Sets the ship info id
        Parameters:
        long1 - the ship info id
      • setShipModeId

        public void setShipModeId(java.lang.Integer integer)
        Sets the ship mode id
        Parameters:
        integer - the ship mode id
      • toXML

        public java.lang.String toXML()
        This method converts this object into an XML format representation.
        Specified by:
        toXML in interface XMLRecordable
        Returns:
        the an XML string represents this object.
        See Also:
        XMLRecordable.toXML()
      • fieldsToXML

        public java.lang.String fieldsToXML()
        This method converts only this object's fields into an XML format representation.
        Specified by:
        fieldsToXML in interface XMLRecordable
        Returns:
        an XML string just represents this objects's fields.
        See Also:
        XMLRecordable.fieldsToXML()
      • setShipInfo

        public void setShipInfo(ShipInfoAccessBean abShipInfo)
                         throws ECException
        This method sets the ship info.
        Parameters:
        abShipInfo - an object of ShipInfoAccessBean.
        Throws:
        ECException
      • refresh

        public void refresh()
                     throws ECException
        This method syncs this objects with the given ShipInfoAccessBean.
        Throws:
        ECException