Class EPPRegistryMinPeriodType
- java.lang.Object
-
- com.verisign.epp.codec.registry.v02.EPPRegistryPeriodType
-
- com.verisign.epp.codec.registry.v02.EPPRegistryMinPeriodType
-
- All Implemented Interfaces:
EPPCodecComponent,java.io.Serializable,java.lang.Cloneable
public class EPPRegistryMinPeriodType 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.StringELM_LOCALNAMEXML local name forEPPRegistryMinPeriodType.-
Fields inherited from class com.verisign.epp.codec.registry.v02.EPPRegistryPeriodType
ATTR_UNIT, number, unit
-
-
Constructor Summary
Constructors Constructor Description EPPRegistryMinPeriodType()Default constructor.EPPRegistryMinPeriodType(int aNumber, EPPRegistryPeriodType.Unit aUnit)Constructs an instance ofEPPRegistryMinPeriodTypewithnumberandunit.EPPRegistryMinPeriodType(java.lang.Integer aNumber, EPPRegistryPeriodType.Unit aUnit)Constructs an instance ofEPPRegistryMinPeriodTypewithnumberandunit.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetNamespace()Returns the XML namespace associated with theEPPCodecComponent.protected java.lang.StringgetRootName()Gets the root element local name.
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
XML local name forEPPRegistryMinPeriodType.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPRegistryMinPeriodType
public EPPRegistryMinPeriodType()
Default constructor. Must callEPPRegistryPeriodType.setNumber(Integer)andEPPRegistryPeriodType.setUnit(EPPRegistryPeriodType.Unit)before callingEPPRegistryPeriodType.encode(org.w3c.dom.Document)method.
-
EPPRegistryMinPeriodType
public EPPRegistryMinPeriodType(java.lang.Integer aNumber, EPPRegistryPeriodType.Unit aUnit)Constructs an instance ofEPPRegistryMinPeriodTypewithnumberandunit.- Parameters:
aNumber- number must be between 1 - 99.aUnit- unit must be one ofUnit.yorUnit.m
-
EPPRegistryMinPeriodType
public EPPRegistryMinPeriodType(int aNumber, EPPRegistryPeriodType.Unit aUnit)Constructs an instance ofEPPRegistryMinPeriodTypewithnumberandunit.- Parameters:
aNumber- number must be between 1 - 99.aUnit- unit must be one ofUnit.yorUnit.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:
getRootNamein classEPPRegistryPeriodType- Returns:
- Root element local name.
-
-