Class EPPNameVerificationPendActionMsg

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

public class EPPNameVerificationPendActionMsg extends EPPResponse
Poll message used to indicate the result of a pending action.
See Also:
  • Field Details

    • ELM_LOCALNAME

      public static final String ELM_LOCALNAME
      XML local name for EPPNameVerificationPendActionMsg.
      See Also:
    • ELM_NAME

      public static final String ELM_NAME
      XML root tag for EPPNameVerificationPendActionMsg.
      See Also:
  • Constructor Details

    • EPPNameVerificationPendActionMsg

      public EPPNameVerificationPendActionMsg()
      EPPNameVerificationPendActionMsg default constructor. Must call required setter methods before encode.
    • EPPNameVerificationPendActionMsg

      public EPPNameVerificationPendActionMsg(EPPTransId aTransId, String aCode, String aType, EPPNameVerificationStatus aStatus, String aMsg, Date aPaDate)
      EPPNameVerificationPendActionMsg constructor that takes all of the required attributes.
      Parameters:
      aTransId - Poll command transaction id
      aCode - Verification code pending action
      aType - The verification code type
      aStatus - Status of pending action
      aMsg - Human-readable description of the result.
      aPaDate - Date of pending action completion
  • Method Details

    • getNamespace

      public String getNamespace()
      Returns the XML namespace associated with the EPPResponse.
      Specified by:
      getNamespace in interface EPPCodecComponent
      Specified by:
      getNamespace in interface EPPMessage
      Overrides:
      getNamespace in class EPPResponse
      Returns:
      XML namespace for the EPPResponse.
    • getCode

      public String getCode()
      Gets the verification code value.
      Returns:
      Verification code value
    • setCode

      public void setCode(String aCode)
      Sets the verification code value.
      Parameters:
      aCode - Verification code value.
    • getCodeType

      public String getCodeType()
      Gets the verification code type.
      Returns:
      Verification code type
    • setCodeType

      public void setCodeType(String aType)
      Sets the verification code type.
      Parameters:
      aType - The verification code type
    • getStatus

      public EPPNameVerificationStatus getStatus()
      Gets the verification status.
      Returns:
      Verification status
    • setStatus

      public void setStatus(EPPNameVerificationStatus aStatus)
      Sets the verification status.
      Parameters:
      aStatus - The verification status
    • getMsg

      public String getMsg()
      Gets the human-readable description of the result.
      Returns:
      human-readable description of the result.
    • setMsg

      public void setMsg(String aMsg)
      Sets the human-readable description of the result.
      Parameters:
      aMsg - human-readable description of the result.
    • getPaDate

      public Date getPaDate()
      Gets the the date and time describing when review of the requested action was completed.
      Returns:
      Date and time describing when review of the requested action was completed.
    • setPaDate

      public void setPaDate(Date aPaDate)
      Sets the date and time describing when review of the requested action was completed.
      Parameters:
      aPaDate - Date and time describing when review of the requested action was completed.
    • doEncode

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

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

      public Object clone() throws CloneNotSupportedException
      Clone EPPNameVerificationPendActionMsg.
      Specified by:
      clone in interface EPPCodecComponent
      Overrides:
      clone in class EPPResponse
      Returns:
      clone of EPPNameVerificationPendActionMsg
      Throws:
      CloneNotSupportedException - standard Object.clone exception
    • equals

      public boolean equals(Object aObject)
      Compare an instance of EPPNameVerificationPendActionMsg with this instance.
      Overrides:
      equals in class EPPResponse
      Parameters:
      aObject - Object to compare with.
      Returns:
      true if this object is the same as the aObject argument; false otherwise
    • 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.