Class EPPRegistryDefaultPeriodType
- java.lang.Object
-
- com.verisign.epp.codec.registry.v02.EPPRegistryPeriodType
-
- com.verisign.epp.codec.registry.v02.EPPRegistryDefaultPeriodType
-
- All Implemented Interfaces:
EPPCodecComponent,java.io.Serializable,java.lang.Cloneable
public class EPPRegistryDefaultPeriodType extends EPPRegistryPeriodType
The default period length if not defined by the client.- 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 forEPPRegistryDefaultPeriodType.static java.lang.StringELM_NAMEXML root tag forEPPRegistryDefaultPeriodType.-
Fields inherited from class com.verisign.epp.codec.registry.v02.EPPRegistryPeriodType
ATTR_UNIT, number, unit
-
-
Constructor Summary
Constructors Constructor Description EPPRegistryDefaultPeriodType()EPPRegistryDefaultPeriodType(int aNumber, EPPRegistryPeriodType.Unit aUnit)ConstructsEPPRegistryDefaultPeriodTypewith a number and unit using anint.EPPRegistryDefaultPeriodType(java.lang.Integer aNumber, EPPRegistryPeriodType.Unit aUnit)ConstructsEPPRegistryDefaultPeriodTypewith a number and unit using anInteger.
-
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 forEPPRegistryDefaultPeriodType.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML root tag forEPPRegistryDefaultPeriodType.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPRegistryDefaultPeriodType
public EPPRegistryDefaultPeriodType()
-
EPPRegistryDefaultPeriodType
public EPPRegistryDefaultPeriodType(java.lang.Integer aNumber, EPPRegistryPeriodType.Unit aUnit)ConstructsEPPRegistryDefaultPeriodTypewith a number and unit using anInteger.- Parameters:
aNumber- Default period numberaUnit- Default period unit
-
EPPRegistryDefaultPeriodType
public EPPRegistryDefaultPeriodType(int aNumber, EPPRegistryPeriodType.Unit aUnit)ConstructsEPPRegistryDefaultPeriodTypewith a number and unit using anint.- Parameters:
aNumber- Default period numberaUnit- Default period unit
-
-
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.
-
-