com.verisign.epp.codec.nv
Class EPPNameVerificationInfoInputResult

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

public class EPPNameVerificationInfoInputResult
extends java.lang.Object
implements EPPNameVerificationInfoResult

Info result for a command for the input, where the EPPNameVerificationInfoCmd type is set to EPPNameVerificationInfoCmd.Type.INPUT.

See Also:
EPPNameVerificationInfoCmd, Serialized Form

Field Summary
static java.lang.String ELM_LOCALNAME
          XML local name for EPPNameVerificationInfoInputResult.
static java.lang.String ELM_NAME
          XML root tag for EPPNameVerificationInfoInputResult.
 
Constructor Summary
EPPNameVerificationInfoInputResult()
          EPPNameVerificationInfoInputResult default constructor.
EPPNameVerificationInfoInputResult(EPPDomainNameVerification aDnv)
          EPPNameVerificationInfoInputResult constructor for a Domain Name Verification (DNV).
EPPNameVerificationInfoInputResult(EPPDomainNameVerification aDnv, EPPAuthInfo aAuthInfo)
          EPPNameVerificationInfoInputResult constructor for a Domain Name Verification (DNV) with all attributes.
EPPNameVerificationInfoInputResult(EPPRealNameVerification aRnv)
          EPPNameVerificationInfoInputResult constructor for a Real Name Verification (RNV).
EPPNameVerificationInfoInputResult(EPPRealNameVerification aRnv, EPPAuthInfo aAuthInfo)
          EPPNameVerificationInfoInputResult constructor for a Real Name Verification (RNV) with all attributes.
 
Method Summary
 java.lang.Object clone()
          Clone EPPNameVerificationInfoInputResult.
 void decode(org.w3c.dom.Element aElement)
          Decode the EPPNameVerificationInfoInputResult attributes from the aElement DOM Element tree.
 org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
          Encode a DOM Element tree from the attributes of the EPPNameVerificationInfoInputResult instance.
 boolean equals(java.lang.Object aObject)
          Compare an instance of EPPNameVerificationInfoInputResult with this instance.
 EPPAuthInfo getAuthInfo()
          Gets the authorization information for the Name Verification (NV) object.
 EPPDomainNameVerification getDnv()
          Gets the Domain Name Verification (DNV) object to verify and create.
 java.lang.String getNamespace()
          Gets the EPP command Namespace associated with EPPNameVerificationInfoInputResult.
 EPPRealNameVerification getRnv()
          Gets the Real Name Verification (RNV) object information to verify and create.
 boolean hasAuthInfo()
          Has the authorization information for the Name Verification (NV) object been set?
 boolean hasDnv()
          Has the Domain Name Verification (DNV) object information been set?
 boolean hasRnv()
          Has the Real Name Verification (RNV) object information been set?
 void setAuthInfo(EPPAuthInfo aAuthInfo)
          Sets the authorization information for the Name Verification (NV) object.
 void setDnv(EPPDomainNameVerification aDnv)
          Sets the Domain Name Verification (DNV) object information to verify and create.
 void setRnv(EPPRealNameVerification aRnv)
          Sets the Real Name Verification (RNV) object information to verify and create.
 java.lang.String toString()
          Implementation of Object.toString, which will result in an indented XML String representation of the concrete EPPCodecComponent.
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ELM_LOCALNAME

public static final java.lang.String ELM_LOCALNAME
XML local name for EPPNameVerificationInfoInputResult.

See Also:
Constant Field Values

ELM_NAME

public static final java.lang.String ELM_NAME
XML root tag for EPPNameVerificationInfoInputResult.

See Also:
Constant Field Values
Constructor Detail

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 Detail

getNamespace

public java.lang.String getNamespace()
Gets the EPP command Namespace associated with EPPNameVerificationInfoInputResult.

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 org.w3c.dom.Element encode(org.w3c.dom.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(org.w3c.dom.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(java.lang.Object aObject)
Compare an instance of EPPNameVerificationInfoInputResult with this instance.

Overrides:
equals in class java.lang.Object
Parameters:
aObject - Object to compare with.
Returns:
true if this object is the same as the aObject argument; false otherwise.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone EPPNameVerificationInfoInputResult.

Specified by:
clone in interface EPPCodecComponent
Overrides:
clone in class java.lang.Object
Returns:
Deep copy clone of EPPNameVerificationInfoInputResult
Throws:
java.lang.CloneNotSupportedException - standard Object.clone exception

toString

public java.lang.String toString()
Implementation of Object.toString, which will result in an indented XML String representation of the concrete EPPCodecComponent.

Overrides:
toString in class java.lang.Object
Returns:
Indented XML String if successful; ERROR otherwise.


Copyright © VeriSign Inc. All Rights Reserved.