Package com.verisign.epp.codec.nv
Class EPPNameVerificationInfoSignedCodeResult
java.lang.Object
com.verisign.epp.codec.nv.EPPNameVerificationInfoSignedCodeResult
- All Implemented Interfaces:
EPPCodecComponent,EPPNameVerificationInfoResult,Serializable,Cloneable
public class EPPNameVerificationInfoSignedCodeResult
extends Object
implements EPPNameVerificationInfoResult
Info result for a command for the signed code, where the
EPPNameVerificationInfoCmd type is set to
EPPNameVerificationInfoCmd.Type.SIGNED_CODE.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEPPNameVerificationInfoSignedCodeResultdefault constructor.EPPNameVerificationInfoSignedCodeResult(String aCode, String aType, EPPEncodedSignedCodeValue aSignedCode) EPPNameVerificationInfoSignedCodeResultconstructor that takes all required attributes.EPPNameVerificationInfoSignedCodeResult(String aCode, String aType, EPPEncodedSignedCodeValue aSignedCode, EPPNameVerificationStatus aStatus, EPPAuthInfo aAuthInfo) EPPNameVerificationInfoSignedCodeResultconstructor that takes all attributes. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPNameVerificationInfoSignedCodeResult.voidDecode theEPPNameVerificationInfoSignedCodeResultattributes from the aElement DOM Element tree.Encode a DOM Element tree from the attributes of theEPPNameVerificationInfoSignedCodeResultinstance.booleanCompare an instance ofEPPNameVerificationInfoSignedCodeResultwith this instance.Gets the OPTIONAL authorization information for the Name Verification (NV) object.getCode()Gets the verification code value.Gets the verification code type.Gets the EPP command namespace associated withEPPNameVerificationInfoSignedCodeResult.Gets the signed code that provides proof of verification.Gets the verification status.getType()Gets the EPP response type associated withEPPNameVerificationInfoSignedCodeResult.voidsetAuthInfo(EPPAuthInfo aAuthInfo) Sets the authorization information for the Name Verification (NV) object.voidSets the verification code value.voidsetCodeType(String aType) Sets the verification code type.voidsetSignedCode(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 forEPPNameVerificationInfoSignedCodeResult.- See Also:
-
ELM_NAME
XML root tag forEPPNameVerificationInfoSignedCodeResult.- See Also:
-
-
Constructor Details
-
EPPNameVerificationInfoSignedCodeResult
public EPPNameVerificationInfoSignedCodeResult()EPPNameVerificationInfoSignedCodeResultdefault constructor. -
EPPNameVerificationInfoSignedCodeResult
public EPPNameVerificationInfoSignedCodeResult(String aCode, String aType, EPPEncodedSignedCodeValue aSignedCode) EPPNameVerificationInfoSignedCodeResultconstructor that takes all required attributes.- Parameters:
aCode- The verification code valueaType- The verification code typeaSignedCode- Signed code providing proof of verification
-
EPPNameVerificationInfoSignedCodeResult
public EPPNameVerificationInfoSignedCodeResult(String aCode, String aType, EPPEncodedSignedCodeValue aSignedCode, EPPNameVerificationStatus aStatus, EPPAuthInfo aAuthInfo) EPPNameVerificationInfoSignedCodeResultconstructor 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 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
-
getAuthInfo
Gets the OPTIONAL authorization information for the Name Verification (NV) object.- Returns:
- Authorization information if defined;
nullotherwise.
-
setAuthInfo
Sets the authorization information for the Name Verification (NV) object.- Parameters:
aAuthInfo- Authorization information of NV object.
-
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 theEPPNameVerificationInfoSignedCodeResultinstance.- Specified by:
encodein 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
Decode theEPPNameVerificationInfoSignedCodeResultattributes from the aElement DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- Root DOM Element to decodeEPPNameVerificationInfoSignedCodeResultfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
clone
CloneEPPNameVerificationInfoSignedCodeResult.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPNameVerificationInfoSignedCodeResult - Throws:
CloneNotSupportedException- standard Object.clone exception
-
getType
Gets the EPP response type associated withEPPNameVerificationInfoSignedCodeResult.- Returns:
EPPNameVerificationInfoSignedCodeResult.ELM_NAME
-
getNamespace
Gets the EPP command namespace associated withEPPNameVerificationInfoSignedCodeResult.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
EPPNameVerificationMapFactory.NS
-
equals
Compare an instance ofEPPNameVerificationInfoSignedCodeResultwith this instance. -
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-