Class EPPChangeUpdateResp

java.lang.Object
com.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.change.EPPChangeUpdateResp
All Implemented Interfaces:
EPPCodecComponent, EPPMessage, Serializable, Cloneable

public class EPPChangeUpdateResp extends EPPResponse
An EPPChangeUpdateResp provides an answer to an EPPChangeUpdateCmd and includes the following attributes:

  • A <change:receipt> element that contains the Submission Receipt. Use getReceipt and setReceipt to get and set the element.

See Also:
  • Constructor Details

    • EPPChangeUpdateResp

      public EPPChangeUpdateResp()
      Default constructor that needs the key attribute and the transid attribute set prior to calling encode.
    • EPPChangeUpdateResp

      public EPPChangeUpdateResp(EPPTransId aTransId)
      Creates an EPPChangeInfoResp only the transaction id set. The key attribute must be set prior to calling encode.
      Parameters:
      aTransId - The transaction id containing the server transaction and optionally the client transaction id
  • Method Details

    • clone

      public Object clone() throws CloneNotSupportedException
      Does a deep clone of the EPPChangeInfoResp instance.
      Specified by:
      clone in interface EPPCodecComponent
      Overrides:
      clone in class EPPResponse
      Returns:
      Cloned instance
      Throws:
      CloneNotSupportedException - standard Object.clone exception
    • equals

      public boolean equals(Object o)
      Compare an instance of EPPChangeInfoResp with this instance
      Overrides:
      equals in class EPPResponse
      Parameters:
      o - EPPResponse instance to compare with
      Returns:
      true if equal; false otherwise
    • getNamespace

      public String getNamespace()
      Gets the EPP command namespace associated with EPPChangeInfoResp.
      Specified by:
      getNamespace in interface EPPCodecComponent
      Specified by:
      getNamespace in interface EPPMessage
      Overrides:
      getNamespace in class EPPResponse
      Returns:
      EPPChangeMapFactory.NS
    • getReceipt

      public String getReceipt()
    • getType

      public String getType()
      Gets the EPP response type associated with EPPChangeInfoResp .
      Overrides:
      getType in class EPPResponse
      Returns:
      EPPChangeInfoResp.ELM_NAME
    • setReceipt

      public void setReceipt(String receipt)
    • toString

      public String toString()
      Implementation of Object.toString, which will result in an indented XML String representation of the concrete EPPCodecComponent.
      Overrides:
      toString in class EPPResponse
      Returns:
      Indented XML String if successful; ERROR otherwise.
    • doDecode

      protected void doDecode(Element aElement) throws EPPDecodeException
      Decode the EPPChangeInfoResp attributes from the aElement DOM Element tree.
      Overrides:
      doDecode in class EPPResponse
      Parameters:
      aElement - Root DOM Element to decode EPPChangeInfoResp from.
      Throws:
      EPPDecodeException - Unable to decode aElement
    • doEncode

      protected Element doEncode(Document aDocument) throws EPPEncodeException
      Encode a DOM Element tree from the attributes of the EPPChangeInfoResp instance.
      Overrides:
      doEncode in class EPPResponse
      Parameters:
      aDocument - DOM Document that is being built. Used as an Element factory.
      Returns:
      Root DOM Element representing the EPPChangeInfoResp instance.
      Throws:
      EPPEncodeException - Unable to encode EPPChangeInfoResp instance.