|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.nameWatch.EPPNameWatchRptTo
public class EPPNameWatchRptTo
Specifies the e-mail address to send the NameWatch reports and the frequency
of the reports.
| Field Summary | |
|---|---|
static java.lang.String |
RPTTO_FREQ_DAILY
Daily Report Frequency |
static java.lang.String |
RPTTO_FREQ_MONTHLY
Monthly Report Frequency |
static java.lang.String |
RPTTO_FREQ_WEEKLY
Weekly Report Frequency |
| Constructor Summary | |
|---|---|
EPPNameWatchRptTo()
EPPNameWatchRptTo default constructor. |
|
EPPNameWatchRptTo(java.lang.String aRptTo)
EPPNameWatchRptTo constructor that takes the nameWatch
e-mail address to report to. |
|
EPPNameWatchRptTo(java.lang.String aFreqType,
java.lang.String aRptTo)
EPPNameWatchRptTo constructor that takes the nameWatch
frequency and namewatch e-mail address to report to. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPNameWatchRptTo. |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPNameWatchRptTo 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 EPPNameWatchRptTo instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPNameWatchRptTo compare. |
java.lang.String |
getFreqType()
Get nameWatch report frequency. |
java.lang.String |
getRptTo()
Gets the email address to report to. |
boolean |
isRptToUnspec()
Test whether the report to attribute is unspecified. |
void |
setFreqType(java.lang.String newFreqType)
Sets the frequency of the report. |
void |
setRptTo(java.lang.String newRptTo)
Sets the namewatch e-mail address to report to. |
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 RPTTO_FREQ_DAILY
public static final java.lang.String RPTTO_FREQ_WEEKLY
public static final java.lang.String RPTTO_FREQ_MONTHLY
| Constructor Detail |
|---|
public EPPNameWatchRptTo()
EPPNameWatchRptTo default constructor. The period is
initialized to unspecified. The period must be set
before invoking encode.
public EPPNameWatchRptTo(java.lang.String aRptTo)
EPPNameWatchRptTo constructor that takes the nameWatch
e-mail address to report to. The frequency is set to
RPTTO_FREQ_DAILY.
aRptTo - e-mail address to report to.
public EPPNameWatchRptTo(java.lang.String aFreqType,
java.lang.String aRptTo)
EPPNameWatchRptTo constructor that takes the nameWatch
frequency and namewatch e-mail address to report to.
aFreqType - Report frequency, which should be one of the
RPTTO_FREQ_ constant values. If null,
it will be set to RPTTO_FREQ_DAILY by default.aRptTo - E-mail address to report to.| Method Detail |
|---|
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPNameWatchRptTo.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPNameWatchRptTo
java.lang.CloneNotSupportedException - standard Object.clone exception
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
decode in interface EPPCodecComponentaElement - - Root DOM Element to decode EPPNameWatchRptTo from.
EPPDecodeException - Unable to decode aElement
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - - DOM Document that is being built. Used as an Element
factory.
EPPEncodeException - - Unable to encode EPPNameWatchRptTo
instance.public boolean equals(java.lang.Object aObject)
EPPNameWatchRptTo compare.
equals in class java.lang.ObjectaObject - EPPNameWatchRptTo instance to compare with
public java.lang.String getRptTo()
null
otherwise.public java.lang.String getFreqType()
RPTTO_FREQ_ constant values.public boolean isRptToUnspec()
true is unspecified and false is
specified.
public void setRptTo(java.lang.String newRptTo)
throws EPPCodecException
newRptTo - e-mail address to report to
EPPCodecException - Format errorpublic void setFreqType(java.lang.String newFreqType)
newFreqType - Should be one of the RPTTO_FREQ_
constant values.public 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||