|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPUpdateCmd
com.verisign.epp.codec.reseller.EPPResellerUpdateCmd
public class EPPResellerUpdateCmd
Command used to update a reseller object.
| Field Summary | |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPResellerUpdateCmd. |
static java.lang.String |
ELM_NAME
XML root tag for EPPResellerUpdateCmd. |
| Fields inherited from class com.verisign.epp.codec.gen.EPPCommand |
|---|
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 Summary | |
|---|---|
EPPResellerUpdateCmd()
EPPResellerUpdateCmd default constructor with the default
form of Form.LIST_FORM. |
|
EPPResellerUpdateCmd(java.lang.String aTransId)
EPPResellerUpdateCmd constructor that takes the client transaction
identifier. |
|
| Method Summary | |
|---|---|
void |
addAddContact(EPPResellerContact aContact)
Adds an add contact to the list of add contacts. |
void |
addPostalInfo(EPPResellerPostalDefinition aPostalInfo)
Adds a postal definition to the postal information for the reseller. |
void |
addRemContact(EPPResellerContact aContact)
Adds a remove contact to the list of remove contacts. |
java.lang.Object |
clone()
Clone EPPResellerUpdateCmd. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPResellerUpdateCmd 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 EPPResellerUpdateCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPResellerUpdateCmd with this
instance. |
java.util.List<EPPResellerContact> |
getAddContacts()
Gets the add contacts. |
EPPResellerDisclose |
getDisclose()
Gets the disclose definition. |
java.lang.String |
getEmail()
|
java.lang.String |
getFax()
|
java.lang.String |
getFaxExt()
|
java.lang.String |
getNamespace()
Gets the EPP command namespace associated with EPPResellerUpdateCmd. |
java.lang.String |
getParentId()
Gets the parent reseller identifier for a hierarchy of resellers. |
java.util.List<EPPResellerPostalDefinition> |
getPostalInfo()
Gets the postal information for the reseller. |
java.util.List<EPPResellerContact> |
getRemContacts()
Gets the remove contacts. |
java.lang.String |
getResellerId()
Gets the reseller identifier. |
State |
getState()
Gets the operational state of the reseller. |
java.lang.String |
getType()
Gets the EPP response type associated with EPPResellerUpdateCmd. |
java.lang.String |
getUrl()
Gets the URL of the website of the reseller. |
java.lang.String |
getVoice()
|
java.lang.String |
getVoiceExt()
|
boolean |
hasAddContacts()
Is there any add contacts set? |
boolean |
hasDisclose()
Has the disclose been 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 |
hasState()
Has the state been 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<EPPResellerContact> aContacts)
Sets the add contacts. |
void |
setDisclose(EPPResellerDisclose aDisclose)
Sets the disclose definition. |
void |
setEmail(java.lang.String aEmail)
|
void |
setFax(java.lang.String aFax)
|
void |
setFaxExt(java.lang.String aFaxExt)
|
void |
setParentId(java.lang.String aParentId)
|
void |
setPostalInfo(java.util.List<EPPResellerPostalDefinition> aPostalInfo)
Sets the postal information for the reseller. |
void |
setRemContacts(java.util.List<EPPResellerContact> aContacts)
Sets the remove contacts. |
void |
setResellerId(java.lang.String aResellerId)
Sets the reseller identifier. |
void |
setState(State aState)
Sets the operational state of the reseller. |
void |
setUrl(java.lang.String aUrl)
Sets the URL of the website of the reseller. |
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. |
| Methods inherited from class com.verisign.epp.codec.gen.EPPUpdateCmd |
|---|
doGenDecode, doGenEncode |
| Methods inherited from class com.verisign.epp.codec.gen.EPPCommand |
|---|
addExtension, decode, encode, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ELM_LOCALNAME
EPPResellerUpdateCmd.
public static final java.lang.String ELM_NAME
EPPResellerUpdateCmd.
| Constructor Detail |
|---|
public EPPResellerUpdateCmd()
EPPResellerUpdateCmd default constructor with the default
form of Form.LIST_FORM.
public EPPResellerUpdateCmd(java.lang.String aTransId)
EPPResellerUpdateCmd constructor that takes the client transaction
identifier.
aTransId - Client transaction identifier.| Method Detail |
|---|
public java.lang.String getResellerId()
null otherwise.public void setResellerId(java.lang.String aResellerId)
aResellerId - The reseller identifierpublic boolean hasState()
true if the state has been set; false
otherwise.public State getState()
null otherwise.public void setState(State aState)
aState - Operation statepublic 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
EPPResellerPostalDefinition set in the postal information;
false otherwise.public void addPostalInfo(EPPResellerPostalDefinition aPostalInfo)
aPostalInfo - Postal definition to add to the postal information.public java.util.List<EPPResellerPostalDefinition> getPostalInfo()
EPPResellerPostalDefinition objects in the postal information
list.
public void setPostalInfo(java.util.List<EPPResellerPostalDefinition> aPostalInfo)
EPPResellerPostalDefinition objects in the postal information
list.
aPostalInfo - Postal information for the reseller.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 reseller.public boolean hasAddContacts()
true if there is at least one add
EPPResellerContact set; false otherwise.public void addAddContact(EPPResellerContact aContact)
aContact - Contact to add to the list of add contacts.public java.util.List<EPPResellerContact> getAddContacts()
public void setAddContacts(java.util.List<EPPResellerContact> aContacts)
aContacts - List of add contactspublic boolean hasRemContacts()
true if there is at least one remove
EPPResellerContact set; false otherwise.public void addRemContact(EPPResellerContact aContact)
aContact - Contact to add to the list of remove contacts.public java.util.List<EPPResellerContact> getRemContacts()
public void setRemContacts(java.util.List<EPPResellerContact> aContacts)
aContacts - List of remove contactspublic boolean hasDisclose()
true if the disclose has been set;
false otherwise.public EPPResellerDisclose getDisclose()
null other.public void setDisclose(EPPResellerDisclose aDisclose)
aDisclose - Disclose definition
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPResellerUpdateCmd instance.
doEncode in class EPPUpdateCmdaDocument - DOM Document that is being built. Used as an Element factory.
EPPEncodeException - Unable to encode EPPResellerUpdateCmd instance.
protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPResellerUpdateCmd attributes from the aElement
DOM Element tree.
doDecode in class EPPUpdateCmdaElement - Root DOM Element to decode EPPResellerUpdateCmd
from.
EPPDecodeException - Unable to decode aElement
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPResellerUpdateCmd.
clone in interface EPPCodecComponentclone in class EPPCommandEPPResellerUpdateCmd
java.lang.CloneNotSupportedException - standard Object.clone exceptionpublic java.lang.String getType()
EPPResellerUpdateCmd.
getType in class EPPUpdateCmdEPPResellerUpdateCmd.ELM_NAMEpublic java.lang.String getNamespace()
EPPResellerUpdateCmd.
getNamespace in interface EPPMessagegetNamespace in class EPPCommandEPPResellerMapFactory.NSpublic boolean equals(java.lang.Object aObject)
EPPResellerUpdateCmd 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||