public class EPPHostInfoResp extends EPPResponse
EPPHostInfoCmd. When an <info> command has been
processed successfully, the EPP <resData> element MUST contain a
child <host:infData> element that identifies the host namespace and
the location of the host schema. The <host:infData> element contains
the following child elements: getName and setName to get and set the
element.
getStatuses and setStatuses to
get and set the element.
getAddresses and
setAddresses to get and set the element.
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.
getUpdatedDate and
setUpdatedDate to get and set the element.
getTrDate and setTrDate to get
and set the element.
getAuthInfo and
setAuthInfo to get and set the element.
EPPHostInfoCmd,
Serialized Formextensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED| Constructor and Description |
|---|
EPPHostInfoResp()
EPPHostInfoResp default constructor. |
EPPHostInfoResp(EPPTransId aTransId,
java.lang.String aName,
java.lang.String aRoid,
EPPHostStatus aHostStatus,
java.lang.String aClientId,
java.lang.String aCreatedBy,
java.util.Date aCreatedDate)
EPPHostInfoResp constuctor that takes the required
attribute values as parameters. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clone
EPPHostInfoResp. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPHostInfoResp 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
EPPHostInfoResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPHostInfoResp with this instance. |
java.util.Vector |
getAddresses()
Gets the list (Vector) of host addresses.
|
java.lang.String |
getClientId()
Gets the host owning Client Id.
|
java.lang.String |
getCreatedBy()
Gets Client Id that created the host.
|
java.util.Date |
getCreatedDate()
Gets the date and time the host was created.
|
java.lang.String |
getLastUpdatedBy()
Gets the Client Id that last updated the host.
|
java.util.Date |
getLastUpdatedDate()
Gets the date and time of the last host update.
|
java.lang.String |
getName()
Gets the host name
|
java.lang.String |
getNamespace()
Gets the EPP command namespace associated with
EPPHostInfoResp. |
java.lang.String |
getRoid()
Get roid.
|
java.util.Vector |
getStatuses()
Get host statuses.
|
java.util.Date |
getTrDate()
Get transfer date.
|
java.lang.String |
getType()
Gets the EPP response type associated with
EPPHostInfoResp. |
void |
setAddresses(java.util.Vector someAddresses)
Sets the list (Vector) of host addresses.
|
void |
setClientId(java.lang.String aClientId)
Sets the host owning Client Id.
|
void |
setCreatedBy(java.lang.String aCreatedBy)
Sets Client Id that created the host.
|
void |
setCreatedDate(java.util.Date aDate)
Sets the date and time the host was created.
|
void |
setLastUpdatedBy(java.lang.String aLastUpdatedBy)
Sets the Client Id that last updated the host.
|
void |
setLastUpdatedDate(java.util.Date aLastUpdatedDate)
Sets the last date and time the host was updated.
|
void |
setName(java.lang.String aName)
Sets the host name.
|
void |
setRoid(java.lang.String newRoid)
Set roid.
|
void |
setStatuses(EPPHostStatus aHostStatus)
Set host statuses.
|
void |
setStatuses(java.util.Vector newStatuses)
Set host statuses.
|
void |
setTrDate(java.util.Date newTrDate)
Set transfer date.
|
java.lang.String |
toString()
Implementation of
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
addExtension, decode, encode, findDuplicateExtNamespaces, 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, setTransIdpublic EPPHostInfoResp()
EPPHostInfoResp default constructor. Must call required
setter methods before invoking encode, which
include:setName
setRoid
setStatuses
setClientId
setCreatedBy
setCreatedDate
public EPPHostInfoResp(EPPTransId aTransId, java.lang.String aName, java.lang.String aRoid, EPPHostStatus aHostStatus, java.lang.String aClientId, java.lang.String aCreatedBy, java.util.Date aCreatedDate)
EPPHostInfoResp 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 - Host nameaRoid - roidaHostStatus - EPP Host StatusaClientId - Owning Client IdaCreatedBy - Client Id of Registrar that created the hostaCreatedDate - Date the host was createdpublic java.lang.String getType()
EPPHostInfoResp.getType in class EPPResponseEPPHostInfoResp.ELM_NAMEpublic java.lang.String getNamespace()
EPPHostInfoResp.getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPResponseEPPHostMapFactory.NSprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPHostInfoResp instance.doEncode in class EPPResponseaDocument - DOM Document that is being built. Used as an Element
factory.EPPEncodeException - Unable to encode EPPHostPingMap instance.protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPHostInfoResp attributes from the aElement DOM
Element tree.doDecode in class EPPResponseaElement - Root DOM Element to decode EPPHostInfoResp
from.EPPDecodeException - Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPHostInfoResp with this instance.equals in class EPPResponseaObject - Object to compare with.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPHostInfoResp.clone in interface EPPCodecComponentclone in class EPPResponseEPPHostInfoRespjava.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 getName()
null otherwise.public void setName(java.lang.String aName)
aName - Host Namepublic java.lang.String getClientId()
null otherwise.public void setClientId(java.lang.String aClientId)
aClientId - Client Idpublic java.util.Vector getAddresses()
EPPHostAddress.Vector of EPPHostAddress instances.public void setAddresses(java.util.Vector someAddresses)
EPPHostAddress.someAddresses - Vector of EPPHostAddress
instancespublic java.lang.String getCreatedBy()
null otherwise.public void setCreatedBy(java.lang.String aCreatedBy)
aCreatedBy - Client Id that created the host.public java.util.Date getCreatedDate()
null
otherwise.public void setCreatedDate(java.util.Date aDate)
aDate - Date and time the host was created.public java.lang.String getLastUpdatedBy()
null otherwise.public void setLastUpdatedBy(java.lang.String aLastUpdatedBy)
aLastUpdatedBy - Client Id String that last updated the host.public java.util.Date getLastUpdatedDate()
null if the host has not been updated since creation.null otherwise.public void setLastUpdatedDate(java.util.Date aLastUpdatedDate)
aLastUpdatedDate - Date and time of the last host update.public java.util.Vector getStatuses()
public java.util.Date getTrDate()
public void setStatuses(EPPHostStatus aHostStatus)
aHostStatus - com.verisign.epp.codec.host.EPPHostStatuspublic void setStatuses(java.util.Vector newStatuses)
newStatuses - Vectorpublic void setTrDate(java.util.Date newTrDate)
newTrDate - java.util.Datepublic java.lang.String getRoid()
public void setRoid(java.lang.String newRoid)
newRoid - java.lang.String