|
||||||||||
| 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.EPPCreateCmd
com.verisign.epp.codec.reseller.EPPResellerCreateCmd
public class EPPResellerCreateCmd
Command used to create a reseller object.
EPPResellerCreateResp,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPResellerCreateCmd. |
static java.lang.String |
ELM_NAME
XML root tag for EPPResellerCreateCmd. |
| 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 | |
|---|---|
EPPResellerCreateCmd()
EPPResellerCreateCmd default constructor with the default
form of Form.LIST_FORM. |
|
EPPResellerCreateCmd(java.lang.String aTransId)
EPPResellerCreateCmd constructor that takes the client
transaction identifier. |
|
| Method Summary | |
|---|---|
void |
addContact(EPPResellerContact aContact)
Adds a contact to the list of contacts. |
void |
addPostalInfo(EPPResellerPostalDefinition aPostalInfo)
Adds a postal definition to the postal information for the reseller. |
java.lang.Object |
clone()
Clone EPPResellerCreateCmd. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPResellerCreateCmd 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 EPPResellerCreateCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPResellerCreateCmd with this
instance. |
java.util.List<EPPResellerContact> |
getContacts()
Gets the list of reseller contacts. |
EPPResellerDisclose |
getDisclose()
Gets the disclosure information. |
java.lang.String |
getEmail()
|
java.lang.String |
getFax()
|
java.lang.String |
getFaxExt()
|
java.lang.String |
getNamespace()
Gets the EPP command namespace associated with EPPResellerCreateCmd. |
java.lang.String |
getParentId()
|
java.util.List<EPPResellerPostalDefinition> |
getPostalInfo()
Gets the postal information for the reseller. |
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 EPPResellerCreateCmd. |
java.lang.String |
getUrl()
Gets the URL of the website of the reseller. |
java.lang.String |
getVoice()
|
java.lang.String |
getVoiceExt()
|
boolean |
hasContacts()
Is there any contacts set? |
boolean |
hasPostalInfo()
Is there any postal information set? |
void |
setContacts(java.util.List<EPPResellerContact> aContacts)
Sets the list of reseller contacts. |
void |
setDisclose(EPPResellerDisclose aDisclose)
Sets the disclosure information. |
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 |
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.EPPCreateCmd |
|---|
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
EPPResellerCreateCmd.
public static final java.lang.String ELM_NAME
EPPResellerCreateCmd.
| Constructor Detail |
|---|
public EPPResellerCreateCmd()
EPPResellerCreateCmd default constructor with the default
form of Form.LIST_FORM.
public EPPResellerCreateCmd(java.lang.String aTransId)
EPPResellerCreateCmd 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 State getState()
public void setState(State aState)
aState - Operation state. If null the code will be set to
the default of State.OK.public java.lang.String getParentId()
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 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 reseller.public boolean hasContacts()
true if there is at least one
EPPResellerContact set; false otherwise.public void addContact(EPPResellerContact aContact)
aContact - Contact add to the list of contacts.public java.util.List<EPPResellerContact> getContacts()
public void setContacts(java.util.List<EPPResellerContact> aContacts)
aContacts - List of reseller contacts. If null will set to an
empty list.public EPPResellerDisclose getDisclose()
null otherwise.public void setDisclose(EPPResellerDisclose aDisclose)
aDisclose - Disclosure information
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPResellerCreateCmd instance.
doEncode in class EPPCreateCmdaDocument - DOM Document that is being built. Used as an Element factory.
EPPEncodeException - Unable to encode EPPResellerCreateCmd instance.
protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPResellerCreateCmd attributes from the aElement
DOM Element tree.
doDecode in class EPPCreateCmdaElement - Root DOM Element to decode EPPResellerCreateCmd
from.
EPPDecodeException - Unable to decode aElement
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPResellerCreateCmd.
clone in interface EPPCodecComponentclone in class EPPCommandEPPResellerCreateCmd
java.lang.CloneNotSupportedException - standard Object.clone exceptionpublic java.lang.String getType()
EPPResellerCreateCmd.
getType in class EPPCreateCmdEPPResellerCreateCmd.ELM_NAMEpublic java.lang.String getNamespace()
EPPResellerCreateCmd.
getNamespace in interface EPPMessagegetNamespace in class EPPCommandEPPResellerMapFactory.NSpublic boolean equals(java.lang.Object aObject)
EPPResellerCreateCmd with this
instance.
equals in class EPPCreateCmdaObject - 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 | |||||||||