|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.contact.EPPContactPendActionMsg
public class EPPContactPendActionMsg
Poll message used to indicate the result of a pending action. Pending action can included contact create, update, renew, and delete.
EPPContactCreateCmd
,
EPPContactUpdateCmd
,
EPPContactTransferCmd
,
EPPContactDeleteCmd
,
Serialized FormField Summary |
---|
Fields inherited from class com.verisign.epp.codec.gen.EPPResponse |
---|
extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED |
Constructor Summary | |
---|---|
EPPContactPendActionMsg()
EPPContactPendActionMsg default constructor. |
|
EPPContactPendActionMsg(EPPTransId aTransId,
java.lang.String aId,
boolean aSuccess,
EPPTransId aPendingTransId,
java.util.Date aPendingDate)
EPPContactPendActionMsg constructor that takes all of the
required attributes. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPContactPendActionMsg . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPContactPendActionMsg attributes from the
aElement DOM Element tree. |
protected org.w3c.dom.Element |
doEncode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the EPPContactPendActionMsg instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPContactPendActionMsg with this
instance. |
java.lang.String |
getId()
Gets the contact id |
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with EPPContactPendActionMsg . |
java.util.Date |
getPendingDate()
Gets the date that the pending action was completed. |
EPPTransId |
getPendingTransId()
Gets the pending transaction id. |
java.lang.String |
getType()
Gets the EPP command type associated with EPPContactPendActionMsg . |
boolean |
isSuccess()
Was the pending action successful? |
void |
setId(java.lang.String aId)
Sets the contact id. |
void |
setPendingDate(java.util.Date pendingDate)
Sets the date that the pending action was completed. |
void |
setPendingTransId(EPPTransId pendingTransId)
Sets the pending transaction id. |
void |
setSuccess(boolean success)
Sets if the pending action was successful. |
java.lang.String |
toString()
Implementation of Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
Methods inherited from class com.verisign.epp.codec.gen.EPPResponse |
---|
addExtension, decode, encode, getExtension, getExtension, getExtensions, getMessageQueue, getMsgQueue, getMsgQueueCount, getMsgQueueDate, getMsgQueueMsg, getQDate, getResult, getResults, getTransId, hasExtension, hasExtensions, hasMessageQueue, hasMsgQueue, hasResultCode, setExtension, setExtensions, setMsgQueue, setResult, setResult, setResult, setResult, setResults, setTransId |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EPPContactPendActionMsg()
EPPContactPendActionMsg
default constructor. Must call
required setter methods before encode.
public EPPContactPendActionMsg(EPPTransId aTransId, java.lang.String aId, boolean aSuccess, EPPTransId aPendingTransId, java.util.Date aPendingDate)
EPPContactPendActionMsg
constructor that takes all of the
required attributes.
aTransId
- Poll command transaction idaId
- Contact id of pending actionaSuccess
- Was the pending action successfulaPendingTransId
- Pending action transaction idaPendingDate
- Date of pending action completionMethod Detail |
---|
public java.lang.String getType()
EPPContactPendActionMsg
.
getType
in class EPPResponse
public java.lang.String getNamespace()
EPPContactPendActionMsg
.
getNamespace
in interface EPPMessage
getNamespace
in class EPPResponse
EPPContactMapFactory.NS
public java.lang.String getId()
String
instance if defined;
null
otherwise.public void setId(java.lang.String aId)
aId
- Contact Idpublic java.util.Date getPendingDate()
public void setPendingDate(java.util.Date pendingDate)
pendingDate
- The pendingDate to set.public EPPTransId getPendingTransId()
public void setPendingTransId(EPPTransId pendingTransId)
pendingTransId
- The pendingTransId to set.public boolean isSuccess()
isSuccess
in class EPPResponse
true
if the pending action was successfully
completed; false
otherwise.public void setSuccess(boolean success)
success
- The success to set.public boolean equals(java.lang.Object aObject)
EPPContactPendActionMsg
with this
instance.
equals
in class EPPResponse
aObject
- Object to compare with.
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPContactPendActionMsg
.
clone
in interface EPPCodecComponent
clone
in class EPPResponse
EPPContactPendActionMsg
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.
toString
in class EPPResponse
String
if successful;
ERROR
otherwise.protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPContactPendActionMsg
instance.
doEncode
in class EPPResponse
aDocument
- DOM Document that is being built. Used as an Element
factory.
EPPContactPendActionMsg
instance.
EPPEncodeException
- Unable to encode
EPPContactPendActionMsg
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPContactPendActionMsg
attributes from the
aElement
DOM Element tree.
doDecode
in class EPPResponse
aElement
- Root DOM Element to decode
EPPContactPendActionMsg
from.
EPPDecodeException
- Unable to decode aElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |