public class EPPNameWatchInfoResp extends EPPResponse
EPPNameWatchInfoCmd
. When an <info> command has been
processed successfully, the EPP <resData> element MUST contain a
child <nameWatch:infData> element that identifies the nameWatch
namespace and the location of the nameWatch schema. The
<nameWatch:infData> element contains the following child elements:
getName
and setName
to get
and set the element.
getRoid
and setRoid
to get and set the
element.
getRegistrant
and
setRegistrant
to get and set the element.
EPPNameWatchRptTo
description for detail. Use getRptTo
and
setRptTo
to get and set the element.
EPPNameWatchStatus
description for a list of valid status
values. Use getStatus
and setStatus
to get
and set the elements.
getClientId
and
setClientId
to get and set the element.
getCreatedBy
and
setCreatedBy
to get and set the element.
getCreatedDate
and
setCreatedDate
to get and set the element.
getLastUpdatedBy
and setLastUpdatedBy
to get
and set the element.
getLastUpdatedDate
and setLastUpdatedDate
to
get and set the element.
getExpirationDate
and setExpirationDate
to
get and set the element.
getLastTransferDate
and setLastTransferDate
to get and set the element.
getAuthInfo
and setAuthInfo
to get and set the
elements.
EPPNameWatchInfoCmd
,
Serialized Formextensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED
Constructor and Description |
---|
EPPNameWatchInfoResp()
EPPNameWatchInfoResp default constructor. |
EPPNameWatchInfoResp(EPPTransId aTransId,
java.lang.String aName)
EPPNameWatchInfoResp default constructor. |
EPPNameWatchInfoResp(EPPTransId aTransId,
java.lang.String aName,
java.lang.String aRoid,
java.lang.String aClientId)
EPPNameWatchInfoResp constuctor that takes the required
attribute values as parameters. |
EPPNameWatchInfoResp(EPPTransId aTransId,
java.lang.String aName,
java.lang.String aRoid,
java.lang.String aRegistrant,
EPPNameWatchRptTo aRptTo,
java.util.Vector someStatuses,
java.lang.String aClientId,
java.lang.String aCreatedBy,
java.util.Date aCreatedDate,
java.util.Date aExpirationDate)
EPPNameWatchInfoResp constuctor that takes the required
and most used optional attribute values as parameters. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPNameWatchInfoResp . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPNameWatchInfoResp 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
EPPNameWatchInfoResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPNameWatchInfoResp with this
instance. |
EPPAuthInfo |
getAuthInfo()
Gets authorization information
|
java.lang.String |
getClientId()
Gets the nameWatch owning Client Id.
|
java.lang.String |
getCreatedBy()
Gets Client Id that created the nameWatch.
|
java.util.Date |
getCreatedDate()
Gets the date and time the nameWatch was created.
|
java.util.Date |
getExpirationDate()
Gets the expiration date and time of the nameWatch.
|
java.util.Date |
getLastTransferDate()
Gets the date and time of the last successful nameWatch transfer.
|
java.lang.String |
getLastUpdatedBy()
Gets the Client Id that last updated the nameWatch.
|
java.util.Date |
getLastUpdatedDate()
Gets the date and time of the last nameWatch update.
|
java.lang.String |
getName()
Gets the nameWatch name
|
java.lang.String |
getNamespace()
Gets the EPP command namespace associated with
EPPNameWatchInfoResp . |
java.lang.String |
getRegistrant()
Gets the nameWatch registrant
|
java.lang.String |
getRoid()
Gets roid.
|
EPPNameWatchRptTo |
getRptTo()
Gets the EPPNameWatchRptTo.
|
java.util.Vector |
getStatuses()
Get the current associated statuses
|
java.lang.String |
getType()
Gets the EPP response type associated with
EPPNameWatchInfoResp . |
void |
setAuthInfo(EPPAuthInfo newAuthInfo)
Sets authorization information
|
void |
setClientId(java.lang.String aClientId)
Sets the nameWatch owning Client Id.
|
void |
setCreatedBy(java.lang.String aCreatedBy)
Sets Client Id that created the nameWatch.
|
void |
setCreatedDate(java.util.Date aDate)
Sets the date and time the nameWatch was created.
|
void |
setExpirationDate(java.util.Date aExpirationDate)
Sets the expiration date and time of the nameWatch.
|
void |
setLastTransferDate(java.util.Date aLastTransferDate)
Sets the last date and time the nameWatch was successfully transferred.
|
void |
setLastUpdatedBy(java.lang.String aLastUpdatedBy)
Sets the Client Id that last updated the nameWatch.
|
void |
setLastUpdatedDate(java.util.Date aLastUpdatedDate)
Sets the last date and time the nameWatch was updated.
|
void |
setName(java.lang.String aName)
Sets the nameWatch name.
|
void |
setRegistrant(java.lang.String aRegistrant)
Sets the nameWatch registrant
|
void |
setRoid(java.lang.String newRoid)
Sets roid.
|
void |
setRptTo(EPPNameWatchRptTo aRptTo)
Sets the rptTo.
|
void |
setStatuses(java.util.Vector newStatuses)
Set associated statuses.
|
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 EPPNameWatchInfoResp()
EPPNameWatchInfoResp
default constructor. Must call
required setter methods before invoking encode
, which
include:setTransId
setName
setRoid
setClientId
public EPPNameWatchInfoResp(EPPTransId aTransId, java.lang.String aName)
EPPNameWatchInfoResp
default constructor. Must call
required setter methods before invoking encode
, which
include:setRoid
setClientId
aTransId
- DOCUMENT ME!aName
- DOCUMENT ME!public EPPNameWatchInfoResp(EPPTransId aTransId, java.lang.String aName, java.lang.String aRoid, java.lang.String aClientId)
EPPNameWatchInfoResp
constuctor that takes the required
attribute values as parameters.
The setter methods of the optional
attributes can be called before invoking encode
.aTransId
- Transaction Id associated with response.aName
- NameWatch nameaRoid
- roidaClientId
- Owning Client Idpublic EPPNameWatchInfoResp(EPPTransId aTransId, java.lang.String aName, java.lang.String aRoid, java.lang.String aRegistrant, EPPNameWatchRptTo aRptTo, java.util.Vector someStatuses, java.lang.String aClientId, java.lang.String aCreatedBy, java.util.Date aCreatedDate, java.util.Date aExpirationDate)
EPPNameWatchInfoResp
constuctor that takes the required
and most used optional attribute values as parameters.
The setter methods of the optional
attributes can be called before invoking encode
.aTransId
- Transaction Id associated with response.aName
- NameWatch nameaRoid
- roidaRegistrant
- NameWatch registrantaRptTo
- EPPNameWatchRptTo rptTosomeStatuses
- Current status descriptors associated with the
nameWatch.aClientId
- Owning Client IdaCreatedBy
- Client Id of Registrar that created the nameWatchaCreatedDate
- Date the nameWatch was createdaExpirationDate
- Expirate date of the nameWatchpublic java.util.Vector getStatuses()
public void setStatuses(java.util.Vector newStatuses)
newStatuses
- NameWatch statuspublic java.lang.String getType()
EPPNameWatchInfoResp
.getType
in class EPPResponse
EPPNameWatchInfoResp.ELM_NAME
public java.lang.String getNamespace()
EPPNameWatchInfoResp
.getNamespace
in interface EPPCodecComponent
getNamespace
in interface EPPMessage
getNamespace
in class EPPResponse
EPPNameWatchMapFactory.NS
public EPPNameWatchRptTo getRptTo()
EPPNameWatchRptTo
instances if defined;
null
otherwise.public void setRptTo(EPPNameWatchRptTo aRptTo)
aRptTo
- ofEPPNameWatchRptTo
.public boolean equals(java.lang.Object aObject)
EPPNameWatchInfoResp
with this
instance.equals
in class EPPResponse
aObject
- Object to compare with.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPNameWatchInfoResp
.clone
in interface EPPCodecComponent
clone
in class EPPResponse
EPPNameWatchInfoResp
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.public java.lang.String getName()
null
otherwise.public void setName(java.lang.String aName)
aName
- NameWatch Namepublic void setRegistrant(java.lang.String aRegistrant)
aRegistrant
- NameWatch Registrantpublic java.lang.String getRegistrant()
null
otherwise.public java.lang.String getClientId()
public void setClientId(java.lang.String aClientId)
aClientId
- Client Idpublic java.lang.String getCreatedBy()
null
otherwise.public void setCreatedBy(java.lang.String aCreatedBy)
aCreatedBy
- Client Id that created the nameWatch.public java.util.Date getCreatedDate()
null
otherwise.public void setCreatedDate(java.util.Date aDate)
aDate
- Date and time the nameWatch was created.public java.util.Date getExpirationDate()
null
otherwise.public void setExpirationDate(java.util.Date aExpirationDate)
aExpirationDate
- Expiration date and time of the nameWatch.public java.lang.String getLastUpdatedBy()
null
otherwise.public void setLastUpdatedBy(java.lang.String aLastUpdatedBy)
aLastUpdatedBy
- Client Id String that last updated the nameWatch.public java.util.Date getLastUpdatedDate()
null
if the nameWatch has not been updated since
creation.null
otherwise.public void setLastUpdatedDate(java.util.Date aLastUpdatedDate)
aLastUpdatedDate
- Date and time of the last nameWatch update.public java.util.Date getLastTransferDate()
null
if the nameWatch has not been
successfully transferred since creation.null
otherwise.public void setLastTransferDate(java.util.Date aLastTransferDate)
aLastTransferDate
- Date and time of the last succesful transferpublic EPPAuthInfo getAuthInfo()
null
otherwise;public void setAuthInfo(EPPAuthInfo newAuthInfo)
newAuthInfo
- EPPAuthInfopublic java.lang.String getRoid()
public void setRoid(java.lang.String newRoid)
newRoid
- NameWatch roidprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPNameWatchInfoResp
instance.doEncode
in class EPPResponse
aDocument
- DOM Document that is being built. Used as an Element
factory.EPPEncodeException
- Unable to encode EPPNameWatchInfoResp
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPNameWatchInfoResp
attributes from the
aElement DOM Element tree.doDecode
in class EPPResponse
aElement
- Root DOM Element to decode
EPPNameWatchInfoResp
from.EPPDecodeException
- Unable to decode aElementCopyright © VeriSign Inc. All Rights Reserved.