Class EPPNameVerificationCreatePending

java.lang.Object
com.verisign.epp.codec.nv.EPPNameVerificationCreatePending
All Implemented Interfaces:
EPPCodecComponent, EPPNameVerificationCreateResult, Serializable, Cloneable

public class EPPNameVerificationCreatePending extends Object implements EPPNameVerificationCreateResult
Create response for a successful domain name verification, which results in the return of a digitally signed domain verification code.
See Also:
  • Field Details

    • ELM_LOCALNAME

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

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

    • EPPNameVerificationCreatePending

      public EPPNameVerificationCreatePending()
      EPPNameVerificationCreatePending default constructor.
    • EPPNameVerificationCreatePending

      public EPPNameVerificationCreatePending(String aCode, String aType, EPPNameVerificationStatus aStatus, Date aCrDate)
      EPPNameVerificationCreatePending constructor that takes the required attributes.
      Parameters:
      aCode - The verification code value
      aType - The verification code type
      aStatus - The verification status
      aCrDate - The creation date of the signed code
  • Method Details

    • 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.
    • 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
    • getCreationDate

      public Date getCreationDate()
      Gets the creation date of the signed code.
      Returns:
      Creation date of the signed code
    • setCreationDate

      public void setCreationDate(Date aCreationDate)
      Sets the creation date of the signed code
      Parameters:
      aCreationDate - Creation date of the signed code
    • encode

      public Element encode(Document aDocument) throws EPPEncodeException
      Encode a DOM Element tree from the attributes of the EPPNameVerificationCreatePending instance.
      Specified by:
      encode in interface EPPCodecComponent
      Parameters:
      aDocument - DOM Document that is being built. Used as an Element factory.
      Returns:
      Element Root DOM Element representing the EPPNameVerificationCreatePending instance.
      Throws:
      EPPEncodeException - Unable to encode EPPNameVerificationCreatePending instance.
    • decode

      public void decode(Element aElement) throws EPPDecodeException
      Decode the EPPNameVerificationCreatePending attributes from the aElement DOM Element tree.
      Specified by:
      decode in interface EPPCodecComponent
      Parameters:
      aElement - Root DOM Element to decode EPPNameVerificationCreatePending from.
      Throws:
      EPPDecodeException - Unable to decode aElement
    • clone

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

      public String getType()
      Gets the EPP response type associated with EPPNameVerificationCreatePending.
      Returns:
      EPPNameVerificationCreatePending.ELM_NAME
    • getNamespace

      public String getNamespace()
      Gets the EPP command namespace associated with EPPNameVerificationCreatePending.
      Specified by:
      getNamespace in interface EPPCodecComponent
      Returns:
      EPPNameVerificationMapFactory.NS
    • equals

      public boolean equals(Object aObject)
      Compare an instance of EPPNameVerificationCreatePending with this instance.
      Overrides:
      equals in class Object
      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 Object
      Returns:
      Indented XML String if successful; ERROR otherwise.