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,java.io.Serializable,java.lang.Cloneable
public class EPPNameVerificationPendActionMsg extends EPPResponse
Poll message used to indicate the result of a pending action.- See Also:
EPPNameVerificationCreateCmd, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_LOCALNAMEXML local name forEPPNameVerificationPendActionMsg.static java.lang.StringELM_NAMEXML 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
Constructors Constructor Description EPPNameVerificationPendActionMsg()EPPNameVerificationPendActionMsgdefault constructor.EPPNameVerificationPendActionMsg(EPPTransId aTransId, java.lang.String aCode, java.lang.String aType, EPPNameVerificationStatus aStatus, java.lang.String aMsg, java.util.Date aPaDate)EPPNameVerificationPendActionMsgconstructor that takes all of the required attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()CloneEPPNameVerificationPendActionMsg.protected voiddoDecode(org.w3c.dom.Element aElement)Decode theEPPNameVerificationPendActionMsgattributes from theaElementDOM Element tree.protected org.w3c.dom.ElementdoEncode(org.w3c.dom.Document aDocument)Encode a DOM Element tree from the attributes of theEPPNameVerificationPendActionMsginstance.booleanequals(java.lang.Object aObject)Compare an instance ofEPPNameVerificationPendActionMsgwith this instance.java.lang.StringgetCode()Gets the verification code value.java.lang.StringgetCodeType()Gets the verification code type.java.lang.StringgetMsg()Gets the human-readable description of the result.java.lang.StringgetNamespace()Returns the XML namespace associated with theEPPResponse.java.util.DategetPaDate()Gets the the date and time describing when review of the requested action was completed.EPPNameVerificationStatusgetStatus()Gets the verification status.voidsetCode(java.lang.String aCode)Sets the verification code value.voidsetCodeType(java.lang.String aType)Sets the verification code type.voidsetMsg(java.lang.String aMsg)Sets the human-readable description of the result.voidsetPaDate(java.util.Date aPaDate)Sets the date and time describing when review of the requested action was completed.voidsetStatus(EPPNameVerificationStatus aStatus)Sets the verification status.java.lang.StringtoString()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 Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
XML local name forEPPNameVerificationPendActionMsg.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML root tag forEPPNameVerificationPendActionMsg.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPNameVerificationPendActionMsg
public EPPNameVerificationPendActionMsg()
EPPNameVerificationPendActionMsgdefault constructor. Must call required setter methods before encode.
-
EPPNameVerificationPendActionMsg
public EPPNameVerificationPendActionMsg(EPPTransId aTransId, java.lang.String aCode, java.lang.String aType, EPPNameVerificationStatus aStatus, java.lang.String aMsg, java.util.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 Detail
-
getNamespace
public java.lang.String 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
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
-
getMsg
public java.lang.String getMsg()
Gets the human-readable description of the result.- Returns:
- human-readable description of the result.
-
setMsg
public void setMsg(java.lang.String aMsg)
Sets the human-readable description of the result.- Parameters:
aMsg- human-readable description of the result.
-
getPaDate
public java.util.Date 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
public void setPaDate(java.util.Date aPaDate)
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
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionEncode 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
protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeExceptionDecode theEPPNameVerificationPendActionMsgattributes from theaElementDOM Element tree.- Overrides:
doDecodein classEPPResponse- Parameters:
aElement- Root DOM Element to decodeEPPNameVerificationPendActionMsgfrom.- Throws:
EPPDecodeException- Unable to decodeaElement
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPNameVerificationPendActionMsg.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPResponse- Returns:
- clone of
EPPNameVerificationPendActionMsg - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
equals
public boolean equals(java.lang.Object aObject)
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
public java.lang.String toString()
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPResponse- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
-