|
||||||||||
| 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.nameWatch.EPPNameWatchTransferResp
public class EPPNameWatchTransferResp
Represents an EPP NameWatch <nameWatch:transfer-data> response to an
EPPNameWatchTransferCmd. When a <transfer> query
command has been processed successfully, the EPP <resData> element
MUST contain a child <nameWatch:trnData> element that identifies the
nameWatch namespace and the location of the nameWatch schema. The
<nameWatch:trnData> element SHALL contain the following child
elements:
getRoid and setRoid
to get and set the element.
getStatus and setStatus with the
EPPNameWatchTransferResp.STATUS_ constants to get and set
the element.
getRequestClient and setRequestClient to get
and set the element. and setActionClient to get and set
the element.
getRequestDate and
setRequestDate to get and set the element.
getActionClient
getActionDate and setActionDate
to get and set the element.
getExpirationDate
and setExpirationDate to get and set the element.
EPPNameWatchTransferCmd,
Serialized Form| Field 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 | |
|---|---|
EPPNameWatchTransferResp()
EPPNameWatchTransferResp default constructor. |
|
EPPNameWatchTransferResp(EPPTransId aTransId,
java.lang.String aRoid)
EPPNameWatchTransferResp which takes the name of nameWatch. |
|
EPPNameWatchTransferResp(EPPTransId aTransId,
java.lang.String aRoid,
java.lang.String aTransferStatus,
java.lang.String aRequestClient,
java.util.Date aRequestDate,
java.lang.String aActionClient,
java.util.Date aActionDate)
EPPNameWatchTransferResp which takes the name of nameWatch. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPNameWatchTransferResp. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPNameWatchTransferResp 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 EPPNameWatchTransferResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPNameWatchTransferResp with this
instance. |
java.lang.String |
getActionClient()
Gets the identifier of the client that SHOULD respond to the transfer request. |
java.util.Date |
getActionDate()
Gets the date and time of a required or completed response. |
java.util.Date |
getExpirationDate()
Gets the optional attribute that contains the end of the nameWatch's validity period if the transfer command caused or causes a change in the validity period. |
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with EPPNameWatchTransferResp. |
java.lang.String |
getRequestClient()
Gets the identifier of the client that initiated the transfer request. |
java.util.Date |
getRequestDate()
Gets the date and time that the transfer was requested. |
java.lang.String |
getRoid()
Gets the nameWatch roid |
java.lang.String |
getTransferStatus()
Gets the state of the most recent transfer request. |
java.lang.String |
getType()
Gets the EPP response type associated with EPPNameWatchTransferResp. |
void |
setActionClient(java.lang.String aActionClient)
Sets the identifier of the client that SHOULD respond to the transfer request. |
void |
setActionDate(java.util.Date aActionDate)
Sets the date and time of a required or completed response. |
void |
setExpirationDate(java.util.Date aExpirationDate)
Sets the optional attribute that contains the end of the nameWatch's validity period if the transfer command caused or causes a change in the validity period. |
void |
setRequestClient(java.lang.String aRequestClient)
Sets the identifier of the client that initiated the transfer request. |
void |
setRequestDate(java.util.Date aRequestDate)
Sets the date and time that the transfer was requested. |
void |
setRoid(java.lang.String aRoid)
Sets the nameWatch roid. |
void |
setTransferStatus(java.lang.String aTransferStatus)
Sets the state of the most recent transfer request. |
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, isSuccess, 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 EPPNameWatchTransferResp()
EPPNameWatchTransferResp default constructor. Must call
required setter methods before invoking encode, which
include:setTransId
setRoid
setTransferStatus
setRequestClient
setReqeustDate
setActionClient
setActionDate
public EPPNameWatchTransferResp(EPPTransId aTransId,
java.lang.String aRoid)
EPPNameWatchTransferResp which takes the name of nameWatch.
All other required attributes need to be set using the setter
methods, which include:setTransferStatus
setRequestClient
setReqeustDate
setActionClient
setActionDate
aTransId - Transaction Id associated with response.aRoid - NameWatch roid
public EPPNameWatchTransferResp(EPPTransId aTransId,
java.lang.String aRoid,
java.lang.String aTransferStatus,
java.lang.String aRequestClient,
java.util.Date aRequestDate,
java.lang.String aActionClient,
java.util.Date aActionDate)
EPPNameWatchTransferResp which takes the name of nameWatch.
aTransId - DOCUMENT ME!aRoid - DOCUMENT ME!aTransferStatus - DOCUMENT ME!aRequestClient - DOCUMENT ME!aRequestDate - DOCUMENT ME!aActionClient - DOCUMENT ME!aActionDate - DOCUMENT ME!| Method Detail |
|---|
public java.lang.String getType()
EPPNameWatchTransferResp.
getType in class EPPResponseEPPNameWatchTransferResp.ELM_NAMEpublic java.lang.String getNamespace()
EPPNameWatchTransferResp.
getNamespace in interface EPPMessagegetNamespace in class EPPResponseEPPNameWatchMapFactory.NS
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPNameWatchTransferResp instance.
doEncode in class EPPResponseaDocument - DOM Document that is being built. Used as an Element
factory.
EPPNameWatchTransferResp instance.
EPPEncodeException - Unable to encode
EPPNameWatchTransferResp instance.
protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPNameWatchTransferResp attributes from the
aElement DOM Element tree.
doDecode in class EPPResponseaElement - Root DOM Element to decode
EPPNameWatchTransferResp from.
EPPDecodeException - Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPNameWatchTransferResp with this
instance.
equals in class EPPResponseaObject - Object to compare with.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPNameWatchTransferResp.
clone in interface EPPCodecComponentclone in class EPPResponseEPPNameWatchTransferResp
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 EPPResponseString if successful;
ERROR otherwise.public java.lang.String getRoid()
null otherwise.public void setRoid(java.lang.String aRoid)
aRoid - NameWatch Roidpublic java.lang.String getRequestClient()
String if defined;
null otherwise.public void setRequestClient(java.lang.String aRequestClient)
aRequestClient - The Request Client Id Stringpublic java.lang.String getActionClient()
String if defined;
null otherwise.public void setActionClient(java.lang.String aActionClient)
aActionClient - The Action Client Id Stringpublic java.lang.String getTransferStatus()
EPPResponse.TRANSFER constants.
String if defined;
null otherwise.public void setTransferStatus(java.lang.String aTransferStatus)
EPPResponse.TRANSFER constants.
aTransferStatus - The transfer status String
(EPPResponse.TRANSFER)public java.util.Date getRequestDate()
null
otherwise.public void setRequestDate(java.util.Date aRequestDate)
aRequestDate - The request date and timepublic java.util.Date getActionDate()
null otherwise.public void setActionDate(java.util.Date aActionDate)
aActionDate - The required or complete response data and time.public java.util.Date getExpirationDate()
null
otherwise.public void setExpirationDate(java.util.Date aExpirationDate)
aExpirationDate - Transfer expiration data and time.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||