public class EPPRegistryRGP extends java.lang.Object implements EPPCodecComponent
getRedemptionPeriod()
and
setRedemptionPeriod(EPPRegistryRedemptionPeriodType)
to get and set
the element.getPendingRestorePeriod()
and
setPendingRestorePeriod(EPPRegistryPendingRestorePeriodType)
to get
and set the element.getPendingDeletePeriod()
and
setPendingDeletePeriod(EPPRegistryPendingDeletePeriodType)
to get
and set the element.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_NAME
XML Element Name of
EPPRegistryRGP root element. |
Constructor and Description |
---|
EPPRegistryRGP()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPRegistryRGP . |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPRegistryRGP attributes from the aElement DOM
Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the
EPPRegistryRGP instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPRegistryRGP compare. |
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
EPPRegistryPendingDeletePeriodType |
getPendingDeletePeriod()
Get pending delete period.
|
EPPRegistryPendingRestorePeriodType |
getPendingRestorePeriod()
Get pending restore period.
|
EPPRegistryRedemptionPeriodType |
getRedemptionPeriod()
Get redemption period.
|
void |
setPendingDeletePeriod(EPPRegistryPendingDeletePeriodType pendingDeletePeriod)
Set pending delete period.
|
void |
setPendingRestorePeriod(EPPRegistryPendingRestorePeriodType pendingRestorePeriod)
Set pending restore period.
|
void |
setRedemptionPeriod(EPPRegistryRedemptionPeriodType redemptionPeriod)
Set redemption period.
|
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
public static final java.lang.String ELM_NAME
EPPRegistryRGP
root element.public EPPRegistryRGP()
null
. Must
call setRedemptionPeriod(EPPRegistryRedemptionPeriodType)
,
setPendingRestorePeriod(EPPRegistryPendingRestorePeriodType)
and
setPendingDeletePeriod(EPPRegistryPendingDeletePeriodType)
before calling encode(Document)
method.public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRegistryRGP
instance.encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built. Used as an Element factory.EPPRegistryRGP
instance.EPPEncodeException
- - Unable to encode EPPRegistryRGP
instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPRegistryRGP
attributes from the aElement DOM
Element tree.decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode EPPRegistryRGP
from.EPPDecodeException
- Unable to decode aElementpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRegistryRGP
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPRegistryRGP
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
EPPRegistryRGP
compare.equals
in class java.lang.Object
aObject
- EPPRegistryRGP
instance to compare withtrue
if this object is the same as the aObject argument;
false
otherwisepublic java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.toString
in class java.lang.Object
String
if successful;
ERROR
otherwise.public EPPRegistryRedemptionPeriodType getRedemptionPeriod()
EPPRegistryRedemptionPeriodType
that defines
redemption period attributes.public void setRedemptionPeriod(EPPRegistryRedemptionPeriodType redemptionPeriod)
redemptionPeriod
- instance of EPPRegistryRedemptionPeriodType
that
defines redemption period attributes.public EPPRegistryPendingDeletePeriodType getPendingDeletePeriod()
EPPRegistryPendingDeletePeriodType
that
defines pending delete period attributes.public void setPendingDeletePeriod(EPPRegistryPendingDeletePeriodType pendingDeletePeriod)
pendingDeletePeriod
- instance of EPPRegistryPendingDeletePeriodType
that
defines pending delete period attributes.public EPPRegistryPendingRestorePeriodType getPendingRestorePeriod()
EPPRegistryPendingRestorePeriodType
that
defines pending restore period attributes.public void setPendingRestorePeriod(EPPRegistryPendingRestorePeriodType pendingRestorePeriod)
pendingRestorePeriod
- instance of EPPRegistryPendingRestorePeriodType
that
defines pending restore period attributes.public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.