Class EPPRegistryMaxPeriodType
- java.lang.Object
-
- com.verisign.epp.codec.registry.v02.EPPRegistryPeriodType
-
- com.verisign.epp.codec.registry.v02.EPPRegistryMaxPeriodType
-
- All Implemented Interfaces:
EPPCodecComponent
,java.io.Serializable
,java.lang.Cloneable
public class EPPRegistryMaxPeriodType extends EPPRegistryPeriodType
The maximum supported period length- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.verisign.epp.codec.registry.v02.EPPRegistryPeriodType
EPPRegistryPeriodType.Unit
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELM_LOCALNAME
XML local name forEPPRegistryMaxPeriodType
.-
Fields inherited from class com.verisign.epp.codec.registry.v02.EPPRegistryPeriodType
ATTR_UNIT, number, unit
-
-
Constructor Summary
Constructors Constructor Description EPPRegistryMaxPeriodType()
Default constructor.EPPRegistryMaxPeriodType(int aNumber, EPPRegistryPeriodType.Unit aUnit)
Constructs an instance ofEPPRegistryMaxPeriodType
withnumber
andunit
.EPPRegistryMaxPeriodType(java.lang.Integer aNumber, EPPRegistryPeriodType.Unit aUnit)
Constructs an instance ofEPPRegistryMaxPeriodType
withnumber
andunit
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getNamespace()
Returns the XML namespace associated with theEPPCodecComponent
.protected java.lang.String
getRootName()
Gets the root element local name.
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
XML local name forEPPRegistryMaxPeriodType
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPRegistryMaxPeriodType
public EPPRegistryMaxPeriodType()
Default constructor. Must callEPPRegistryPeriodType.setNumber(Integer)
andEPPRegistryPeriodType.setUnit(EPPRegistryPeriodType.Unit)
before callingEPPRegistryPeriodType.encode(org.w3c.dom.Document)
method.
-
EPPRegistryMaxPeriodType
public EPPRegistryMaxPeriodType(java.lang.Integer aNumber, EPPRegistryPeriodType.Unit aUnit)
Constructs an instance ofEPPRegistryMaxPeriodType
withnumber
andunit
.- Parameters:
aNumber
- number must be between 1 - 99.aUnit
- unit must be one ofEPPRegistryPeriodType.Unit.y
orEPPRegistryPeriodType.Unit.m
-
EPPRegistryMaxPeriodType
public EPPRegistryMaxPeriodType(int aNumber, EPPRegistryPeriodType.Unit aUnit)
Constructs an instance ofEPPRegistryMaxPeriodType
withnumber
andunit
.- Parameters:
aNumber
- number must be between 1 - 99.aUnit
- unit must be one ofEPPRegistryPeriodType.Unit.y
orEPPRegistryPeriodType.Unit.m
-
-
Method Detail
-
getNamespace
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPCodecComponent
.- Returns:
- XML namespace for the
EPPCodecComponent
.
-
getRootName
protected java.lang.String getRootName()
Gets the root element local name.- Overrides:
getRootName
in classEPPRegistryPeriodType
- Returns:
- Root element local name.
-
-