public class EPPNameVerificationInfoSignedCodeResult extends java.lang.Object implements EPPNameVerificationInfoResult
EPPNameVerificationInfoCmd
type is set to
EPPNameVerificationInfoCmd.Type.SIGNED_CODE
.EPPNameVerificationInfoCmd
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPNameVerificationInfoSignedCodeResult . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPNameVerificationInfoSignedCodeResult . |
Constructor and Description |
---|
EPPNameVerificationInfoSignedCodeResult()
EPPNameVerificationInfoSignedCodeResult default constructor. |
EPPNameVerificationInfoSignedCodeResult(java.lang.String aCode,
java.lang.String aType,
EPPEncodedSignedCodeValue aSignedCode)
EPPNameVerificationInfoSignedCodeResult constructor that takes all
required attributes. |
EPPNameVerificationInfoSignedCodeResult(java.lang.String aCode,
java.lang.String aType,
EPPEncodedSignedCodeValue aSignedCode,
EPPNameVerificationStatus aStatus,
EPPAuthInfo aAuthInfo)
EPPNameVerificationInfoSignedCodeResult constructor that takes all
attributes. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPNameVerificationInfoSignedCodeResult . |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPNameVerificationInfoSignedCodeResult 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
EPPNameVerificationInfoSignedCodeResult instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPNameVerificationInfoSignedCodeResult
with this instance. |
EPPAuthInfo |
getAuthInfo()
Gets the OPTIONAL authorization information for the Name Verification
(NV) object.
|
java.lang.String |
getCode()
Gets the verification code value.
|
java.lang.String |
getCodeType()
Gets the verification code type.
|
java.lang.String |
getNamespace()
Gets the EPP command namespace associated with
EPPNameVerificationInfoSignedCodeResult . |
EPPEncodedSignedCodeValue |
getSignedCode()
Gets the signed code that provides proof of verification.
|
EPPNameVerificationStatus |
getStatus()
Gets the verification status.
|
java.lang.String |
getType()
Gets the EPP response type associated with
EPPNameVerificationInfoSignedCodeResult . |
void |
setAuthInfo(EPPAuthInfo aAuthInfo)
Sets the authorization information for the Name Verification (NV) object.
|
void |
setCode(java.lang.String aCode)
Sets the verification code value.
|
void |
setCodeType(java.lang.String aType)
Sets the verification code type.
|
void |
setSignedCode(EPPEncodedSignedCodeValue aSignedCode)
Sets the signed code that provides proof of verification.
|
void |
setStatus(EPPNameVerificationStatus aStatus)
Sets the verification status.
|
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
public static final java.lang.String ELM_LOCALNAME
EPPNameVerificationInfoSignedCodeResult
.public static final java.lang.String ELM_NAME
EPPNameVerificationInfoSignedCodeResult
.public EPPNameVerificationInfoSignedCodeResult()
EPPNameVerificationInfoSignedCodeResult
default constructor.public EPPNameVerificationInfoSignedCodeResult(java.lang.String aCode, java.lang.String aType, EPPEncodedSignedCodeValue aSignedCode)
EPPNameVerificationInfoSignedCodeResult
constructor that takes all
required attributes.aCode
- The verification code valueaType
- The verification code typeaSignedCode
- Signed code providing proof of verificationpublic EPPNameVerificationInfoSignedCodeResult(java.lang.String aCode, java.lang.String aType, EPPEncodedSignedCodeValue aSignedCode, EPPNameVerificationStatus aStatus, EPPAuthInfo aAuthInfo)
EPPNameVerificationInfoSignedCodeResult
constructor that takes all
attributes.aCode
- The verification code valueaType
- The verification code typeaSignedCode
- Signed code providing proof of verificationaStatus
- The verification statusaAuthInfo
- Authorization information for Name Verification (NV) object.public java.lang.String getCode()
public void setCode(java.lang.String aCode)
aCode
- Verification code value.public java.lang.String getCodeType()
public void setCodeType(java.lang.String aType)
aType
- The verification code typepublic EPPNameVerificationStatus getStatus()
public void setStatus(EPPNameVerificationStatus aStatus)
aStatus
- The verification statuspublic EPPAuthInfo getAuthInfo()
null
otherwise.public void setAuthInfo(EPPAuthInfo aAuthInfo)
aAuthInfo
- Authorization information of NV object.public EPPEncodedSignedCodeValue getSignedCode()
public void setSignedCode(EPPEncodedSignedCodeValue aSignedCode)
aSignedCode
- Signed code that provides proof of verificationpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPNameVerificationInfoSignedCodeResult
instance.encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built. Used as an Element factory.EPPEncodeException
- Unable to encode EPPNameVerificationInfoSignedCodeResult
instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPNameVerificationInfoSignedCodeResult
attributes from
the aElement DOM Element tree.decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode
EPPNameVerificationInfoSignedCodeResult
from.EPPDecodeException
- Unable to decode aElementpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPNameVerificationInfoSignedCodeResult
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPNameVerificationInfoSignedCodeResult
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic java.lang.String getType()
EPPNameVerificationInfoSignedCodeResult
.EPPNameVerificationInfoSignedCodeResult.ELM_NAME
public java.lang.String getNamespace()
EPPNameVerificationInfoSignedCodeResult
.getNamespace
in interface EPPCodecComponent
EPPNameVerificationMapFactory.NS
public boolean equals(java.lang.Object aObject)
EPPNameVerificationInfoSignedCodeResult
with this instance.equals
in class java.lang.Object
aObject
- Object to compare with.true
if this object is the same as the aObject argument;
false
otherwisepublic java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.toString
in class java.lang.Object
String
if successful;
ERROR
otherwise.