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