|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.reseller.EPPResellerCheckResp
public class EPPResellerCheckResp
Represents a reseller <check> response that returns the availability of a set of client-specified but server-unique reseller identifiers.
EPPResellerCheckCmd,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPResellerCheckResp. |
static java.lang.String |
ELM_NAME
XML root tag for EPPResellerCheckCmd. |
| Fields inherited from class com.verisign.epp.codec.gen.EPPResponse |
|---|
extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED |
| Constructor Summary | |
|---|---|
EPPResellerCheckResp()
EPPResellerCheckResp default constructor. |
|
EPPResellerCheckResp(EPPTransId aTransId)
EPPResellerCheckResp constructor that only takes the
transaction identifier. |
|
EPPResellerCheckResp(EPPTransId aTransId,
EPPResellerCheckResult aResult)
EPPResellerCheckResp constructor that takes an individual
result. |
|
| Method Summary | |
|---|---|
void |
addCheckResult(EPPResellerCheckResult aResult)
Append a result to the list of results. |
java.lang.Object |
clone()
Clone EPPResellerCheckResp. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPResellerCheckResp 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 EPPResellerCheckResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPResellerCheckResp with this
instance. |
java.util.List<EPPResellerCheckResult> |
getCheckResults()
Get the list of results. |
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with EPPResellerCheckResp. |
java.lang.String |
getType()
Get the EPP response type associated with EPPResellerCheckResp. |
boolean |
hasCheckResults()
Are any results defined in the list of results? |
void |
setCheckResult(EPPResellerCheckResult aResult)
Set an individual check result. |
void |
setCheckResults(java.util.List<EPPResellerCheckResult> aResults)
Set the list of results. |
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.EPPResponse |
|---|
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, 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
EPPResellerCheckResp.
public static final java.lang.String ELM_NAME
EPPResellerCheckCmd.
| Constructor Detail |
|---|
public EPPResellerCheckResp()
EPPResellerCheckResp default constructor. It will set
results attribute to an empty List.
public EPPResellerCheckResp(EPPTransId aTransId)
EPPResellerCheckResp constructor that only takes the
transaction identifier.
aTransId - transaction Id associated with response
public EPPResellerCheckResp(EPPTransId aTransId,
EPPResellerCheckResult aResult)
EPPResellerCheckResp constructor that takes an individual
result. Add more tables using addCheckResult(EPPResellerCheckResult).
aTransId - transaction Id associated with responseaResult - An individual check result| Method Detail |
|---|
public boolean hasCheckResults()
true if there is at least one result defined;
false otherwise.public java.util.List<EPPResellerCheckResult> getCheckResults()
List of resultspublic void setCheckResults(java.util.List<EPPResellerCheckResult> aResults)
aResults - List of resultspublic void setCheckResult(EPPResellerCheckResult aResult)
aResult - An individual check result.public void addCheckResult(EPPResellerCheckResult aResult)
aResult - A result to add to the list of results
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPResellerCheckResp instance.
doEncode in class EPPResponseaDocument - DOM Document that is being built. Used as an Element factory.
EPPResellerCheckResp instance.
EPPEncodeException - Unable to encode EPPResellerCheckResp
instance.
protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPResellerCheckResp attributes from the aElement
DOM Element tree.
doDecode in class EPPResponseaElement - Root DOM Element to decode EPPResellerCheckResp
from.
EPPDecodeException - Unable to decode aElementpublic java.lang.String getType()
EPPResellerCheckResp.
getType in class EPPResponseEPPResellerCheckResp.ELM_NAMEpublic java.lang.String getNamespace()
EPPResellerCheckResp.
getNamespace in interface EPPMessagegetNamespace in class EPPResponseEPPRegistryMapFactory.NSpublic boolean equals(java.lang.Object aObject)
EPPResellerCheckResp with this
instance.
equals in class EPPResponseaObject - 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
EPPResellerCheckResp.
clone in interface EPPCodecComponentclone in class EPPResponseEPPResellerCheckResp
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 EPPResponseString if successful;
ERROR otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||