Package com.verisign.epp.codec.nv
Class EPPNameVerificationPendActionMsg
java.lang.Object
com.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.nv.EPPNameVerificationPendActionMsg
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
Poll message used to indicate the result of a pending action.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML local name forEPPNameVerificationPendActionMsg.static final StringXML root tag forEPPNameVerificationPendActionMsg.Fields inherited from class com.verisign.epp.codec.gen.EPPResponse
ELM_EXTENSION, ELM_MESSAGE_QUEUE, ELM_MESSAGE_QUEUE_QDATE, ELM_RESPONSE_DATA, extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED -
Constructor Summary
ConstructorsConstructorDescriptionEPPNameVerificationPendActionMsgdefault constructor.EPPNameVerificationPendActionMsg(EPPTransId aTransId, String aCode, String aType, EPPNameVerificationStatus aStatus, String aMsg, Date aPaDate) EPPNameVerificationPendActionMsgconstructor that takes all of the required attributes. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPNameVerificationPendActionMsg.protected voidDecode theEPPNameVerificationPendActionMsgattributes from theaElementDOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPNameVerificationPendActionMsginstance.booleanCompare an instance ofEPPNameVerificationPendActionMsgwith this instance.getCode()Gets the verification code value.Gets the verification code type.getMsg()Gets the human-readable description of the result.Returns the XML namespace associated with theEPPResponse.Gets the the date and time describing when review of the requested action was completed.Gets the verification status.voidSets the verification code value.voidsetCodeType(String aType) Sets the verification code type.voidSets the human-readable description of the result.voidSets the date and time describing when review of the requested action was completed.voidsetStatus(EPPNameVerificationStatus aStatus) Sets the verification status.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.Methods inherited from class com.verisign.epp.codec.gen.EPPResponse
addExtension, decode, encode, findDuplicateExtNamespaces, findExtNamespaces, findExtNamespaceSuffixes, findUnsupportedExtNamespaces, findUnsupportedExtNamespaceSuffixes, getExtension, getExtension, getExtensions, getMessageQueue, getMsgQueue, getMsgQueueCount, getMsgQueueDate, getMsgQueueMsg, getQDate, getResult, getResults, getTransId, getType, hasExtension, hasExtensions, hasMessageQueue, hasMsgQueue, hasResultCode, isSuccess, setExtension, setExtensions, setMsgQueue, setResult, setResult, setResult, setResult, setResults, setTransId
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPNameVerificationPendActionMsg.- See Also:
-
ELM_NAME
XML root tag forEPPNameVerificationPendActionMsg.- See Also:
-
-
Constructor Details
-
EPPNameVerificationPendActionMsg
public EPPNameVerificationPendActionMsg()EPPNameVerificationPendActionMsgdefault constructor. Must call required setter methods before encode. -
EPPNameVerificationPendActionMsg
public EPPNameVerificationPendActionMsg(EPPTransId aTransId, String aCode, String aType, EPPNameVerificationStatus aStatus, String aMsg, Date aPaDate) EPPNameVerificationPendActionMsgconstructor that takes all of the required attributes.- Parameters:
aTransId- Poll command transaction idaCode- Verification code pending actionaType- The verification code typeaStatus- Status of pending actionaMsg- Human-readable description of the result.aPaDate- Date of pending action completion
-
-
Method Details
-
getNamespace
Returns the XML namespace associated with theEPPResponse.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Overrides:
getNamespacein classEPPResponse- Returns:
- XML namespace for the
EPPResponse.
-
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
-
getMsg
Gets the human-readable description of the result.- Returns:
- human-readable description of the result.
-
setMsg
Sets the human-readable description of the result.- Parameters:
aMsg- human-readable description of the result.
-
getPaDate
Gets the the date and time describing when review of the requested action was completed.- Returns:
- Date and time describing when review of the requested action was completed.
-
setPaDate
Sets the date and time describing when review of the requested action was completed.- Parameters:
aPaDate- Date and time describing when review of the requested action was completed.
-
doEncode
Encode a DOM Element tree from the attributes of theEPPNameVerificationPendActionMsginstance.- Overrides:
doEncodein classEPPResponse- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPNameVerificationPendActionMsginstance. - Throws:
EPPEncodeException- Unable to encodeEPPNameVerificationPendActionMsginstance.
-
doDecode
Decode theEPPNameVerificationPendActionMsgattributes from theaElementDOM Element tree.- Overrides:
doDecodein classEPPResponse- Parameters:
aElement- Root DOM Element to decodeEPPNameVerificationPendActionMsgfrom.- Throws:
EPPDecodeException- Unable to decodeaElement
-
clone
CloneEPPNameVerificationPendActionMsg.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPResponse- Returns:
- clone of
EPPNameVerificationPendActionMsg - Throws:
CloneNotSupportedException- standard Object.clone exception
-
equals
Compare an instance ofEPPNameVerificationPendActionMsgwith this instance.- Overrides:
equalsin classEPPResponse- Parameters:
aObject- Object to compare with.- Returns:
trueif this object is the same as the aObject argument;falseotherwise
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPResponse- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-