Class OrderPatch.Member

  • All Implemented Interfaces:
    XmlSerializable
    Enclosing class:
    OrderPatch

    public static class OrderPatch.Member
    extends java.lang.Object
    implements XmlSerializable
    Internal class Member represents the 'Order-Member' children elements of an 'OrderPatch' request body present in the ORDERPATCH request.
    • Constructor Summary

      Constructors 
      Constructor Description
      Member​(java.lang.String memberHandle, Position position)
      Create a new Member object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMemberHandle()
      Return the handle of the internal member to be reordered.
      Position getPosition()
      Return the position where the internal member identified by the member handle should be placed.
      org.w3c.dom.Element toXml​(org.w3c.dom.Document document)
      Returns the xml representation of the implementing object as Element.
      • Methods inherited from class java.lang.Object

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

      • Member

        public Member​(java.lang.String memberHandle,
                      Position position)
        Create a new Member object.
        Parameters:
        memberHandle -
        position -
    • Method Detail

      • getMemberHandle

        public java.lang.String getMemberHandle()
        Return the handle of the internal member to be reordered.
        Returns:
        handle of the internal member.
      • getPosition

        public Position getPosition()
        Return the position where the internal member identified by the member handle should be placed.
        Returns:
        position for the member after the request.
        See Also:
        getMemberHandle()
      • toXml

        public org.w3c.dom.Element toXml​(org.w3c.dom.Document document)
        Description copied from interface: XmlSerializable
        Returns the xml representation of the implementing object as Element. The given Document is used as factory and represents the owner document of the returned DOM element.
        Specified by:
        toXml in interface XmlSerializable
        Parameters:
        document - to be used as factory.
        Returns:
        a w3c element representing this object
        See Also:
        XmlSerializable.toXml(Document)