Class EPPRegistryTransferHoldPeriodType
- java.lang.Object
-
- com.verisign.epp.codec.registry.v02.EPPRegistryPeriodType
-
- com.verisign.epp.codec.registry.v02.EPPRegistryTransferHoldPeriodType
-
- All Implemented Interfaces:
EPPCodecComponent
,java.io.Serializable
,java.lang.Cloneable
public class EPPRegistryTransferHoldPeriodType extends EPPRegistryPeriodType
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:
EPPRegistryDomain
, 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.String
ELM_LOCALNAME
XML local name forEPPRegistryTransferHoldPeriodType
.-
Fields inherited from class com.verisign.epp.codec.registry.v02.EPPRegistryPeriodType
ATTR_UNIT, number, unit
-
-
Constructor Summary
Constructors Constructor Description EPPRegistryTransferHoldPeriodType()
Default constructor.EPPRegistryTransferHoldPeriodType(int aNumber, EPPRegistryPeriodType.Unit aUnit)
Construct an instance ofEPPRegistryTransferHoldPeriodType
withnumber
andunit
.EPPRegistryTransferHoldPeriodType(java.lang.Integer aNumber, EPPRegistryPeriodType.Unit aUnit)
Construct an instance ofEPPRegistryTransferHoldPeriodType
withnumber
andunit
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getNamespace()
Returns the XML namespace associated with theEPPCodecComponent
.protected java.lang.String
getRootName()
Gets the root element local name.
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
XML local name forEPPRegistryTransferHoldPeriodType
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPRegistryTransferHoldPeriodType
public EPPRegistryTransferHoldPeriodType()
Default constructor. Must callEPPRegistryPeriodType.setNumber(Integer)
andEPPRegistryPeriodType.setUnit(EPPRegistryPeriodType.Unit)
before calling theEPPRegistryPeriodType.encode(org.w3c.dom.Document)
method.
-
EPPRegistryTransferHoldPeriodType
public EPPRegistryTransferHoldPeriodType(java.lang.Integer aNumber, EPPRegistryPeriodType.Unit aUnit)
Construct an instance ofEPPRegistryTransferHoldPeriodType
withnumber
andunit
.- Parameters:
aNumber
- number must be > 0aUnit
- unit must be one ofUnit.y
,Unit.m
, orUnit.d
-
EPPRegistryTransferHoldPeriodType
public EPPRegistryTransferHoldPeriodType(int aNumber, EPPRegistryPeriodType.Unit aUnit)
Construct an instance ofEPPRegistryTransferHoldPeriodType
withnumber
andunit
.- Parameters:
aNumber
- number must be > 0aUnit
- unit must be one ofUnit.y
,Unit.m
, orUnit.d
-
-
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:
getRootName
in classEPPRegistryPeriodType
- Returns:
- Root element local name.
-
-