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