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