public class EPPLowBalancePollThreshold extends java.lang.Object implements EPPCodecComponent
Title: EPP 1.0 Low Balance
Description: Low Balance Poll Mapping for the EPP SDK
Copyright: Copyright (c) 2004
Company: VeriSign
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FIXED
The constant value for FIXED
|
static java.lang.String |
PERCENT
The constant value for PERCENT
|
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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 |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
java.lang.String |
getType() |
void |
setCreditThresholdValue(java.lang.String aCeditThresholdValue) |
void |
setType(java.lang.String aType) |
public static final java.lang.String FIXED
public static final java.lang.String PERCENT
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.public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- The DOM Document to append data toElement
encodedEPPEncodeException
- 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 XMLEPPDecodeException
- 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 withpublic 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)
public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.Copyright © VeriSign Inc. All Rights Reserved.