Package com.verisign.epp.codec.registry
Class EPPRegistryPendingRestorePeriodType
- java.lang.Object
-
- com.verisign.epp.codec.registry.EPPRegistryPeriodType
-
- com.verisign.epp.codec.registry.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
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_NAMEXML Element Name ofEPPRegistryPendingRestorePeriodTyperoot element.-
Fields inherited from class com.verisign.epp.codec.registry.EPPRegistryPeriodType
number, PERIOD_UNIT_DAY, PERIOD_UNIT_HOUR, PERIOD_UNIT_MONTH, PERIOD_UNIT_YEAR, rootName, unit, VALID_UNITS
-
-
Constructor Summary
Constructors Constructor Description EPPRegistryPendingRestorePeriodType()Default constructor.EPPRegistryPendingRestorePeriodType(int number, java.lang.String unit)Constructs an instance ofEPPRegistryPendingRestorePeriodTypewithnumberandunit.EPPRegistryPendingRestorePeriodType(java.lang.Integer number, java.lang.String unit)Constructs an instance ofEPPRegistryPendingRestorePeriodTypewithnumberandunit.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object aObject)Compare an instance ofEPPRegistryPendingRestorePeriodTypewith this instance.java.lang.StringgetNamespace()Returns the XML namespace associated with theEPPCodecComponent.-
Methods inherited from class com.verisign.epp.codec.registry.EPPRegistryPeriodType
clone, decode, encode, getNumber, getRootName, getUnit, setNumber, setUnit, toString
-
-
-
-
Field Detail
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML Element Name ofEPPRegistryPendingRestorePeriodTyperoot element.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPRegistryPendingRestorePeriodType
public EPPRegistryPendingRestorePeriodType()
Default constructor. Must callEPPRegistryPeriodType.setNumber(Integer)andEPPRegistryPeriodType.setUnit(String)before callingEPPRegistryPeriodType.encode(org.w3c.dom.Document)method.
-
EPPRegistryPendingRestorePeriodType
public EPPRegistryPendingRestorePeriodType(java.lang.Integer number, java.lang.String unit)Constructs an instance ofEPPRegistryPendingRestorePeriodTypewithnumberandunit.- Parameters:
number- number must be > 0unit- unit must be one of "y", "m", "d", or "h"
-
EPPRegistryPendingRestorePeriodType
public EPPRegistryPendingRestorePeriodType(int number, java.lang.String unit)Constructs an instance ofEPPRegistryPendingRestorePeriodTypewithnumberandunit.- Parameters:
number- number must be > 0unit- unit must be one of "y", "m", "d", or "h"
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object aObject)
Compare an instance ofEPPRegistryPendingRestorePeriodTypewith this instance.- Overrides:
equalsin classEPPRegistryPeriodType- Parameters:
aObject- Object to compare with.- Returns:
trueif equal;falseotherwise.
-
getNamespace
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPCodecComponent.- Returns:
- XML namespace for the
EPPCodecComponent.
-
-