Package com.verisign.epp.codec.nv
Class EPPNameVerificationCreatePending
- java.lang.Object
-
- com.verisign.epp.codec.nv.EPPNameVerificationCreatePending
-
- All Implemented Interfaces:
EPPCodecComponent
,EPPNameVerificationCreateResult
,java.io.Serializable
,java.lang.Cloneable
public class EPPNameVerificationCreatePending 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.String
ELM_LOCALNAME
XML local name forEPPNameVerificationCreatePending
.static java.lang.String
ELM_NAME
XML root tag forEPPNameVerificationCreatePending
.
-
Constructor Summary
Constructors Constructor Description EPPNameVerificationCreatePending()
EPPNameVerificationCreatePending
default constructor.EPPNameVerificationCreatePending(java.lang.String aCode, java.lang.String aType, EPPNameVerificationStatus aStatus, java.util.Date aCrDate)
EPPNameVerificationCreatePending
constructor that takes the required attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
CloneEPPNameVerificationCreatePending
.void
decode(org.w3c.dom.Element aElement)
Decode theEPPNameVerificationCreatePending
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 theEPPNameVerificationCreatePending
instance.boolean
equals(java.lang.Object aObject)
Compare an instance ofEPPNameVerificationCreatePending
with this instance.java.lang.String
getCode()
Gets the verification code value.java.util.Date
getCreationDate()
Gets the creation date of the signed code.java.lang.String
getNamespace()
Gets the EPP command namespace associated withEPPNameVerificationCreatePending
.EPPNameVerificationStatus
getStatus()
Gets the verification status.java.lang.String
getType()
Gets the EPP response type associated withEPPNameVerificationCreatePending
.void
setCode(java.lang.String aCode)
Sets the verification code value.void
setCreationDate(java.util.Date aCreationDate)
Sets the creation date of the signed codevoid
setStatus(EPPNameVerificationStatus aStatus)
Sets the verification status.java.lang.String
toString()
Implementation ofObject.toString
, which will result in an indented XMLString
representation of the concreteEPPCodecComponent
.
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
XML local name forEPPNameVerificationCreatePending
.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML root tag forEPPNameVerificationCreatePending
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPNameVerificationCreatePending
public EPPNameVerificationCreatePending()
EPPNameVerificationCreatePending
default constructor.
-
EPPNameVerificationCreatePending
public EPPNameVerificationCreatePending(java.lang.String aCode, java.lang.String aType, EPPNameVerificationStatus aStatus, java.util.Date aCrDate)
EPPNameVerificationCreatePending
constructor 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 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.
-
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
-
encode
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
Encode a DOM Element tree from the attributes of theEPPNameVerificationCreatePending
instance.- Specified by:
encode
in 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
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
Decode theEPPNameVerificationCreatePending
attributes from the aElement DOM Element tree.- Specified by:
decode
in interfaceEPPCodecComponent
- Parameters:
aElement
- Root DOM Element to decodeEPPNameVerificationCreatePending
from.- Throws:
EPPDecodeException
- Unable to decode aElement
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
CloneEPPNameVerificationCreatePending
.- Specified by:
clone
in interfaceEPPCodecComponent
- Overrides:
clone
in classjava.lang.Object
- Returns:
- clone of
EPPNameVerificationCreatePending
- Throws:
java.lang.CloneNotSupportedException
- standard Object.clone exception
-
getType
public java.lang.String getType()
Gets the EPP response type associated withEPPNameVerificationCreatePending
.- Returns:
EPPNameVerificationCreatePending.ELM_NAME
-
getNamespace
public java.lang.String getNamespace()
Gets the EPP command namespace associated withEPPNameVerificationCreatePending
.- Specified by:
getNamespace
in interfaceEPPCodecComponent
- Returns:
EPPNameVerificationMapFactory.NS
-
equals
public boolean equals(java.lang.Object aObject)
Compare an instance ofEPPNameVerificationCreatePending
with this instance.- Overrides:
equals
in classjava.lang.Object
- Parameters:
aObject
- Object to compare with.- Returns:
true
if this object is the same as the aObject argument;false
otherwise
-
toString
public java.lang.String toString()
Implementation ofObject.toString
, which will result in an indented XMLString
representation of the concreteEPPCodecComponent
.- Overrides:
toString
in classjava.lang.Object
- Returns:
- Indented XML
String
if successful;ERROR
otherwise.
-
-