public class EPPOrgPendActionMsg extends EPPResponse
EPPOrgCreateCmd
,
EPPOrgUpdateCmd
,
EPPOrgDeleteCmd
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPOrgPendActionMsg . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPOrgPendActionMsg . |
extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED
Constructor and Description |
---|
EPPOrgPendActionMsg()
EPPOrgPendActionMsg default constructor. |
EPPOrgPendActionMsg(EPPTransId aTransId,
java.lang.String aOrgId,
boolean aSuccess,
EPPTransId aPendingTransId,
java.util.Date aPendingDate)
EPPOrgPendActionMsg constructor that takes all of the required
attributes. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPOrgPendActionMsg . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPOrgPendActionMsg 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
EPPOrgPendActionMsg instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPOrgPendActionMsg with this instance. |
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with
EPPOrgPendActionMsg
. |
java.lang.String |
getOrgId()
Gets the the server-unique identifier of the organization object.
|
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
EPPOrgPendActionMsg . |
boolean |
isPASuccess()
Was the pending action successful?
|
void |
setOrgId(java.lang.String aOrgId)
Sets the org identifier.
|
void |
setPASuccess(boolean aSuccess)
Sets if the pending action was successful.
|
void |
setPendingDate(java.util.Date aPendingDate)
Sets the date that the pending action was completed.
|
void |
setPendingTransId(EPPTransId pendingTransId)
Sets the pending transaction id.
|
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
addExtension, decode, encode, getExtension, getExtension, getExtensions, getMessageQueue, getMsgQueue, getMsgQueueCount, getMsgQueueDate, getMsgQueueMsg, getQDate, getResult, getResults, getTransId, hasExtension, hasExtensions, hasMessageQueue, hasMsgQueue, hasResultCode, isSuccess, setExtension, setExtensions, setMsgQueue, setResult, setResult, setResult, setResult, setResults, setTransId
public static final java.lang.String ELM_LOCALNAME
EPPOrgPendActionMsg
.public static final java.lang.String ELM_NAME
EPPOrgPendActionMsg
.public EPPOrgPendActionMsg()
EPPOrgPendActionMsg
default constructor. Must call required setter
methods before encode.public EPPOrgPendActionMsg(EPPTransId aTransId, java.lang.String aOrgId, boolean aSuccess, EPPTransId aPendingTransId, java.util.Date aPendingDate)
EPPOrgPendActionMsg
constructor that takes all of the required
attributes.aTransId
- Poll command transaction idaOrgId
- Org Id of pending actionaSuccess
- Was the pending action successfulaPendingTransId
- Pending action transaction idaPendingDate
- Date of pending action completionpublic java.lang.String getType()
EPPOrgPendActionMsg
.getType
in class EPPResponse
public java.lang.String getNamespace()
EPPOrgPendActionMsg
.getNamespace
in interface EPPCodecComponent
getNamespace
in interface EPPMessage
getNamespace
in class EPPResponse
EPPOrgMapFactory.NS
public java.lang.String getOrgId()
null
otherwise.public void setOrgId(java.lang.String aOrgId)
aOrgId
- The org identifierpublic java.util.Date getPendingDate()
public void setPendingDate(java.util.Date aPendingDate)
aPendingDate
- The pendingDate to set.public EPPTransId getPendingTransId()
public void setPendingTransId(EPPTransId pendingTransId)
pendingTransId
- The pendingTransId to set.public boolean isPASuccess()
true
if the pending action was successfully
completed; false
otherwise.public void setPASuccess(boolean aSuccess)
aSuccess
- The success to set.public boolean equals(java.lang.Object aObject)
EPPOrgPendActionMsg
with this instance.equals
in class EPPResponse
aObject
- Object to compare with.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPOrgPendActionMsg
.clone
in interface EPPCodecComponent
clone
in class EPPResponse
EPPOrgPendActionMsg
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
EPPOrgPendActionMsg
instance.doEncode
in class EPPResponse
aDocument
- DOM Document that is being built. Used as an Element factory.EPPOrgPendActionMsg
instance.EPPEncodeException
- Unable to encode EPPOrgPendActionMsg
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPOrgPendActionMsg
attributes from the
aElement
DOM Element tree.doDecode
in class EPPResponse
aElement
- Root DOM Element to decode EPPOrgPendActionMsg
from.EPPDecodeException
- Unable to decode aElement
Copyright © VeriSign Inc. All Rights Reserved.