Package com.verisign.epp.codec.nv
Class EPPNameVerificationCreateSuccess
java.lang.Object
com.verisign.epp.codec.nv.EPPNameVerificationCreateSuccess
- All Implemented Interfaces:
EPPCodecComponent,EPPNameVerificationCreateResult,Serializable,Cloneable
public class EPPNameVerificationCreateSuccess
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
ConstructorsConstructorDescriptionEPPNameVerificationCreateSuccessdefault constructor.EPPNameVerificationCreateSuccess(String aCode, String aType, EPPNameVerificationStatus aStatus, Date aCrDate, EPPEncodedSignedCodeValue aSignedCode) EPPNameVerificationCreateSuccessconstructor that takes the required attributes. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPNameVerificationCreateSuccess.voidDecode theEPPNameVerificationCreateSuccessattributes from the aElement DOM Element tree.Encode a DOM Element tree from the attributes of theEPPNameVerificationCreateSuccessinstance.booleanCompare an instance ofEPPNameVerificationCreateSuccesswith this instance.getCode()Gets the verification code value.Gets the verification code type.Gets the creation date of the signed code.Gets the EPP command namespace associated withEPPNameVerificationCreateSuccess.Gets the signed code that provides proof of verification.Gets the verification status.getType()Gets the EPP response type associated withEPPNameVerificationCreateSuccess.voidSets the verification code value.voidsetCodeType(String aType) Sets the verification code type.voidsetCreationDate(Date aCreationDate) Sets the creation date of the signed codevoidsetSignedCode(EPPEncodedSignedCodeValue aSignedCode) Sets the signed code that provides proof of verification.voidsetStatus(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 forEPPNameVerificationCreateSuccess.- See Also:
-
ELM_NAME
XML root tag forEPPNameVerificationCreateSuccess.- See Also:
-
-
Constructor Details
-
EPPNameVerificationCreateSuccess
public EPPNameVerificationCreateSuccess()EPPNameVerificationCreateSuccessdefault constructor. -
EPPNameVerificationCreateSuccess
public EPPNameVerificationCreateSuccess(String aCode, String aType, EPPNameVerificationStatus aStatus, Date aCrDate, EPPEncodedSignedCodeValue aSignedCode) EPPNameVerificationCreateSuccessconstructor that takes the required attributes.- Parameters:
aCode- The verification code valueaType- The verification code typeaStatus- The verification statusaCrDate- The creation date of the signed codeaSignedCode- Signed code providing proof of verification
-
-
Method Details
-
getCode
Gets the verification code value.- Returns:
- Verification code value
-
setCode
Sets the verification code value.- Parameters:
aCode- Verification code value.
-
getCodeType
Gets the verification code type.- Returns:
- Verification code type
-
setCodeType
Sets the verification code type.- Parameters:
aType- The verification code type
-
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
-
getSignedCode
Gets the signed code that provides proof of verification.- Returns:
- Signed code
-
setSignedCode
Sets the signed code that provides proof of verification.- Parameters:
aSignedCode- Signed code that provides proof of verification
-
encode
Encode a DOM Element tree from the attributes of theEPPNameVerificationCreateSuccessinstance.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the EPPNameVerificationCreateSuccess instance.
- Throws:
EPPEncodeException- Unable to encode EPPNameVerificationCreateSuccess instance.
-
decode
Decode theEPPNameVerificationCreateSuccessattributes from the aElement DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- Root DOM Element to decodeEPPNameVerificationCreateSuccessfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
clone
CloneEPPNameVerificationCreateSuccess.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPNameVerificationCreateSuccess - Throws:
CloneNotSupportedException- standard Object.clone exception
-
getType
Gets the EPP response type associated withEPPNameVerificationCreateSuccess.- Returns:
EPPNameVerificationCreateSuccess.ELM_NAME
-
getNamespace
Gets the EPP command namespace associated withEPPNameVerificationCreateSuccess.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
EPPNameVerificationMapFactory.NS
-
equals
Compare an instance ofEPPNameVerificationCreateSuccesswith this instance. -
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-