public class EPPRegistryTransferHoldPeriodType extends EPPRegistryPeriodType
EPPRegistryDomain,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_NAME
XML Element Name of
EPPRegistryTransferHoldPeriodType root
element. |
number, PERIOD_UNIT_DAY, PERIOD_UNIT_HOUR, PERIOD_UNIT_MONTH, PERIOD_UNIT_YEAR, rootName, unit, VALID_UNITS| Constructor and Description |
|---|
EPPRegistryTransferHoldPeriodType()
Default constructor.
|
EPPRegistryTransferHoldPeriodType(java.lang.Integer number,
java.lang.String unit)
Construct an instance of
EPPRegistryTransferHoldPeriodType with
number and unit. |
EPPRegistryTransferHoldPeriodType(int number,
java.lang.String unit)
Construct an instance of
EPPRegistryTransferHoldPeriodType with
number and unit. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPRegistryTransferHoldPeriodType 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
EPPRegistryTransferHoldPeriodType root
element.public EPPRegistryTransferHoldPeriodType()
EPPRegistryPeriodType.setNumber(Integer) and
EPPRegistryPeriodType.setUnit(String) before calling the
EPPRegistryPeriodType.encode(org.w3c.dom.Document) method.public EPPRegistryTransferHoldPeriodType(java.lang.Integer number,
java.lang.String unit)
EPPRegistryTransferHoldPeriodType with
number and unit.number - number must be > 0unit - unit must be one of "y", "m" or "d"public EPPRegistryTransferHoldPeriodType(int number,
java.lang.String unit)
EPPRegistryTransferHoldPeriodType with
number and unit.number - number must be > 0unit - unit must be one of "y", "m" or "d"public boolean equals(java.lang.Object aObject)
EPPRegistryTransferHoldPeriodType with this
instance.equals in class EPPRegistryPeriodTypeaObject - Object to compare with.true if equal; false otherwise.public java.lang.String getNamespace()
EPPCodecComponent.EPPCodecComponent.