public class EPPRegistryRedemptionPeriodType extends EPPRegistryPeriodType
EPPRegistryRGP,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_NAME
XML Element Name of
EPPRegistryRedemptionPeriodType root
element. |
number, PERIOD_UNIT_DAY, PERIOD_UNIT_HOUR, PERIOD_UNIT_MONTH, PERIOD_UNIT_YEAR, rootName, unit, VALID_UNITS| Constructor and Description |
|---|
EPPRegistryRedemptionPeriodType()
Default constructor.
|
EPPRegistryRedemptionPeriodType(java.lang.Integer number,
java.lang.String unit)
Constructs an instance of
EPPRegistryRedemptionPeriodType with
number and unit. |
EPPRegistryRedemptionPeriodType(int number,
java.lang.String unit)
Constructs an instance of
EPPRegistryRedemptionPeriodType with
number and unit. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPRegistryRedemptionPeriodType with this
instance. |
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
clone, decode, encode, getNumber, getRootName, getUnit, setNumber, setUnit, toStringpublic static final java.lang.String ELM_NAME
EPPRegistryRedemptionPeriodType root
element.public EPPRegistryRedemptionPeriodType()
EPPRegistryPeriodType.setNumber(Integer) and
EPPRegistryPeriodType.setUnit(String) before calling
EPPRegistryPeriodType.encode(org.w3c.dom.Document) method.public EPPRegistryRedemptionPeriodType(java.lang.Integer number,
java.lang.String unit)
EPPRegistryRedemptionPeriodType with
number and unit.number - number must be > 0unit - unit must be one of "y", "m", "d", or "h"public EPPRegistryRedemptionPeriodType(int number,
java.lang.String unit)
EPPRegistryRedemptionPeriodType with
number and unit.number - number must be > 0unit - unit must be one of "y", "m", "d", or "h"public boolean equals(java.lang.Object aObject)
EPPRegistryRedemptionPeriodType with this
instance.equals in class EPPRegistryPeriodTypeaObject - Object to compare with.true if equal; false otherwise.public java.lang.String getNamespace()
EPPCodecComponent.EPPCodecComponent.