|
||||||||||
| 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.EPPCheckCmd
com.verisign.epp.codec.reseller.EPPResellerCheckCmd
public class EPPResellerCheckCmd
Represents a reseller <check> command that enables checking on the availability of a set of client-specified but server-unique reseller identifiers.
EPPResellerCheckResp,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPResellerCheckCmd. |
static java.lang.String |
ELM_NAME
XML root tag for EPPResellerCheckCmd. |
| 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 | |
|---|---|
EPPResellerCheckCmd()
EPPResellerCheckCmd default constructor. |
|
EPPResellerCheckCmd(java.lang.String aTransId)
EPPResellerCheckCmd constructor that only takes the client
transaction identifier |
|
EPPResellerCheckCmd(java.lang.String aTransId,
java.lang.String aResellerId)
EPPResellerCheckCmd constructor for setting an individual
reseller identifier to check. |
|
| Method Summary | |
|---|---|
void |
addResellerId(java.lang.String aResellerId)
Append a reseller identifier to the list of reseller identifiers to check. |
java.lang.Object |
clone()
Clone EPPResellerCheckCmd. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPResellerCheckCmd 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 EPPResellerCheckCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPResellerCheckCmd with this
instance. |
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with EPPResellerCheckCmd. |
java.util.List<java.lang.String> |
getResellerIds()
Get the list of reseller identifiers to check. |
boolean |
hasResellerIds()
Are any reseller identifiers defined in the list of reseller identifiers? |
void |
setResellerId(java.lang.String aResellerId)
Set an individual reseller identifier to check. |
void |
setResellerIds(java.util.List<java.lang.String> aResellerIds)
Set the list of reseller identifiers to check. |
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.EPPCheckCmd |
|---|
doGenDecode, doGenEncode, getType |
| 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
EPPResellerCheckCmd.
public static final java.lang.String ELM_NAME
EPPResellerCheckCmd.
| Constructor Detail |
|---|
public EPPResellerCheckCmd()
EPPResellerCheckCmd default constructor.
public EPPResellerCheckCmd(java.lang.String aTransId)
EPPResellerCheckCmd constructor that only takes the client
transaction identifier
aTransId - Transaction Id associated with command.
public EPPResellerCheckCmd(java.lang.String aTransId,
java.lang.String aResellerId)
EPPResellerCheckCmd constructor for setting an individual
reseller identifier to check.
aTransId - Transaction Id associated with command.aResellerId - Reseller identifier to check| Method Detail |
|---|
public java.lang.String getNamespace()
EPPResellerCheckCmd.
getNamespace in interface EPPMessagegetNamespace in class EPPCommandEPPResellerMapFactory.NSpublic boolean hasResellerIds()
true if there is at least one reseller identifier
defined; false otherwise.public java.util.List<java.lang.String> getResellerIds()
List of reseller identifier String'spublic void setResellerIds(java.util.List<java.lang.String> aResellerIds)
aResellerIds - List of reseller identifier String'spublic void setResellerId(java.lang.String aResellerId)
aResellerId - Reseller identifier to checkpublic void addResellerId(java.lang.String aResellerId)
aResellerId - Reseller identifier to check
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPResellerCheckCmd instance.
doEncode in class EPPCheckCmdaDocument - DOM Document that is being built. Used as an Element factory.
EPPResellerCheckCmd instance.
EPPEncodeException - Unable to encode EPPResellerCheckCmd
instance.
protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPResellerCheckCmd attributes from the aElement
DOM Element tree.
doDecode in class EPPCheckCmdaElement - Root DOM Element to decode EPPResellerCheckCmd
from.
EPPDecodeException - Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPResellerCheckCmd with this
instance.
equals in class EPPCheckCmdaObject - Object to compare with.
true if this object is the same as the aObject argument;
false otherwise.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPResellerCheckCmd.
clone in interface EPPCodecComponentclone in class EPPCommandEPPResellerCheckCmd
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 EPPCommandString if successful;
ERROR otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||