public class EPPOrgInfoResp extends EPPResponse
EPPOrgInfoCmd,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPOrgInfoResp. |
static java.lang.String |
ELM_NAME
XML root tag for
EPPOrgInfoResp. |
extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED| Constructor and Description |
|---|
EPPOrgInfoResp()
EPPOrgInfoResp default constructor. |
EPPOrgInfoResp(EPPTransId aTransId)
EPPOrgInfoResp constructor that only takes the transaction
identifier. |
EPPOrgInfoResp(EPPTransId aTransId,
java.lang.String aOrgId)
EPPOrgInfoResp constructor that only takes the transaction
identifier and the org identifier. |
| Modifier and Type | Method and Description |
|---|---|
void |
addContact(EPPOrgContact aContact)
Adds a contact to the list of contacts.
|
void |
addPostalInfo(EPPOrgPostalDefinition aPostalInfo)
Adds a postal definition to the postal information for the org.
|
void |
addRole(EPPOrgRole aRole)
Add a role to list of org roles.
|
void |
addStatus(EPPOrgStatus aStatus)
Add a status to list of org statuses.
|
java.lang.Object |
clone()
Clone
EPPOrgInfoResp. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPOrgInfoResp 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
EPPOrgInfoResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPOrgInfoResp with this instance. |
java.lang.String |
getClientId() |
java.util.List<EPPOrgContact> |
getContacts() |
java.lang.String |
getCreatedBy() |
java.util.Date |
getCreatedDate() |
java.lang.String |
getEmail() |
java.lang.String |
getFax() |
java.lang.String |
getFaxExt() |
java.lang.String |
getLastUpdatedBy() |
java.util.Date |
getLastUpdatedDate()
Gets the last updated date.
|
java.lang.String |
getNamespace()
Gets the EPP command namespace associated with
EPPOrgInfoResp
. |
java.lang.String |
getOrgId()
Gets the org identifier.
|
java.lang.String |
getParentId()
Gets the parent organization id.
|
java.util.List<EPPOrgPostalDefinition> |
getPostalInfo()
Gets the postal information for the org.
|
java.lang.String |
getRoid() |
java.util.List<EPPOrgRole> |
getRoles()
Gets the roles of the org.
|
java.util.List<EPPOrgStatus> |
getStatuses()
Gets the statuses of the org.
|
java.lang.String |
getType()
Gets the EPP response type associated with
EPPOrgInfoResp. |
java.lang.String |
getUrl()
Gets the URL of the website of the org.
|
java.lang.String |
getVoice() |
java.lang.String |
getVoiceExt() |
boolean |
hasContacts()
Is there any contacts set?
|
boolean |
hasParentId()
Is the parentId defined?
|
boolean |
hasPostalInfo()
Is there any postal information set?
|
boolean |
hasRole()
Is there at least one role?
|
boolean |
hasStatus()
Is there at least one status?
|
void |
setClientId(java.lang.String aClientId) |
void |
setContacts(java.util.List<EPPOrgContact> aContacts) |
void |
setCreatedBy(java.lang.String aCreatedBy) |
void |
setCreatedDate(java.util.Date aCreatedDate) |
void |
setEmail(java.lang.String aEmail) |
void |
setFax(java.lang.String aFax) |
void |
setFaxExt(java.lang.String aFaxExt) |
void |
setLastUpdatedBy(java.lang.String aLastUpdatedBy) |
void |
setLastUpdatedDate(java.util.Date aLastUpdatedDate)
Sets the last updated date.
|
void |
setOrgId(java.lang.String aOrgId)
Sets the org identifier.
|
void |
setParentId(java.lang.String aParentId)
Sets the parent organization id.
|
void |
setPostalInfo(java.util.List<EPPOrgPostalDefinition> aPostalInfo)
Sets the postal information for the org.
|
void |
setRoid(java.lang.String aRoid) |
void |
setRoles(java.util.List<EPPOrgRole> aRoles)
Sets the roles of the org.
|
void |
setStatuses(java.util.List<EPPOrgStatus> aStatuses)
Sets the statuses of the org.
|
void |
setUrl(java.lang.String aUrl)
Sets the URL of the website of the org.
|
void |
setVoice(java.lang.String aVoice) |
void |
setVoiceExt(java.lang.String aVoiceExt) |
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, setTransIdpublic static final java.lang.String ELM_LOCALNAME
EPPOrgInfoResp.public static final java.lang.String ELM_NAME
EPPOrgInfoResp.public EPPOrgInfoResp()
EPPOrgInfoResp default constructor.public EPPOrgInfoResp(EPPTransId aTransId)
EPPOrgInfoResp constructor that only takes the transaction
identifier.aTransId - Transaction Id associated with response.public EPPOrgInfoResp(EPPTransId aTransId, java.lang.String aOrgId)
EPPOrgInfoResp constructor that only takes the transaction
identifier and the org identifier.aTransId - Transaction Id associated with command. Set to null
if a client transaction identifier is not desired.aOrgId - Org identifierpublic java.lang.String getOrgId()
null otherwise.public void setOrgId(java.lang.String aOrgId)
aOrgId - The org identifierpublic java.lang.String getRoid()
public void setRoid(java.lang.String aRoid)
aRoid - the roid to setpublic boolean hasRole()
true if there at least one role; false
otherwise.public java.util.List<EPPOrgRole> getRoles()
public void setRoles(java.util.List<EPPOrgRole> aRoles)
aRoles - Organization rolespublic void addRole(EPPOrgRole aRole)
aRole - Org role to add.public boolean hasStatus()
true if there at least one status; false
otherwise.public java.util.List<EPPOrgStatus> getStatuses()
public void setStatuses(java.util.List<EPPOrgStatus> aStatuses)
aStatuses - Organization statusespublic void addStatus(EPPOrgStatus aStatus)
aStatus - Org status to add.public boolean hasParentId()
true if the parentId is defined; false
otherwise.public java.lang.String getParentId()
null
otherwise.public void setParentId(java.lang.String aParentId)
aParentId - the parentId to setpublic boolean hasPostalInfo()
true if there is at least one
EPPOrgPostalDefinition set in the postal information;
false otherwise.public void addPostalInfo(EPPOrgPostalDefinition aPostalInfo)
aPostalInfo - Postal definition to add to the postal information.public java.util.List<EPPOrgPostalDefinition> getPostalInfo()
EPPOrgPostalDefinition objects in the postal information list.public void setPostalInfo(java.util.List<EPPOrgPostalDefinition> aPostalInfo)
EPPOrgPostalDefinition objects in the postal information list.aPostalInfo - Postal information for the org.public java.lang.String getVoice()
public void setVoice(java.lang.String aVoice)
aVoice - the voice to setpublic java.lang.String getVoiceExt()
public void setVoiceExt(java.lang.String aVoiceExt)
aVoiceExt - the voiceExt to setpublic java.lang.String getFax()
public void setFax(java.lang.String aFax)
aFax - the fax to setpublic java.lang.String getFaxExt()
public void setFaxExt(java.lang.String aFaxExt)
aFaxExt - the faxExt to setpublic java.lang.String getEmail()
public void setEmail(java.lang.String aEmail)
aEmail - the email to setpublic java.lang.String getUrl()
public void setUrl(java.lang.String aUrl)
aUrl - URL of the website of the org.public boolean hasContacts()
true if there is at least one EPPOrgContact
set; false otherwise.public void addContact(EPPOrgContact aContact)
aContact - Contact add to the list of contacts.public java.util.List<EPPOrgContact> getContacts()
public void setContacts(java.util.List<EPPOrgContact> aContacts)
aContacts - the contacts to setpublic java.lang.String getClientId()
public void setClientId(java.lang.String aClientId)
aClientId - the clientId to setpublic java.lang.String getCreatedBy()
public void setCreatedBy(java.lang.String aCreatedBy)
aCreatedBy - the createdBy to setpublic java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date aCreatedDate)
aCreatedDate - the createdDate to setpublic java.lang.String getLastUpdatedBy()
public void setLastUpdatedBy(java.lang.String aLastUpdatedBy)
aLastUpdatedBy - the lastUpdatedBy to setpublic java.util.Date getLastUpdatedDate()
null
otherwise.public void setLastUpdatedDate(java.util.Date aLastUpdatedDate)
aLastUpdatedDate - Last updated date and timeprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPOrgInfoResp instance.doEncode in class EPPResponseaDocument - DOM Document that is being built. Used as an Element factory.EPPEncodeException - Unable to encode EPPOrgInfoResp instance.protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPOrgInfoResp attributes from the aElement DOM
Element tree.doDecode in class EPPResponseaElement - Root DOM Element to decode EPPOrgInfoResp from.EPPDecodeException - Unable to decode aElementpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPOrgInfoResp.clone in interface EPPCodecComponentclone in class EPPResponseEPPOrgInfoRespjava.lang.CloneNotSupportedException - standard Object.clone exceptionpublic java.lang.String getType()
EPPOrgInfoResp.getType in class EPPResponseEPPOrgInfoResp.ELM_NAMEpublic java.lang.String getNamespace()
EPPOrgInfoResp
.getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPResponseEPPOrgMapFactory.NSpublic boolean equals(java.lang.Object aObject)
EPPOrgInfoResp with this instance.equals in class EPPResponseaObject - Object to compare with.true if this object is the same as the aObject argument;
false otherwisepublic 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.Copyright © VeriSign Inc. All Rights Reserved.