Package com.verisign.epp.codec.rgpext
Class EPPRgpExtReport
java.lang.Object
com.verisign.epp.codec.rgpext.EPPRgpExtReport
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
The
EPPRgpExtReport is the EPPCodecComponent that knows how to encode and
decode RGP report elements from/to XML and object instance.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringElement tag name for the delTime elementstatic final StringElement tag name for the reportstatic final StringElement tag name for the other elementstatic final StringElement tag name for the postData Elementstatic final StringElement tag name for the preData elementstatic final StringElement tag name for the resTime element -
Constructor Summary
ConstructorsConstructorDescriptionInstantiate a new instance of the EPPCodecComponent EPPRgpExtReportEPPRgpExtReport(String aPreData, String aPostData, Date aDeleteTime, Date aRestoreTime, EPPRgpExtReportText aRestoreReason, EPPRgpExtReportText aStatement1) CreatesEPPRgpExtReportwith required attributes. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPRgpExtReport.voidPopulate the data of this instance with the data stored in the given Element of the DOM treeAttach all data to the DOM Document passed in.booleanImplements a deepEPPRgpExtReportcompare.Get the deleteTime valueReturns the XML namespace associated with theEPPCodecComponent.getOther()Get the other value (optional)get the postData valueGets the preWhois valueDeprecated.Get the restoreReason valueGet the restoreTime valueget the statement1 valueget the statement2 valuevoidsetDeleteTime(Date deleteTime) Set the deleteTime valuevoidSet the other value on this instancevoidsetPostData(String aPostData) Set the postWhois valuevoidsetPreData(String aPreData) Set the preWhois valuevoidsetPreWhois(String preWhois) Deprecated.voidsetRestoreReason(EPPRgpExtReportText restoreReason) Set the restoreReason valuevoidsetRestoreTime(Date restoreTime) Set the restoreTime valuevoidsetStatement1(EPPRgpExtReportText statement1) Set the statement1 valuevoidsetStatement2(EPPRgpExtReportText statement2) Set the statement 2 value.
-
Field Details
-
ELM_NAME
Element tag name for the report- See Also:
-
ELM_PRE_DATA
Element tag name for the preData element- See Also:
-
ELM_POST_DATA
Element tag name for the postData Element- See Also:
-
ELM_DEL_TIME
Element tag name for the delTime element- See Also:
-
ELM_RES_TIME
Element tag name for the resTime element- See Also:
-
ELM_OTHER
Element tag name for the other element- See Also:
-
-
Constructor Details
-
EPPRgpExtReport
public EPPRgpExtReport()Instantiate a new instance of the EPPCodecComponent EPPRgpExtReport -
EPPRgpExtReport
public EPPRgpExtReport(String aPreData, String aPostData, Date aDeleteTime, Date aRestoreTime, EPPRgpExtReportText aRestoreReason, EPPRgpExtReportText aStatement1) CreatesEPPRgpExtReportwith required attributes.- Parameters:
aPreData- Pre data / whoisaPostData- Post data / whoisaDeleteTime- Deletion timeaRestoreTime- Restore timeaRestoreReason- Restore reasonaStatement1- Statement
-
-
Method Details
-
encode
Attach all data to the DOM Document passed in.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- The DOM Document to append data to- Returns:
- Encoded DOM
Element - Throws:
EPPEncodeException- Thrown when errors occur during the encode attempt or if the instance is invalid.
-
decode
Populate the data of this instance with the data stored in the given Element of the DOM tree- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- The root element of the report fragment of XML- Throws:
EPPDecodeException- Thrown if any errors occur during decoding.
-
equals
Implements a deepEPPRgpExtReportcompare. -
clone
CloneEPPRgpExtReport.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPRgpExtReport - Throws:
CloneNotSupportedException- standard Object.clone exception
-
getPreWhois
Deprecated.UsegetPreData()Gets the preWhois value- Returns:
- the preWhois value
-
setPreWhois
Deprecated.Set the preWhois value- Parameters:
preWhois- the new preWhois value
-
getPreData
Gets the preWhois value- Returns:
- the preWhois value
-
setPreData
Set the preWhois value- Parameters:
aPreData- the new preWhois value
-
getPostData
get the postData value- Returns:
- the postData value
-
setPostData
Set the postWhois value- Parameters:
aPostData- The new postWhois value
-
getDeleteTime
Get the deleteTime value- Returns:
- the deleteTime value
-
setDeleteTime
Set the deleteTime value- Parameters:
deleteTime- the new deleteTime value
-
getRestoreTime
Get the restoreTime value- Returns:
- the restoreTime value
-
setRestoreTime
Set the restoreTime value- Parameters:
restoreTime- the new restoreTime value
-
getStatement1
get the statement1 value- Returns:
- the statement1 value
-
setStatement1
Set the statement1 value- Parameters:
statement1- the new statement1 value
-
getStatement2
get the statement2 value- Returns:
- the statement2 value
-
setStatement2
Set the statement 2 value.- Parameters:
statement2- The new statement2 value
-
getRestoreReason
Get the restoreReason value- Returns:
- the current restoreReason value
-
setRestoreReason
Set the restoreReason value- Parameters:
restoreReason- the new restoreReason Value
-
getOther
Get the other value (optional)- Returns:
- the other value
-
setOther
Set the other value on this instance- Parameters:
other- the new other value
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-
getPreData()