Package com.verisign.epp.codec.nv
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEPPNameVerificationCreatePendingdefault constructor.EPPNameVerificationCreatePending(String aCode, String aType, EPPNameVerificationStatus aStatus, Date aCrDate) EPPNameVerificationCreatePendingconstructor that takes the required attributes. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPNameVerificationCreatePending.voidDecode theEPPNameVerificationCreatePendingattributes from the aElement DOM Element tree.Encode a DOM Element tree from the attributes of theEPPNameVerificationCreatePendinginstance.booleanCompare an instance ofEPPNameVerificationCreatePendingwith this instance.getCode()Gets the verification code value.Gets the creation date of the signed code.Gets the EPP command namespace associated withEPPNameVerificationCreatePending.Gets the verification status.getType()Gets the EPP response type associated withEPPNameVerificationCreatePending.voidSets the verification code value.voidsetCreationDate(Date aCreationDate) Sets the creation date of the signed codevoidsetStatus(EPPNameVerificationStatus aStatus) Sets the verification status.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPNameVerificationCreatePending.- See Also:
-
ELM_NAME
XML root tag forEPPNameVerificationCreatePending.- See Also:
-
-
Constructor Details
-
EPPNameVerificationCreatePending
public EPPNameVerificationCreatePending()EPPNameVerificationCreatePendingdefault constructor. -
EPPNameVerificationCreatePending
public EPPNameVerificationCreatePending(String aCode, String aType, EPPNameVerificationStatus aStatus, Date aCrDate) EPPNameVerificationCreatePendingconstructor that takes the required attributes.- Parameters:
aCode- The verification code valueaType- The verification code typeaStatus- The verification statusaCrDate- The creation date of the signed code
-
-
Method Details
-
getCode
Gets the verification code value.- Returns:
- Verification code value
-
setCode
Sets the verification code value.- Parameters:
aCode- Verification code value.
-
getStatus
Gets the verification status.- Returns:
- Verification status
-
setStatus
Sets the verification status.- Parameters:
aStatus- The verification status
-
getCreationDate
Gets the creation date of the signed code.- Returns:
- Creation date of the signed code
-
setCreationDate
Sets the creation date of the signed code- Parameters:
aCreationDate- Creation date of the signed code
-
encode
Encode a DOM Element tree from the attributes of theEPPNameVerificationCreatePendinginstance.- Specified by:
encodein interfaceEPPCodecComponent- 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
Decode theEPPNameVerificationCreatePendingattributes from the aElement DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- Root DOM Element to decodeEPPNameVerificationCreatePendingfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
clone
CloneEPPNameVerificationCreatePending.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPNameVerificationCreatePending - Throws:
CloneNotSupportedException- standard Object.clone exception
-
getType
Gets the EPP response type associated withEPPNameVerificationCreatePending.- Returns:
EPPNameVerificationCreatePending.ELM_NAME
-
getNamespace
Gets the EPP command namespace associated withEPPNameVerificationCreatePending.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
EPPNameVerificationMapFactory.NS
-
equals
Compare an instance ofEPPNameVerificationCreatePendingwith this instance. -
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-