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