|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.fee.v11.EPPFeeCredit
public class EPPFeeCredit
EPPFeeCredit represents the credit value information returned by
the server.
| Field Summary | |
|---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the phase local name |
static java.lang.String |
ELM_NAME
Constant for the phase qualified name (prefix and local name) |
| Constructor Summary | |
|---|---|
EPPFeeCredit()
Default constructor. |
|
EPPFeeCredit(java.math.BigDecimal aCredit)
Create EPPFeeCredit instance with the required credit value. |
|
EPPFeeCredit(java.math.BigDecimal aCredit,
java.lang.String aDescription)
Create EPPFeeCredit instance with the required credit value
and the optional description. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPFeeCredit. |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPFeeCredit element aElement DOM Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the EPPFeeCredit instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPFeeCredit compare. |
java.math.BigDecimal |
getCredit()
Gets the credit value. |
java.lang.String |
getDescription()
Gets the description value. |
boolean |
hasDescription()
Is the description defined? |
void |
setCredit(java.math.BigDecimal aCredit)
Sets the credit value. |
void |
setDescription(java.lang.String aDescription)
Sets the description value. |
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
public static final java.lang.String ELM_NAME
| Constructor Detail |
|---|
public EPPFeeCredit()
setCredit(BigDecimal) method.
public EPPFeeCredit(java.math.BigDecimal aCredit)
EPPFeeCredit instance with the required credit value.
aCredit - The credit value
public EPPFeeCredit(java.math.BigDecimal aCredit,
java.lang.String aDescription)
EPPFeeCredit instance with the required credit value
and the optional description.
aCredit - The credit valueaDescription - Human-readable description| Method Detail |
|---|
public boolean hasDescription()
true if the description is defined;
false otherwise.public java.lang.String getDescription()
null otherwise.public void setDescription(java.lang.String aDescription)
aDescription - Description value.public java.math.BigDecimal getCredit()
public void setCredit(java.math.BigDecimal aCredit)
aCredit - Credit value
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPFeeCredit.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPFeeCredit
java.lang.CloneNotSupportedException - standard Object.clone exception
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPFeeCredit element aElement DOM Element tree.
decode in interface EPPCodecComponentaElement - - Root DOM Element to decode EPPFeeCredit from.
EPPDecodeException - Unable to decode aElement
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPFeeCredit instance.
encode in interface EPPCodecComponentaDocument - - DOM Document that is being built. Used as an Element
factory.
EPPFeeCredit instance.
EPPEncodeException - - Unable to encode EPPFeeCredit instance.public boolean equals(java.lang.Object aObject)
EPPFeeCredit compare.
equals in class java.lang.ObjectaObject - EPPFeeCredit instance to compare with
true if equal; false otherwisepublic 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||