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_LOCALNAME
XML local name for
EPPRegistryRGP. |
static java.lang.String |
ELM_NAME
XML root tag for
EPPRegistryRGP. |
| Constructor and Description |
|---|
EPPRegistryRGP()
Default constructor.
|
EPPRegistryRGP(EPPRegistryRedemptionPeriodType aRedemptionPeriod,
EPPRegistryPendingRestorePeriodType aPendingRestorePeriod,
EPPRegistryPendingDeletePeriodType aPendingDeletePeriod)
Constructor for
EPPRegistryRGP that takes all of the attribute
values as parameters. |
| 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()
Gets the pending delete period.
|
EPPRegistryPendingRestorePeriodType |
getPendingRestorePeriod()
Gets the pending restore period.
|
EPPRegistryRedemptionPeriodType |
getRedemptionPeriod()
Gets the redemption period.
|
void |
setPendingDeletePeriod(EPPRegistryPendingDeletePeriodType aPendingDeletePeriod)
Sets the pending delete period.
|
void |
setPendingRestorePeriod(EPPRegistryPendingRestorePeriodType aPendingRestorePeriod)
Sets the pending restore period.
|
void |
setRedemptionPeriod(EPPRegistryRedemptionPeriodType aRedemptionPeriod)
Sets the 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_LOCALNAME
EPPRegistryRGP.public static final java.lang.String ELM_NAME
EPPRegistryRGP.public EPPRegistryRGP()
null. Must
call setRedemptionPeriod(EPPRegistryRedemptionPeriodType),
setPendingRestorePeriod(EPPRegistryPendingRestorePeriodType) and
setPendingDeletePeriod(EPPRegistryPendingDeletePeriodType) before
calling encode(Document) method.public EPPRegistryRGP(EPPRegistryRedemptionPeriodType aRedemptionPeriod, EPPRegistryPendingRestorePeriodType aPendingRestorePeriod, EPPRegistryPendingDeletePeriodType aPendingDeletePeriod)
EPPRegistryRGP that takes all of the attribute
values as parameters.aRedemptionPeriod - The length of time that a domain object will remain in the
redemptionPeriod status unless the restore request command is
received.aPendingRestorePeriod - The length of time that the domain object will remain in the
pendingRestore status unless the restore report command is
received.aPendingDeletePeriod - The length of time that the domain object will remain in the
pendingDelete status prior to being purged.public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPRegistryRGP instance.encode in interface EPPCodecComponentaDocument - 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 EPPCodecComponentaElement - Root DOM Element to decode EPPRegistryRGP from.EPPDecodeException - Unable to decode aElementpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPRegistryRGP.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPRegistryRGPjava.lang.CloneNotSupportedException - standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
EPPRegistryRGP compare.equals in class java.lang.ObjectaObject - 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.ObjectString if successful; ERROR
otherwise.public EPPRegistryRedemptionPeriodType getRedemptionPeriod()
EPPRegistryRedemptionPeriodType that defines
redemption period attributes.public void setRedemptionPeriod(EPPRegistryRedemptionPeriodType aRedemptionPeriod)
aRedemptionPeriod - instance of EPPRegistryRedemptionPeriodType that defines
redemption period attributes.public EPPRegistryPendingDeletePeriodType getPendingDeletePeriod()
EPPRegistryPendingDeletePeriodType that
defines pending delete period attributes.public void setPendingDeletePeriod(EPPRegistryPendingDeletePeriodType aPendingDeletePeriod)
aPendingDeletePeriod - instance of EPPRegistryPendingDeletePeriodType that
defines pending delete period attributes.public EPPRegistryPendingRestorePeriodType getPendingRestorePeriod()
EPPRegistryPendingRestorePeriodType that
defines pending restore period attributes.public void setPendingRestorePeriod(EPPRegistryPendingRestorePeriodType aPendingRestorePeriod)
aPendingRestorePeriod - instance of EPPRegistryPendingRestorePeriodType that
defines pending restore period attributes.public java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.Copyright © VeriSign Inc. All Rights Reserved.