|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.lowbalancepoll.EPPLowBalancePollThreshold
public class EPPLowBalancePollThreshold
The EPPLowBalancePollThreshold is the EPPCodecComponent that knows how to encode and decode Credit Threshold Type elements from/to XML and object instance.
Title: EPP 1.0 Low Balance
Description: Low Balance Poll Mapping for the EPP SDK
Copyright: Copyright (c) 2004
Company: VeriSign
Field Summary | |
---|---|
static java.lang.String |
FIXED
The constant value for FIXED |
static java.lang.String |
PERCENT
The constant value for PERCENT |
Constructor Summary | |
---|---|
EPPLowBalancePollThreshold()
Create a new instance of EPPLowBalancePollThreshold |
|
EPPLowBalancePollThreshold(java.lang.String aType,
java.lang.String aCreditThresholdValue)
Create a new instance of EPPLowBalancePollThreshold with the given threshold type |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPLowBalancePollThreshold . |
void |
decode(org.w3c.dom.Element aElement)
Populate the data of this instance with the data stored in the given Element of the DOM tree |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Append all data from this Low Balance data to the given DOM Document |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPLowBalancePollThreshold compare. |
java.lang.String |
getCreditThresholdValue()
|
java.lang.String |
getType()
|
void |
setCreditThresholdValue(java.lang.String aCeditThresholdValue)
|
void |
setType(java.lang.String aType)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String FIXED
public static final java.lang.String PERCENT
Constructor Detail |
---|
public EPPLowBalancePollThreshold()
public EPPLowBalancePollThreshold(java.lang.String aType, java.lang.String aCreditThresholdValue)
aType
- the type value to use for this instance. Should
use one of the static constants defined for this class as a value.Method Detail |
---|
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- The DOM Document to append data to
Element
encoded
EPPEncodeException
- Thrown when errors occur during the
encode attempt or if the instance is invalid.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
decode
in interface EPPCodecComponent
aElement
- The root element of the report fragment of XML
EPPDecodeException
- Thrown if any errors occur during decoding.public boolean equals(java.lang.Object aObject)
EPPLowBalancePollThreshold
compare.
equals
in class java.lang.Object
aObject
- EPPLowBalancePollThreshold
instance to compare with
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPLowBalancePollThreshold
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPLowBalancePollThreshold
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic java.lang.String getType()
public void setType(java.lang.String aType)
public java.lang.String getCreditThresholdValue()
public void setCreditThresholdValue(java.lang.String aCeditThresholdValue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |