Class EPPRegistryTransferHoldPeriodType
java.lang.Object
com.verisign.epp.codec.registry.v02.EPPRegistryPeriodType
com.verisign.epp.codec.registry.v02.EPPRegistryTransferHoldPeriodType
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Represents the period of time a domain object is in the pending transfer
before the transfer is auto approved by the server. The
<registry:transferHoldPeriod> element MUST have the "unit" attribute
with the possible values of "y" for year, "m" for month, and "d" for day..
- 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 forEPPRegistryTransferHoldPeriodType.Fields inherited from class com.verisign.epp.codec.registry.v02.EPPRegistryPeriodType
ATTR_UNIT, number, unit -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.EPPRegistryTransferHoldPeriodType(int aNumber, EPPRegistryPeriodType.Unit aUnit) Construct an instance ofEPPRegistryTransferHoldPeriodTypewithnumberandunit.EPPRegistryTransferHoldPeriodType(Integer aNumber, EPPRegistryPeriodType.Unit aUnit) Construct an instance ofEPPRegistryTransferHoldPeriodTypewithnumberandunit. -
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 forEPPRegistryTransferHoldPeriodType.- See Also:
-
-
Constructor Details
-
EPPRegistryTransferHoldPeriodType
public EPPRegistryTransferHoldPeriodType()Default constructor. Must callEPPRegistryPeriodType.setNumber(Integer)andEPPRegistryPeriodType.setUnit(EPPRegistryPeriodType.Unit)before calling theEPPRegistryPeriodType.encode(org.w3c.dom.Document)method. -
EPPRegistryTransferHoldPeriodType
Construct an instance ofEPPRegistryTransferHoldPeriodTypewithnumberandunit.- Parameters:
aNumber- number must be > 0aUnit- unit must be one ofUnit.y,Unit.m, orUnit.d
-
EPPRegistryTransferHoldPeriodType
Construct an instance ofEPPRegistryTransferHoldPeriodTypewithnumberandunit.- Parameters:
aNumber- number must be > 0aUnit- unit must be one ofUnit.y,Unit.m, orUnit.d
-
-
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.
-