Package com.verisign.epp.codec.nv
Class EPPNameVerificationInfoSignedCodeResult
- java.lang.Object
-
- com.verisign.epp.codec.nv.EPPNameVerificationInfoSignedCodeResult
-
- All Implemented Interfaces:
EPPCodecComponent
,EPPNameVerificationInfoResult
,java.io.Serializable
,java.lang.Cloneable
public class EPPNameVerificationInfoSignedCodeResult extends java.lang.Object implements EPPNameVerificationInfoResult
Info result for a command for the signed code, where theEPPNameVerificationInfoCmd
type is set toEPPNameVerificationInfoCmd.Type.SIGNED_CODE
.- See Also:
EPPNameVerificationInfoCmd
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELM_LOCALNAME
XML local name forEPPNameVerificationInfoSignedCodeResult
.static java.lang.String
ELM_NAME
XML root tag forEPPNameVerificationInfoSignedCodeResult
.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
CloneEPPNameVerificationInfoSignedCodeResult
.void
decode(org.w3c.dom.Element aElement)
Decode theEPPNameVerificationInfoSignedCodeResult
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 theEPPNameVerificationInfoSignedCodeResult
instance.boolean
equals(java.lang.Object aObject)
Compare an instance ofEPPNameVerificationInfoSignedCodeResult
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 withEPPNameVerificationInfoSignedCodeResult
.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 withEPPNameVerificationInfoSignedCodeResult
.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 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 forEPPNameVerificationInfoSignedCodeResult
.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML root tag forEPPNameVerificationInfoSignedCodeResult
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPNameVerificationInfoSignedCodeResult
public EPPNameVerificationInfoSignedCodeResult()
EPPNameVerificationInfoSignedCodeResult
default constructor.
-
EPPNameVerificationInfoSignedCodeResult
public EPPNameVerificationInfoSignedCodeResult(java.lang.String aCode, java.lang.String aType, EPPEncodedSignedCodeValue aSignedCode)
EPPNameVerificationInfoSignedCodeResult
constructor that takes all required attributes.- Parameters:
aCode
- The verification code valueaType
- The verification code typeaSignedCode
- Signed code providing proof of verification
-
EPPNameVerificationInfoSignedCodeResult
public EPPNameVerificationInfoSignedCodeResult(java.lang.String aCode, java.lang.String aType, EPPEncodedSignedCodeValue aSignedCode, EPPNameVerificationStatus aStatus, EPPAuthInfo aAuthInfo)
EPPNameVerificationInfoSignedCodeResult
constructor that takes all attributes.- Parameters:
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.
-
-
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
-
getAuthInfo
public EPPAuthInfo getAuthInfo()
Gets the OPTIONAL authorization information for the Name Verification (NV) object.- Returns:
- Authorization information if defined;
null
otherwise.
-
setAuthInfo
public void setAuthInfo(EPPAuthInfo aAuthInfo)
Sets the authorization information for the Name Verification (NV) object.- Parameters:
aAuthInfo
- Authorization information of NV object.
-
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 EPPEncodeException
Encode a DOM Element tree from the attributes of theEPPNameVerificationInfoSignedCodeResult
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 EPPNameVerificationInfoSignedCodeResult instance.
- Throws:
EPPEncodeException
- Unable to encode EPPNameVerificationInfoSignedCodeResult instance.
-
decode
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
Decode theEPPNameVerificationInfoSignedCodeResult
attributes from the aElement DOM Element tree.- Specified by:
decode
in interfaceEPPCodecComponent
- Parameters:
aElement
- Root DOM Element to decodeEPPNameVerificationInfoSignedCodeResult
from.- Throws:
EPPDecodeException
- Unable to decode aElement
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
CloneEPPNameVerificationInfoSignedCodeResult
.- Specified by:
clone
in interfaceEPPCodecComponent
- Overrides:
clone
in classjava.lang.Object
- Returns:
- clone of
EPPNameVerificationInfoSignedCodeResult
- Throws:
java.lang.CloneNotSupportedException
- standard Object.clone exception
-
getType
public java.lang.String getType()
Gets the EPP response type associated withEPPNameVerificationInfoSignedCodeResult
.- Returns:
EPPNameVerificationInfoSignedCodeResult.ELM_NAME
-
getNamespace
public java.lang.String getNamespace()
Gets the EPP command namespace associated withEPPNameVerificationInfoSignedCodeResult
.- Specified by:
getNamespace
in interfaceEPPCodecComponent
- Returns:
EPPNameVerificationMapFactory.NS
-
equals
public boolean equals(java.lang.Object aObject)
Compare an instance ofEPPNameVerificationInfoSignedCodeResult
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.
-
-