public class EPPRegistryRedemptionPeriodType extends EPPRegistryPeriodType
EPPRegistryRGP
,
Serialized FormModifier 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) |
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
clone, decode, encode, getNumber, getRootName, getUnit, setNumber, setUnit, toString
public 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)
equals
in class EPPRegistryPeriodType
public java.lang.String getNamespace()
EPPCodecComponent
.EPPCodecComponent
.Copyright © VeriSign Inc. All Rights Reserved.