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.String
ELM_LOCALNAME
XML local name forEPPNameVerificationPendActionMsg
.static java.lang.String
ELM_NAME
XML 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()
EPPNameVerificationPendActionMsg
default constructor.EPPNameVerificationPendActionMsg(EPPTransId aTransId, java.lang.String aCode, java.lang.String aType, EPPNameVerificationStatus aStatus, java.lang.String aMsg, java.util.Date aPaDate)
EPPNameVerificationPendActionMsg
constructor that takes all of the required attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
CloneEPPNameVerificationPendActionMsg
.protected void
doDecode(org.w3c.dom.Element aElement)
Decode theEPPNameVerificationPendActionMsg
attributes from theaElement
DOM Element tree.protected org.w3c.dom.Element
doEncode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of theEPPNameVerificationPendActionMsg
instance.boolean
equals(java.lang.Object aObject)
Compare an instance ofEPPNameVerificationPendActionMsg
with this instance.java.lang.String
getCode()
Gets the verification code value.java.lang.String
getCodeType()
Gets the verification code type.java.lang.String
getMsg()
Gets the human-readable description of the result.java.lang.String
getNamespace()
Returns the XML namespace associated with theEPPResponse
.java.util.Date
getPaDate()
Gets the the date and time describing when review of the requested action was completed.EPPNameVerificationStatus
getStatus()
Gets the verification status.void
setCode(java.lang.String aCode)
Sets the verification code value.void
setCodeType(java.lang.String aType)
Sets the verification code type.void
setMsg(java.lang.String aMsg)
Sets the human-readable description of the result.void
setPaDate(java.util.Date aPaDate)
Sets the date and time describing when review of the requested action was completed.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
.-
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()
EPPNameVerificationPendActionMsg
default 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)
EPPNameVerificationPendActionMsg
constructor 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:
getNamespace
in interfaceEPPCodecComponent
- Specified by:
getNamespace
in interfaceEPPMessage
- Overrides:
getNamespace
in 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 EPPEncodeException
Encode a DOM Element tree from the attributes of theEPPNameVerificationPendActionMsg
instance.- Overrides:
doEncode
in classEPPResponse
- Parameters:
aDocument
- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPNameVerificationPendActionMsg
instance. - Throws:
EPPEncodeException
- Unable to encodeEPPNameVerificationPendActionMsg
instance.
-
doDecode
protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
Decode theEPPNameVerificationPendActionMsg
attributes from theaElement
DOM Element tree.- Overrides:
doDecode
in classEPPResponse
- Parameters:
aElement
- Root DOM Element to decodeEPPNameVerificationPendActionMsg
from.- Throws:
EPPDecodeException
- Unable to decodeaElement
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
CloneEPPNameVerificationPendActionMsg
.- Specified by:
clone
in interfaceEPPCodecComponent
- Overrides:
clone
in classEPPResponse
- Returns:
- clone of
EPPNameVerificationPendActionMsg
- Throws:
java.lang.CloneNotSupportedException
- standard Object.clone exception
-
equals
public boolean equals(java.lang.Object aObject)
Compare an instance ofEPPNameVerificationPendActionMsg
with this instance.- Overrides:
equals
in classEPPResponse
- 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 classEPPResponse
- Returns:
- Indented XML
String
if successful;ERROR
otherwise.
-
-