|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.reseller.EPPResellerCheckResult
public class EPPResellerCheckResult
EPPResellerCheckResult is used to represent the for the check of
an individual reseller. The reseller information includes the reseller
identifier, whether the reseller identifier is available, and optionally the
reason that the reseller identifier is not available.
| Field Summary | |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPResellerCheckResult. |
static java.lang.String |
ELM_NAME
XML root tag for EPPResellerCheckResult. |
| Constructor Summary | |
|---|---|
EPPResellerCheckResult()
Default constructor for EPPResellerCheckResult. |
|
EPPResellerCheckResult(java.lang.String aResellerId,
boolean aAvailable)
Constructor for EPPResellerCheckResult that takes reseller
identifier and whether the reseller identifier is available. |
|
EPPResellerCheckResult(java.lang.String aResellerId,
java.lang.String aReason)
Constructor for EPPResellerCheckResult that is used for
unavailable reseller identifiers providing the reason the reseller
identifier is not available. |
|
EPPResellerCheckResult(java.lang.String aResellerId,
java.lang.String aReason,
java.lang.String aReasonLang)
Constructor for EPPResellerCheckResult that is used for
unavailable reseller identifiers providing the reason the reseller
identifier is not available with the reason language. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
clone an EPPCodecComponent. |
void |
decode(org.w3c.dom.Element aElement)
decode a DOM element tree to initialize the instance attributes. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
encode instance into a DOM element tree. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPResellerCheckResult with this
instance. |
java.lang.String |
getReason()
Gets the reason that the reseller identifier is not available. |
java.lang.String |
getReasonLang()
Gets the reason language value. |
java.lang.String |
getResellerId()
Gets the reseller identifier. |
boolean |
hasReason()
Is the reason defined? |
boolean |
hasReasonLang()
Is the reason language defined? |
boolean |
isAvailable()
Is the reseller identifier available? |
void |
setAvailable(boolean aAvailable)
Sets the reseller identifier is available. |
void |
setReason(java.lang.String aReason)
Sets the reason that the reseller identifier is not available. |
void |
setReasonLang(java.lang.String aReasonLang)
Sets the reason language value. |
void |
setResellerId(java.lang.String aResellerId)
Sets the reseller identifier. |
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 java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ELM_LOCALNAME
EPPResellerCheckResult.
public static final java.lang.String ELM_NAME
EPPResellerCheckResult.
| Constructor Detail |
|---|
public EPPResellerCheckResult()
EPPResellerCheckResult.
public EPPResellerCheckResult(java.lang.String aResellerId,
boolean aAvailable)
EPPResellerCheckResult that takes reseller
identifier and whether the reseller identifier is available.
aResellerId - The reseller identifieraAvailable - Is the reseller identifier available?
public EPPResellerCheckResult(java.lang.String aResellerId,
java.lang.String aReason)
EPPResellerCheckResult that is used for
unavailable reseller identifiers providing the reason the reseller
identifier is not available.
aResellerId - The reseller identifieraReason - Reason that the reseller identifier is not available.
public EPPResellerCheckResult(java.lang.String aResellerId,
java.lang.String aReason,
java.lang.String aReasonLang)
EPPResellerCheckResult that is used for
unavailable reseller identifiers providing the reason the reseller
identifier is not available with the reason language.
aResellerId - The reseller identifieraReason - Reason that the reseller identifier is not available.aReasonLang - Reason language for reason value.| Method Detail |
|---|
public java.lang.String getResellerId()
null otherwise.public void setResellerId(java.lang.String aResellerId)
aResellerId - The reseller identifierpublic boolean isAvailable()
true if the reseller identifier is available;
false otherwise.public void setAvailable(boolean aAvailable)
aAvailable - true if the reseller identifier is available;
false otherwise.public boolean hasReason()
true if the reason is defined; false
otherwise.public java.lang.String getReason()
null otherwise.public void setReason(java.lang.String aReason)
aReason - Reason that the reseller identifier is not available. Set to
null to clear the reason.public boolean hasReasonLang()
true if the reason language is defined;
false otherwise.public java.lang.String getReasonLang()
null otherwise.public void setReasonLang(java.lang.String aReasonLang)
aReasonLang - Reason language for reason value.
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - DOM Document, which acts is an Element factory
EPPEncodeException - Error encoding EPPResellerCheckResult
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
aElement argument represents the root DOM element and is
used to traverse the DOM nodes for instance attribute values.
decode in interface EPPCodecComponentaElement - Element to decode
EPPDecodeException - Error decoding Element
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPCodecComponent.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPResellerCheckResult
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 java.lang.ObjectString if successful;
ERROR otherwise.public boolean equals(java.lang.Object aObject)
EPPResellerCheckResult with this
instance.
equals in class java.lang.ObjectaObject - Object to compare with.
true if equal; false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||