Class EPPChangeCheckResp

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

public class EPPChangeCheckResp extends EPPResponse
An EPPChangeCheckResp provides an answer to an EPPChangeCheckCmd and includes the following attributes:

  • 1 or more <change:cd> elements that represent EPPChangeCheckData. Each <change:cd> contains the change:requestID as well as an exists attribute describing whether the Change Request was found on the server. Use addCheckData, clearCheckData, getCheckData, and setCheckData to manipulate the CheckData assoicated with this Check Response.

See Also:
  • Constructor Details

    • EPPChangeCheckResp

      public EPPChangeCheckResp()
    • EPPChangeCheckResp

      public EPPChangeCheckResp(EPPTransId aTransId)
      Creates an EPPChangeCheckResp setting the transaction id.
      Parameters:
      aTransId - The transaction id containing the server transaction and optionally the client transaction id
    • EPPChangeCheckResp

      public EPPChangeCheckResp(EPPTransId aTransId, EPPChangeCheckData datum)
  • Method Details

    • addCheckData

      public void addCheckData(EPPChangeCheckData datum)
    • clearCheckData

      public void clearCheckData()
    • clone

      public Object clone() throws CloneNotSupportedException
      Does a deep clone of the EPPChangeCheckResp 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 EPPChangeCheckResp with this instance
      Overrides:
      equals in class EPPResponse
      Parameters:
      o - EPPResponse instance to compare with
      Returns:
      true if equal; false otherwise
    • getCheckData

      public ArrayList getCheckData()
    • getNamespace

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

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

      public void setCheckData(ArrayList checkData)
    • 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 EPPChangeCheckResp attributes from the aElement DOM Element tree.
      Overrides:
      doDecode in class EPPResponse
      Parameters:
      aElement - Root DOM Element to decode EPPChangeCheckResp 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 EPPChangeCheckResp 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 EPPChangeCheckResp instance.
      Throws:
      EPPEncodeException - Unable to encode EPPChangeCheckResp instance.