Class EPPRegistryRedemptionPeriodType
- java.lang.Object
-
- com.verisign.epp.codec.registry.v02.EPPRegistryPeriodType
-
- com.verisign.epp.codec.registry.v02.EPPRegistryRedemptionPeriodType
-
- All Implemented Interfaces:
EPPCodecComponent,java.io.Serializable,java.lang.Cloneable
public class EPPRegistryRedemptionPeriodType extends EPPRegistryPeriodType
Defines the length of time that a domain object will remain in the redemptionPeriod status unless the restore request command is received.- See Also:
EPPRegistryRGP, 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 forEPPRegistryRedemptionPeriodType.-
Fields inherited from class com.verisign.epp.codec.registry.v02.EPPRegistryPeriodType
ATTR_UNIT, number, unit
-
-
Constructor Summary
Constructors Constructor Description EPPRegistryRedemptionPeriodType()Default constructor.EPPRegistryRedemptionPeriodType(int number, EPPRegistryPeriodType.Unit unit)Constructs an instance ofEPPRegistryRedemptionPeriodTypewithnumberandunit.EPPRegistryRedemptionPeriodType(java.lang.Integer aNumber, EPPRegistryPeriodType.Unit aUnit)Constructs an instance ofEPPRegistryRedemptionPeriodTypewithnumberandunit.
-
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 forEPPRegistryRedemptionPeriodType.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPRegistryRedemptionPeriodType
public EPPRegistryRedemptionPeriodType()
Default constructor. Must callEPPRegistryPeriodType.setNumber(Integer)andEPPRegistryPeriodType.setUnit(EPPRegistryPeriodType.Unit)before callingEPPRegistryPeriodType.encode(org.w3c.dom.Document)method.
-
EPPRegistryRedemptionPeriodType
public EPPRegistryRedemptionPeriodType(java.lang.Integer aNumber, EPPRegistryPeriodType.Unit aUnit)Constructs an instance ofEPPRegistryRedemptionPeriodTypewithnumberandunit.- Parameters:
aNumber- number must be > 0aUnit- Unit must be one ofEPPRegistryPeriodType.Unit.y,EPPRegistryPeriodType.Unit.m,EPPRegistryPeriodType.Unit.d, orEPPRegistryPeriodType.Unit.h.
-
EPPRegistryRedemptionPeriodType
public EPPRegistryRedemptionPeriodType(int number, EPPRegistryPeriodType.Unit unit)Constructs an instance ofEPPRegistryRedemptionPeriodTypewithnumberandunit.- Parameters:
number- number must be > 0unit- Unit must be one ofEPPRegistryPeriodType.Unit.y,EPPRegistryPeriodType.Unit.m,EPPRegistryPeriodType.Unit.d, orEPPRegistryPeriodType.Unit.h.
-
-
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.
-
-