public class EPPOrgUpdateCmd extends EPPUpdateCmd
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPOrgUpdateCmd. |
static java.lang.String |
ELM_NAME
XML root tag for
EPPOrgUpdateCmd. |
extensions, OP_APPROVE, OP_CANCEL, OP_QUERY, OP_REJECT, OP_REQUEST, transId, TYPE_CHECK, TYPE_CREATE, TYPE_DELETE, TYPE_INFO, TYPE_LOGIN, TYPE_LOGOUT, TYPE_POLL, TYPE_RENEW, TYPE_TRANSFER, TYPE_UPDATE| Constructor and Description |
|---|
EPPOrgUpdateCmd()
EPPOrgUpdateCmd default constructor with the default form of
Form.LIST_FORM. |
EPPOrgUpdateCmd(java.lang.String aTransId)
EPPOrgUpdateCmd constructor that takes the client transaction
identifier. |
| Modifier and Type | Method and Description |
|---|---|
void |
addAddContact(EPPOrgContact aContact)
Adds an add contact to the list of add contacts.
|
void |
addAddRole(EPPOrgRole aRole)
Adds an add role to the list of add roles.
|
void |
addAddStatus(EPPOrgStatus aStatus)
Adds an add status to the list of add statuses.
|
void |
addPostalInfo(EPPOrgPostalDefinition aPostalInfo)
Adds a postal definition to the postal information for the org.
|
void |
addRemContact(EPPOrgContact aContact)
Adds a remove contact to the list of remove contacts.
|
void |
addRemRole(EPPOrgRole aRole)
Adds a remove role to the list of remove roles.
|
void |
addRemStatus(EPPOrgStatus aStatus)
Adds a remove status to the list of remove statuses.
|
java.lang.Object |
clone()
Clone
EPPOrgUpdateCmd. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPOrgUpdateCmd 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
EPPOrgUpdateCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPOrgUpdateCmd with this instance. |
java.util.List<EPPOrgContact> |
getAddContacts()
Gets the add contacts.
|
java.util.List<EPPOrgRole> |
getAddRoles()
Gets the add roles.
|
java.util.List<EPPOrgStatus> |
getAddStatuses()
Gets the add statuses.
|
java.lang.String |
getEmail() |
java.lang.String |
getFax() |
java.lang.String |
getFaxExt() |
java.lang.String |
getNamespace()
Gets the EPP command namespace associated with
EPPOrgUpdateCmd. |
java.lang.String |
getOrgId()
Gets the org identifier.
|
java.lang.String |
getParentId()
Gets the parent org identifier for a hierarchy of orgs.
|
java.util.List<EPPOrgPostalDefinition> |
getPostalInfo()
Gets the postal information for the org.
|
java.util.List<EPPOrgContact> |
getRemContacts()
Gets the remove contacts.
|
java.util.List<EPPOrgRole> |
getRemRoles()
Gets the remove roles.
|
java.util.List<EPPOrgStatus> |
getRemStatuses()
Gets the remove statuses.
|
java.lang.String |
getType()
Gets the EPP response type associated with
EPPOrgUpdateCmd. |
java.lang.String |
getUrl()
Gets the URL of the website of the org.
|
java.lang.String |
getVoice() |
java.lang.String |
getVoiceExt() |
boolean |
hasAddContacts()
Is there any add contacts set?
|
boolean |
hasAddRoles()
Is there any add roles set?
|
boolean |
hasAddStatuses()
Is there any add statuses set?
|
boolean |
hasEmail()
Has the email been set?
|
boolean |
hasFax()
Has the fax been set?
|
boolean |
hasFaxExt()
Has the fax extension been set?
|
boolean |
hasParentId()
Has the parent identifier been set?
|
boolean |
hasPostalInfo()
Is there any postal information set?
|
boolean |
hasRemContacts()
Is there any remove contacts set?
|
boolean |
hasRemRoles()
Is there any remove roles set?
|
boolean |
hasRemStatuses()
Is there any remove statuses set?
|
boolean |
hasUrl()
Has the url been set?
|
boolean |
hasVoice()
Has the voice been set?
|
boolean |
hasVoiceExt()
Has the voice extension been set?
|
void |
setAddContacts(java.util.List<EPPOrgContact> aContacts)
Sets the add contacts.
|
void |
setAddRoles(java.util.List<EPPOrgRole> aRoles)
Sets the add roles.
|
void |
setAddStatuses(java.util.List<EPPOrgStatus> aStatuses)
Sets the add statuses.
|
void |
setEmail(java.lang.String aEmail) |
void |
setFax(java.lang.String aFax) |
void |
setFaxExt(java.lang.String aFaxExt) |
void |
setOrgId(java.lang.String aOrgId)
Sets the org identifier.
|
void |
setParentId(java.lang.String aParentId) |
void |
setPostalInfo(java.util.List<EPPOrgPostalDefinition> aPostalInfo)
Sets the postal information for the org.
|
void |
setRemContacts(java.util.List<EPPOrgContact> aContacts)
Sets the remove contacts.
|
void |
setRemRoles(java.util.List<EPPOrgRole> aRoles)
Sets the remove roles.
|
void |
setRemStatuses(java.util.List<EPPOrgStatus> aStatuses)
Sets the remove statuses.
|
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. |
doGenDecode, doGenEncodeaddExtension, decode, encode, findDuplicateExtNamespaces, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransIdpublic static final java.lang.String ELM_LOCALNAME
EPPOrgUpdateCmd.public static final java.lang.String ELM_NAME
EPPOrgUpdateCmd.public EPPOrgUpdateCmd()
EPPOrgUpdateCmd default constructor with the default form of
Form.LIST_FORM.public EPPOrgUpdateCmd(java.lang.String aTransId)
EPPOrgUpdateCmd constructor that takes the client transaction
identifier.aTransId - Client transaction identifier.public java.lang.String getOrgId()
null otherwise.public void setOrgId(java.lang.String aOrgId)
aOrgId - The org identifierpublic boolean hasParentId()
true if the parent identifier has been set;
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 boolean hasVoice()
true if the voice has been set; false
otherwise.public java.lang.String getVoice()
public void setVoice(java.lang.String aVoice)
aVoice - the voice to setpublic boolean hasVoiceExt()
true if the voice extension has been set;
false otherwise.public java.lang.String getVoiceExt()
public void setVoiceExt(java.lang.String aVoiceExt)
aVoiceExt - the voiceExt to setpublic boolean hasFax()
true if the fax has been set; false
otherwise.public java.lang.String getFax()
public void setFax(java.lang.String aFax)
aFax - the fax to setpublic boolean hasFaxExt()
true if the fax extension has been set;
false otherwise.public java.lang.String getFaxExt()
public void setFaxExt(java.lang.String aFaxExt)
aFaxExt - the faxExt to setpublic boolean hasEmail()
true if the email has been set; false
otherwise.public java.lang.String getEmail()
public void setEmail(java.lang.String aEmail)
aEmail - the email to setpublic boolean hasUrl()
true if the url has been set; false
otherwise.public java.lang.String getUrl()
public void setUrl(java.lang.String aUrl)
aUrl - URL of the website of the org.public boolean hasAddContacts()
true if there is at least one add
EPPOrgContact set; false otherwise.public void addAddContact(EPPOrgContact aContact)
aContact - Contact to add to the list of add contacts.public java.util.List<EPPOrgContact> getAddContacts()
public void setAddContacts(java.util.List<EPPOrgContact> aContacts)
aContacts - List of add contactspublic boolean hasRemContacts()
true if there is at least one remove
EPPOrgContact set; false otherwise.public void addRemContact(EPPOrgContact aContact)
aContact - Contact to add to the list of remove contacts.public java.util.List<EPPOrgContact> getRemContacts()
public void setRemContacts(java.util.List<EPPOrgContact> aContacts)
aContacts - List of remove contactspublic boolean hasAddRoles()
true if there is at least one add EPPOrgRole
set; false otherwise.public void addAddRole(EPPOrgRole aRole)
aRole - Role to add to the list of add roles.public java.util.List<EPPOrgRole> getAddRoles()
public void setAddRoles(java.util.List<EPPOrgRole> aRoles)
aRoles - List of add rolespublic boolean hasRemRoles()
true if there is at least one remove
EPPOrgRole set; false otherwise.public void addRemRole(EPPOrgRole aRole)
aRole - Role to add to the list of remove roles.public java.util.List<EPPOrgRole> getRemRoles()
public void setRemRoles(java.util.List<EPPOrgRole> aRoles)
aRoles - List of remove rolespublic boolean hasAddStatuses()
true if there is at least one add
EPPOrgStatus set; false otherwise.public void addAddStatus(EPPOrgStatus aStatus)
aStatus - Status to add to the list of add statuses.public java.util.List<EPPOrgStatus> getAddStatuses()
public void setAddStatuses(java.util.List<EPPOrgStatus> aStatuses)
aStatuses - List of add statusespublic boolean hasRemStatuses()
true if there is at least one remove
EPPOrgStatus set; false otherwise.public void addRemStatus(EPPOrgStatus aStatus)
aStatus - Status to add to the list of remove statuses.public java.util.List<EPPOrgStatus> getRemStatuses()
public void setRemStatuses(java.util.List<EPPOrgStatus> aStatuses)
aStatuses - List of remove statusesprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPOrgUpdateCmd instance.doEncode in class EPPUpdateCmdaDocument - DOM Document that is being built. Used as an Element factory.EPPEncodeException - Unable to encode EPPOrgUpdateCmd instance.protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPOrgUpdateCmd attributes from the aElement DOM
Element tree.doDecode in class EPPUpdateCmdaElement - Root DOM Element to decode EPPOrgUpdateCmd from.EPPDecodeException - Unable to decode aElementpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPOrgUpdateCmd.clone in interface EPPCodecComponentclone in class EPPCommandEPPOrgUpdateCmdjava.lang.CloneNotSupportedException - standard Object.clone exceptionpublic java.lang.String getType()
EPPOrgUpdateCmd.getType in class EPPUpdateCmdEPPOrgUpdateCmd.ELM_NAMEpublic java.lang.String getNamespace()
EPPOrgUpdateCmd.getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPCommandEPPOrgMapFactory.NSpublic boolean equals(java.lang.Object aObject)
EPPOrgUpdateCmd with this instance.equals in class EPPUpdateCmdaObject - 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 EPPCommandString if successful; ERROR
otherwise.