Class EPPNameVerificationInfoInputResult

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

public class EPPNameVerificationInfoInputResult extends Object implements EPPNameVerificationInfoResult
Info result for a command for the input, where the EPPNameVerificationInfoCmd type is set to EPPNameVerificationInfoCmd.Type.INPUT.
See Also:
  • Field Details

    • ELM_LOCALNAME

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

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

    • EPPNameVerificationInfoInputResult

      public EPPNameVerificationInfoInputResult()
      EPPNameVerificationInfoInputResult default constructor.
    • EPPNameVerificationInfoInputResult

      public EPPNameVerificationInfoInputResult(EPPDomainNameVerification aDnv)
      EPPNameVerificationInfoInputResult constructor for a Domain Name Verification (DNV).
      Parameters:
      aDnv - Domain Name Verification (DNV) object to verify and create
    • EPPNameVerificationInfoInputResult

      public EPPNameVerificationInfoInputResult(EPPDomainNameVerification aDnv, EPPAuthInfo aAuthInfo)
      EPPNameVerificationInfoInputResult constructor for a Domain Name Verification (DNV) with all attributes.
      Parameters:
      aDnv - Domain Name Verification (DNV) object to verify and create
      aAuthInfo - Authorization info for the DNV object
    • EPPNameVerificationInfoInputResult

      public EPPNameVerificationInfoInputResult(EPPRealNameVerification aRnv)
      EPPNameVerificationInfoInputResult constructor for a Real Name Verification (RNV).
      Parameters:
      aRnv - Real Name Verification (RNV) object to verify and create
    • EPPNameVerificationInfoInputResult

      public EPPNameVerificationInfoInputResult(EPPRealNameVerification aRnv, EPPAuthInfo aAuthInfo)
      EPPNameVerificationInfoInputResult constructor for a Real Name Verification (RNV) with all attributes.
      Parameters:
      aRnv - Real Name Verification (RNV) object to verify and create
      aAuthInfo - Authorization info for the RNV object
  • Method Details

    • getNamespace

      public String getNamespace()
      Gets the EPP command Namespace associated with EPPNameVerificationInfoInputResult.
      Specified by:
      getNamespace in interface EPPCodecComponent
      Returns:
      EPPNameVerificationMapFactory.NS
    • hasDnv

      public boolean hasDnv()
      Has the Domain Name Verification (DNV) object information been set?
      Returns:
      true if the Domain Name Verification (DNV) object information has been set; false otherwise.
    • getDnv

      public EPPDomainNameVerification getDnv()
      Gets the Domain Name Verification (DNV) object to verify and create.
      Returns:
      The Domain Name Verification (DNV) object if defined; null otherwise.
    • setDnv

      public void setDnv(EPPDomainNameVerification aDnv)
      Sets the Domain Name Verification (DNV) object information to verify and create.
      Parameters:
      aDnv - The Domain Name Verification (DNV) object or null to undefined it.
    • hasRnv

      public boolean hasRnv()
      Has the Real Name Verification (RNV) object information been set?
      Returns:
      true if the Real Name Verification (RNV) object information has been set; false otherwise.
    • getRnv

      public EPPRealNameVerification getRnv()
      Gets the Real Name Verification (RNV) object information to verify and create.
      Returns:
      The Real Name Verification (RNV) object if defined; null otherwise.
    • setRnv

      public void setRnv(EPPRealNameVerification aRnv)
      Sets the Real Name Verification (RNV) object information to verify and create.
      Parameters:
      aRnv - The Real Name Verification (RNV) object or null to undefined it.
    • hasAuthInfo

      public boolean hasAuthInfo()
      Has the authorization information for the Name Verification (NV) object been set?
      Returns:
      true if the authorization information for the Name Verification (NV) object has been set; false otherwise.
    • getAuthInfo

      public EPPAuthInfo getAuthInfo()
      Gets the authorization information for the Name Verification (NV) object.
      Returns:
      Authorization information if defined; null otherwise.
    • setAuthInfo

      public void setAuthInfo(EPPAuthInfo aAuthInfo)
      Sets the authorization information for the Name Verification (NV) object.
      Parameters:
      aAuthInfo - Authorization information of NV object
    • encode

      public Element encode(Document aDocument) throws EPPEncodeException
      Encode a DOM Element tree from the attributes of the EPPNameVerificationInfoInputResult 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 EPPNameVerificationInfoInputResult instance.
      Throws:
      EPPEncodeException - Unable to encode EPPNameVerificationInfoInputResult instance.
    • decode

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

      public boolean equals(Object aObject)
      Compare an instance of EPPNameVerificationInfoInputResult 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.
    • clone

      public Object clone() throws CloneNotSupportedException
      Clone EPPNameVerificationInfoInputResult.
      Specified by:
      clone in interface EPPCodecComponent
      Overrides:
      clone in class Object
      Returns:
      Deep copy clone of EPPNameVerificationInfoInputResult
      Throws:
      CloneNotSupportedException - standard Object.clone exception
    • 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.