public class EPPOrgCheckResp extends EPPResponse
EPPOrgCheckCmd,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPOrgCheckResp. |
static java.lang.String |
ELM_NAME
XML root tag for
EPPOrgCheckResp. |
extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED| Constructor and Description |
|---|
EPPOrgCheckResp()
EPPOrgCheckResp default constructor. |
EPPOrgCheckResp(EPPTransId aTransId)
EPPOrgCheckResp constructor that only takes the
transaction identifier. |
EPPOrgCheckResp(EPPTransId aTransId,
EPPOrgCheckResult aResult)
EPPOrgCheckResp constructor that takes an individual
result. |
| Modifier and Type | Method and Description |
|---|---|
void |
addCheckResult(EPPOrgCheckResult aResult)
Append a result to the list of results.
|
java.lang.Object |
clone()
Clone
EPPOrgCheckResp. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPOrgCheckResp 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
EPPOrgCheckResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPOrgCheckResp with this
instance. |
java.util.List<EPPOrgCheckResult> |
getCheckResults()
Gets the list of results.
|
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with
EPPOrgCheckResp. |
java.lang.String |
getType()
Get the EPP response type associated with
EPPOrgCheckResp. |
boolean |
hasCheckResults()
Are any results defined in the list of results?
|
void |
setCheckResult(EPPOrgCheckResult aResult)
Set an individual check result.
|
void |
setCheckResults(java.util.List<EPPOrgCheckResult> aResults)
Sets 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. |
addExtension, decode, encode, findDuplicateExtNamespaces, 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, setTransIdpublic static final java.lang.String ELM_LOCALNAME
EPPOrgCheckResp.public static final java.lang.String ELM_NAME
EPPOrgCheckResp.public EPPOrgCheckResp()
EPPOrgCheckResp default constructor. It will set
results attribute to an empty List.public EPPOrgCheckResp(EPPTransId aTransId)
EPPOrgCheckResp constructor that only takes the
transaction identifier.aTransId - transaction Id associated with responsepublic EPPOrgCheckResp(EPPTransId aTransId, EPPOrgCheckResult aResult)
EPPOrgCheckResp constructor that takes an individual
result. Add more tables using addCheckResult(EPPOrgCheckResult).aTransId - transaction Id associated with responseaResult - An individual check resultpublic boolean hasCheckResults()
true if there is at least one result defined;
false otherwise.public java.util.List<EPPOrgCheckResult> getCheckResults()
List of resultspublic void setCheckResults(java.util.List<EPPOrgCheckResult> aResults)
aResults - List of resultspublic void setCheckResult(EPPOrgCheckResult aResult)
aResult - An individual check result.public void addCheckResult(EPPOrgCheckResult aResult)
aResult - A result to add to the list of resultsprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPOrgCheckResp instance.doEncode in class EPPResponseaDocument - DOM Document that is being built. Used as an Element factory.EPPOrgCheckResp instance.EPPEncodeException - Unable to encode EPPOrgCheckResp
instance.protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPOrgCheckResp attributes from the aElement
DOM Element tree.doDecode in class EPPResponseaElement - Root DOM Element to decode EPPOrgCheckResp
from.EPPDecodeException - Unable to decode aElementpublic java.lang.String getType()
EPPOrgCheckResp.getType in class EPPResponseEPPOrgCheckResp.ELM_NAMEpublic java.lang.String getNamespace()
EPPOrgCheckResp.getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPResponseEPPRegistryMapFactory.NSpublic boolean equals(java.lang.Object aObject)
EPPOrgCheckResp with this
instance.equals in class EPPResponseaObject - Object to compare with.true if this object is the same as the aObject argument;
false otherwisepublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPOrgCheckResp.clone in interface EPPCodecComponentclone in class EPPResponseEPPOrgCheckRespjava.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.