|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.registry.EPPRegistryRGP
public class EPPRegistryRGP
Defined the Registry Grace Period (RGP) status periods. The
<registry:rgp> element contains the following child elements, where
each child element supports the "unit" attribute with the possible values of
"y" for year, "m" for month, "d" for day, and "h" for hour:
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.
EPPRegistryDomain,
EPPRegistryRedemptionPeriodType,
EPPRegistryPendingRestorePeriodType,
EPPRegistryPendingDeletePeriodType,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
ELM_NAME
XML Element Name of EPPRegistryRGP root element. |
| Constructor Summary | |
|---|---|
EPPRegistryRGP()
Default constructor. |
|
| Method Summary | |
|---|---|
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. |
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. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ELM_NAME
EPPRegistryRGP root element.
| Constructor Detail |
|---|
public EPPRegistryRGP()
null. Must
call setRedemptionPeriod(EPPRegistryRedemptionPeriodType),
setPendingRestorePeriod(EPPRegistryPendingRestorePeriodType) and
setPendingDeletePeriod(EPPRegistryPendingDeletePeriodType)
before calling encode(Document) method.
| Method Detail |
|---|
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 aElement
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPRegistryRGP.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPRegistryRGP
java.lang.CloneNotSupportedException - standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
EPPRegistryRGP compare.
equals in class java.lang.ObjectaObject - EPPRegistryRGP instance to compare with
true 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 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||