Package com.verisign.epp.codec.nv
Class EPPNameVerificationCreateSuccess
- java.lang.Object
-
- com.verisign.epp.codec.nv.EPPNameVerificationCreateSuccess
-
- All Implemented Interfaces:
EPPCodecComponent,EPPNameVerificationCreateResult,java.io.Serializable,java.lang.Cloneable
public class EPPNameVerificationCreateSuccess extends java.lang.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:
EPPNameVerificationCreateCmd, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_LOCALNAMEXML local name forEPPNameVerificationCreateSuccess.static java.lang.StringELM_NAMEXML root tag forEPPNameVerificationCreateSuccess.
-
Constructor Summary
Constructors Constructor Description EPPNameVerificationCreateSuccess()EPPNameVerificationCreateSuccessdefault constructor.EPPNameVerificationCreateSuccess(java.lang.String aCode, java.lang.String aType, EPPNameVerificationStatus aStatus, java.util.Date aCrDate, EPPEncodedSignedCodeValue aSignedCode)EPPNameVerificationCreateSuccessconstructor that takes the required attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()CloneEPPNameVerificationCreateSuccess.voiddecode(org.w3c.dom.Element aElement)Decode theEPPNameVerificationCreateSuccessattributes from the aElement DOM Element tree.org.w3c.dom.Elementencode(org.w3c.dom.Document aDocument)Encode a DOM Element tree from the attributes of theEPPNameVerificationCreateSuccessinstance.booleanequals(java.lang.Object aObject)Compare an instance ofEPPNameVerificationCreateSuccesswith this instance.java.lang.StringgetCode()Gets the verification code value.java.lang.StringgetCodeType()Gets the verification code type.java.util.DategetCreationDate()Gets the creation date of the signed code.java.lang.StringgetNamespace()Gets the EPP command namespace associated withEPPNameVerificationCreateSuccess.EPPEncodedSignedCodeValuegetSignedCode()Gets the signed code that provides proof of verification.EPPNameVerificationStatusgetStatus()Gets the verification status.java.lang.StringgetType()Gets the EPP response type associated withEPPNameVerificationCreateSuccess.voidsetCode(java.lang.String aCode)Sets the verification code value.voidsetCodeType(java.lang.String aType)Sets the verification code type.voidsetCreationDate(java.util.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.java.lang.StringtoString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
XML local name forEPPNameVerificationCreateSuccess.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML root tag forEPPNameVerificationCreateSuccess.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPNameVerificationCreateSuccess
public EPPNameVerificationCreateSuccess()
EPPNameVerificationCreateSuccessdefault constructor.
-
EPPNameVerificationCreateSuccess
public EPPNameVerificationCreateSuccess(java.lang.String aCode, java.lang.String aType, EPPNameVerificationStatus aStatus, java.util.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 Detail
-
getCode
public java.lang.String getCode()
Gets the verification code value.- Returns:
- Verification code value
-
setCode
public void setCode(java.lang.String aCode)
Sets the verification code value.- Parameters:
aCode- Verification code value.
-
getCodeType
public java.lang.String getCodeType()
Gets the verification code type.- Returns:
- Verification code type
-
setCodeType
public void setCodeType(java.lang.String aType)
Sets the verification code type.- Parameters:
aType- The verification code type
-
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 java.util.Date getCreationDate()
Gets the creation date of the signed code.- Returns:
- Creation date of the signed code
-
setCreationDate
public void setCreationDate(java.util.Date aCreationDate)
Sets the creation date of the signed code- Parameters:
aCreationDate- Creation date of the signed code
-
getSignedCode
public EPPEncodedSignedCodeValue getSignedCode()
Gets the signed code that provides proof of verification.- Returns:
- Signed code
-
setSignedCode
public void setSignedCode(EPPEncodedSignedCodeValue aSignedCode)
Sets the signed code that provides proof of verification.- Parameters:
aSignedCode- Signed code that provides proof of verification
-
encode
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionEncode 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
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeExceptionDecode 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
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPNameVerificationCreateSuccess.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classjava.lang.Object- Returns:
- clone of
EPPNameVerificationCreateSuccess - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
getType
public java.lang.String getType()
Gets the EPP response type associated withEPPNameVerificationCreateSuccess.- Returns:
EPPNameVerificationCreateSuccess.ELM_NAME
-
getNamespace
public java.lang.String getNamespace()
Gets the EPP command namespace associated withEPPNameVerificationCreateSuccess.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
EPPNameVerificationMapFactory.NS
-
equals
public boolean equals(java.lang.Object aObject)
Compare an instance ofEPPNameVerificationCreateSuccesswith this instance.- Overrides:
equalsin classjava.lang.Object- Parameters:
aObject- Object to compare with.- Returns:
trueif this object is the same as the aObject argument;falseotherwise
-
toString
public java.lang.String toString()
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classjava.lang.Object- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
-