Class EPPRegistryMaxPeriodType
java.lang.Object
com.verisign.epp.codec.registry.v02.EPPRegistryPeriodType
com.verisign.epp.codec.registry.v02.EPPRegistryMaxPeriodType
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
The maximum supported period length
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.verisign.epp.codec.registry.v02.EPPRegistryPeriodType
EPPRegistryPeriodType.Unit -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML local name forEPPRegistryMaxPeriodType.Fields inherited from class com.verisign.epp.codec.registry.v02.EPPRegistryPeriodType
ATTR_UNIT, number, unit -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.EPPRegistryMaxPeriodType(int aNumber, EPPRegistryPeriodType.Unit aUnit) Constructs an instance ofEPPRegistryMaxPeriodTypewithnumberandunit.EPPRegistryMaxPeriodType(Integer aNumber, EPPRegistryPeriodType.Unit aUnit) Constructs an instance ofEPPRegistryMaxPeriodTypewithnumberandunit. -
Method Summary
Modifier and TypeMethodDescriptionReturns the XML namespace associated with theEPPCodecComponent.protected StringGets the root element local name.
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPRegistryMaxPeriodType.- See Also:
-
-
Constructor Details
-
EPPRegistryMaxPeriodType
public EPPRegistryMaxPeriodType()Default constructor. Must callEPPRegistryPeriodType.setNumber(Integer)andEPPRegistryPeriodType.setUnit(EPPRegistryPeriodType.Unit)before callingEPPRegistryPeriodType.encode(org.w3c.dom.Document)method. -
EPPRegistryMaxPeriodType
Constructs an instance ofEPPRegistryMaxPeriodTypewithnumberandunit.- Parameters:
aNumber- number must be between 1 - 99.aUnit- unit must be one ofEPPRegistryPeriodType.Unit.yorEPPRegistryPeriodType.Unit.m
-
EPPRegistryMaxPeriodType
Constructs an instance ofEPPRegistryMaxPeriodTypewithnumberandunit.- Parameters:
aNumber- number must be between 1 - 99.aUnit- unit must be one ofEPPRegistryPeriodType.Unit.yorEPPRegistryPeriodType.Unit.m
-
-
Method Details
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Returns:
- XML namespace for the
EPPCodecComponent.
-
getRootName
Gets the root element local name.- Overrides:
getRootNamein classEPPRegistryPeriodType- Returns:
- Root element local name.
-