public class EPPRegistryMinPeriodType extends EPPRegistryPeriodType
EPPRegistryPeriodType.Unit
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPRegistryMinPeriodType . |
ATTR_UNIT, number, unit
Constructor and Description |
---|
EPPRegistryMinPeriodType()
Default constructor.
|
EPPRegistryMinPeriodType(java.lang.Integer aNumber,
EPPRegistryPeriodType.Unit aUnit)
Constructs an instance of
EPPRegistryMinPeriodType with
number and unit . |
EPPRegistryMinPeriodType(int aNumber,
EPPRegistryPeriodType.Unit aUnit)
Constructs an instance of
EPPRegistryMinPeriodType 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
EPPRegistryMinPeriodType
.public EPPRegistryMinPeriodType()
EPPRegistryPeriodType.setNumber(Integer)
and
EPPRegistryPeriodType.setUnit(EPPRegistryPeriodType.Unit)
before calling
EPPRegistryPeriodType.encode(org.w3c.dom.Document)
method.public EPPRegistryMinPeriodType(java.lang.Integer aNumber, EPPRegistryPeriodType.Unit aUnit)
EPPRegistryMinPeriodType
with
number
and unit
.aNumber
- number must be between 1 - 99.aUnit
- unit must be one of Unit.y
or Unit.m
public EPPRegistryMinPeriodType(int aNumber, EPPRegistryPeriodType.Unit aUnit)
EPPRegistryMinPeriodType
with
number
and unit
.aNumber
- number must be between 1 - 99.aUnit
- unit must be one of Unit.y
or Unit.m
public java.lang.String getNamespace()
EPPCodecComponent
.EPPCodecComponent
.protected java.lang.String getRootName()
getRootName
in class EPPRegistryPeriodType