public class EPPRegistryRedemptionPeriodType extends EPPRegistryPeriodType
EPPRegistryRGP,
Serialized FormEPPRegistryPeriodType.Unit| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPRegistryRedemptionPeriodType. |
ATTR_UNIT, number, unit| Constructor and Description |
|---|
EPPRegistryRedemptionPeriodType()
Default constructor.
|
EPPRegistryRedemptionPeriodType(java.lang.Integer aNumber,
EPPRegistryPeriodType.Unit aUnit)
Constructs an instance of
EPPRegistryRedemptionPeriodType with
number and unit. |
EPPRegistryRedemptionPeriodType(int number,
EPPRegistryPeriodType.Unit unit)
Constructs an instance of
EPPRegistryRedemptionPeriodType with
number and unit. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
protected java.lang.String |
getRootName()
Gets the root element local name.
|
public static final java.lang.String ELM_LOCALNAME
EPPRegistryRedemptionPeriodType.public EPPRegistryRedemptionPeriodType()
EPPRegistryPeriodType.setNumber(Integer) and
EPPRegistryPeriodType.setUnit(EPPRegistryPeriodType.Unit) before calling
EPPRegistryPeriodType.encode(org.w3c.dom.Document) method.public EPPRegistryRedemptionPeriodType(java.lang.Integer aNumber,
EPPRegistryPeriodType.Unit aUnit)
EPPRegistryRedemptionPeriodType with
number and unit.aNumber - number must be > 0aUnit - Unit must be one of EPPRegistryPeriodType.Unit.y, EPPRegistryPeriodType.Unit.m,
EPPRegistryPeriodType.Unit.d, or EPPRegistryPeriodType.Unit.h.public EPPRegistryRedemptionPeriodType(int number,
EPPRegistryPeriodType.Unit unit)
EPPRegistryRedemptionPeriodType with
number and unit.number - number must be > 0unit - Unit must be one of EPPRegistryPeriodType.Unit.y, EPPRegistryPeriodType.Unit.m,
EPPRegistryPeriodType.Unit.d, or EPPRegistryPeriodType.Unit.h.public java.lang.String getNamespace()
EPPCodecComponent.EPPCodecComponent.protected java.lang.String getRootName()
getRootName in class EPPRegistryPeriodType