|
||||||||||
| 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.domain.EPPDomainInfoResp
public class EPPDomainInfoResp
Represents an EPP Domain <domain:infData> response to an
EPPDomainInfoCmd. When an <info> command has been
processed successfully, the EPP <resData> element MUST contain a
child <domain:infData> element that identifies the domain namespace
and the location of the domain schema. The <domain: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.
EPPDomainStatus description for a list of valid status values.
Use getStatus and setStatus to get and set
the elements.
getContacts and setContacts to
get and set the elements. Contacts should only be specified if the
Contact Mapping is supported.
getNs and setNs to get and set the elements.
getHost and setHost 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.
getExpirationDate and setExpirationDate to
get and set the element.
getLastUpdatedBy and
setLastUpdatedBy to get and set the element.
getLastUpdatedDate and
setLastUpdatedDate to get and set the element.
getLastTransferDate
and setLastTransferDate to get and set the element.
getAuthInfo and setAuthInfo to get and set the
elements.
EPPDomainInfoCmd,
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 | |
|---|---|
EPPDomainInfoResp()
EPPDomainInfoResp default constructor. |
|
EPPDomainInfoResp(EPPTransId aTransId,
java.lang.String aRoid,
java.lang.String aName,
java.lang.String aClientId,
java.util.Vector someStatuses,
java.lang.String aCreatedBy,
java.util.Date aCreatedDate,
EPPAuthInfo aAuthInfo)
EPPDomainInfoResp constuctor that takes the required
attribute values as parameters. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPDomainInfoResp. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPDomainInfoResp 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 EPPDomainInfoResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPDomainInfoResp with this
instance. |
EPPAuthInfo |
getAuthInfo()
Get authorization information |
java.lang.String |
getClientId()
Gets the domain owning Client Id. |
java.util.Vector |
getContacts()
Gets the Contacts |
java.lang.String |
getCreatedBy()
Gets Client Id that created the domain. |
java.util.Date |
getCreatedDate()
Gets the date and time the domain was created. |
java.util.Date |
getExpirationDate()
Gets the expiration date and time of the domain. |
java.util.Vector |
getHosts()
Get host names |
java.util.Date |
getLastTransferDate()
Gets the date and time of the last successful domain transfer. |
java.lang.String |
getLastUpdatedBy()
Gets the Client Id that last updated the domain. |
java.util.Date |
getLastUpdatedDate()
Gets the date and time of the last domain update. |
java.lang.String |
getName()
Gets the domain name |
java.lang.String |
getNamespace()
Gets the EPP command namespace associated with EPPDomainInfoResp. |
java.util.Vector |
getNses()
Gets the name servers. |
java.lang.String |
getRegistrant()
Get registrant |
java.lang.String |
getRoid()
Get roid. |
java.util.Vector |
getStatuses()
Get the current associated statuses |
java.lang.String |
getType()
Gets the EPP response type associated with EPPDomainInfoResp. |
void |
setAuthInfo(EPPAuthInfo newAuthInfo)
Set authorization information |
void |
setClientId(java.lang.String aClientId)
Sets the domain owning Client Id. |
void |
setContacts(java.util.Vector someContacts)
Sets the Contacts. |
void |
setCreatedBy(java.lang.String aCreatedBy)
Sets Client Id that created the domain. |
void |
setCreatedDate(java.util.Date aDate)
Sets the date and time the domain was created. |
void |
setExpirationDate(java.util.Date aExpirationDate)
Sets the expiration date and time of the domain. |
void |
setHosts(java.util.Vector newHosts)
Set host names |
void |
setLastTransferDate(java.util.Date aLastTransferDate)
Sets the last date and time the domain was successfully transferred. |
void |
setLastUpdatedBy(java.lang.String aLastUpdatedBy)
Sets the Client Id that last updated the domain. |
void |
setLastUpdatedDate(java.util.Date aLastUpdatedDate)
Sets the last date and time the domain was updated. |
void |
setName(java.lang.String aName)
Sets the domain name. |
void |
setNses(java.util.Vector aServers)
Sets the name servers. |
void |
setRegistrant(java.lang.String newRegistrant)
Set registrants. |
void |
setRoid(java.lang.String newRoid)
Set roid. |
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. |
| 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 EPPDomainInfoResp()
EPPDomainInfoResp default constructor. Must call required
setter methods before invoking encode, which
include:setName
setRoid
setClientId
setStatuses
setCreatedBy
setCreatedDate
setTransId
public EPPDomainInfoResp(EPPTransId aTransId,
java.lang.String aRoid,
java.lang.String aName,
java.lang.String aClientId,
java.util.Vector someStatuses,
java.lang.String aCreatedBy,
java.util.Date aCreatedDate,
EPPAuthInfo aAuthInfo)
EPPDomainInfoResp 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.aRoid - roidaName - Domain nameaClientId - Owning Client IdsomeStatuses - Current status descriptors associated with the
domain.aCreatedBy - Client Id of Registrar that created the domainaCreatedDate - Date the domain was createdaAuthInfo - Expirate date of the domain| Method Detail |
|---|
public java.util.Vector getHosts()
public java.util.Vector getNses()
String instances containing the fully qualified name of a
known name server host object, or EPPHostAttr instances
containing the fully qualified name of a host and optionally the host
IP addresses.
Vector of name server String instances
for host object references or EPPHostAttr
instances for host attribute values if exists.public java.util.Vector getStatuses()
public void setHosts(java.util.Vector newHosts)
newHosts - java.util.Vectorpublic void setNses(java.util.Vector aServers)
String instances containing the fully qualified name of a
known name server host object, or EPPHostAttr instances
containing the fully qualified name of a host and optionally the host
IP addresses.
aServers - Vector of name server String
instances for host object references or EPPHostAttr
instances for host attribute values.public void setStatuses(java.util.Vector newStatuses)
newStatuses - java.util.Vectorpublic java.lang.String getType()
EPPDomainInfoResp.
getType in class EPPResponseEPPDomainInfoResp.ELM_NAMEpublic java.lang.String getNamespace()
EPPDomainInfoResp.
getNamespace in interface EPPMessagegetNamespace in class EPPResponseEPPDomainMapFactory.NSpublic boolean equals(java.lang.Object aObject)
EPPDomainInfoResp with this
instance.
equals in class EPPResponseaObject - Object to compare with.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPDomainInfoResp.
clone in interface EPPCodecComponentclone in class EPPResponseEPPDomainInfoResp
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 getName()
null otherwise.public void setName(java.lang.String aName)
aName - Domain Namepublic java.lang.String getClientId()
public void setClientId(java.lang.String aClientId)
aClientId - Client Idpublic java.util.Vector getContacts()
EPPDomainContact instances if defined;
null otherwise.public void setContacts(java.util.Vector someContacts)
someContacts - - Vector of EPPDomainContact instancespublic java.lang.String getCreatedBy()
null otherwise.public void setCreatedBy(java.lang.String aCreatedBy)
aCreatedBy - Client Id that created the domain.public java.util.Date getCreatedDate()
null otherwise.public void setCreatedDate(java.util.Date aDate)
aDate - Date and time the domain was created.public java.util.Date getExpirationDate()
null otherwise.public void setExpirationDate(java.util.Date aExpirationDate)
aExpirationDate - Expiration date and time of the domain.public java.lang.String getLastUpdatedBy()
null otherwise.public void setLastUpdatedBy(java.lang.String aLastUpdatedBy)
aLastUpdatedBy - Client Id String that last updated the domain.public java.util.Date getLastUpdatedDate()
null if the domain has not been updated since
creation.
null otherwise.public void setLastUpdatedDate(java.util.Date aLastUpdatedDate)
aLastUpdatedDate - Date and time of the last domain update.public java.util.Date getLastTransferDate()
null if the domain 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 java.lang.String getRegistrant()
public void setRegistrant(java.lang.String newRegistrant)
newRegistrant - Stringpublic void setAuthInfo(EPPAuthInfo newAuthInfo)
newAuthInfo - EPPAuthInfopublic java.lang.String getRoid()
public void setRoid(java.lang.String newRoid)
newRoid - java.lang.String
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPDomainInfoResp instance.
doEncode in class EPPResponseaDocument - DOM Document that is being built. Used as an Element
factory.
EPPEncodeException - Unable to encode EPPDomainInfoResp
instance.
protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPDomainInfoResp attributes from the aElement
DOM Element tree.
doDecode in class EPPResponseaElement - Root DOM Element to decode
EPPDomainInfoResp from.
EPPDecodeException - Unable to decode aElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||