Package com.verisign.epp.codec.rgpext
Class EPPRgpExtReport
- java.lang.Object
-
- com.verisign.epp.codec.rgpext.EPPRgpExtReport
-
- All Implemented Interfaces:
EPPCodecComponent,java.io.Serializable,java.lang.Cloneable
public class EPPRgpExtReport extends java.lang.Object implements EPPCodecComponent
The EPPRgpExtReport is the EPPCodecComponent that knows how to encode and decode RGP report elements from/to XML and object instance.Title: EPP 1.0 RGP
Description: RGP Extension to the EPP SDK
Copyright: Copyright (c) 2004
Company: VeriSign
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_DEL_TIMEElement tag name for the delTime elementstatic java.lang.StringELM_NAMEElement tag name for the reportstatic java.lang.StringELM_OTHERElement tag name for the other elementstatic java.lang.StringELM_POST_DATAElement tag name for the postData Elementstatic java.lang.StringELM_PRE_DATAElement tag name for the preData elementstatic java.lang.StringELM_RES_TIMEElement tag name for the resTime element
-
Constructor Summary
Constructors Constructor Description EPPRgpExtReport()Instantiate a new instance of the EPPCodecComponent EPPRgpExtReportEPPRgpExtReport(java.lang.String aPreData, java.lang.String aPostData, java.util.Date aDeleteTime, java.util.Date aRestoreTime, EPPRgpExtReportText aRestoreReason, EPPRgpExtReportText aStatement1)CreatesEPPRgpExtReportwith required attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Objectclone()CloneEPPRgpExtReport.voiddecode(org.w3c.dom.Element aElement)Populate the data of this instance with the data stored in the given Element of the DOM treeorg.w3c.dom.Elementencode(org.w3c.dom.Document aDocument)Attach all data to the DOM Document passed in.booleanequals(java.lang.Object aObject)Implements a deepEPPRgpExtReportcompare.java.util.DategetDeleteTime()Get the deleteTime valuejava.lang.StringgetNamespace()Returns the XML namespace associated with theEPPCodecComponent.java.lang.StringgetOther()Get the other value (optional)java.lang.StringgetPostData()get the postData valuejava.lang.StringgetPreData()Gets the preWhois valuejava.lang.StringgetPreWhois()Deprecated.UsegetPreData()EPPRgpExtReportTextgetRestoreReason()Get the restoreReason valuejava.util.DategetRestoreTime()Get the restoreTime valueEPPRgpExtReportTextgetStatement1()get the statement1 valueEPPRgpExtReportTextgetStatement2()get the statement2 valuevoidsetDeleteTime(java.util.Date deleteTime)Set the deleteTime valuevoidsetOther(java.lang.String other)Set the other value on this instancevoidsetPostData(java.lang.String aPostData)Set the postWhois valuevoidsetPreData(java.lang.String aPreData)Set the preWhois valuevoidsetPreWhois(java.lang.String preWhois)Deprecated.voidsetRestoreReason(EPPRgpExtReportText restoreReason)Set the restoreReason valuevoidsetRestoreTime(java.util.Date restoreTime)Set the restoreTime valuevoidsetStatement1(EPPRgpExtReportText statement1)Set the statement1 valuevoidsetStatement2(EPPRgpExtReportText statement2)Set the statement 2 value.
-
-
-
Field Detail
-
ELM_NAME
public static final java.lang.String ELM_NAME
Element tag name for the report- See Also:
- Constant Field Values
-
ELM_PRE_DATA
public static final java.lang.String ELM_PRE_DATA
Element tag name for the preData element- See Also:
- Constant Field Values
-
ELM_POST_DATA
public static final java.lang.String ELM_POST_DATA
Element tag name for the postData Element- See Also:
- Constant Field Values
-
ELM_DEL_TIME
public static final java.lang.String ELM_DEL_TIME
Element tag name for the delTime element- See Also:
- Constant Field Values
-
ELM_RES_TIME
public static final java.lang.String ELM_RES_TIME
Element tag name for the resTime element- See Also:
- Constant Field Values
-
ELM_OTHER
public static final java.lang.String ELM_OTHER
Element tag name for the other element- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPRgpExtReport
public EPPRgpExtReport()
Instantiate a new instance of the EPPCodecComponent EPPRgpExtReport
-
EPPRgpExtReport
public EPPRgpExtReport(java.lang.String aPreData, java.lang.String aPostData, java.util.Date aDeleteTime, java.util.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 Detail
-
encode
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionAttach 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
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeExceptionPopulate 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
public boolean equals(java.lang.Object aObject)
Implements a deepEPPRgpExtReportcompare.- Overrides:
equalsin classjava.lang.Object- Parameters:
aObject-EPPRgpExtReportinstance to compare with- Returns:
- true if equal false otherwise
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPRgpExtReport.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classjava.lang.Object- Returns:
- clone of
EPPRgpExtReport - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
getPreWhois
@Deprecated public java.lang.String getPreWhois()
Deprecated.UsegetPreData()Gets the preWhois value- Returns:
- the preWhois value
-
setPreWhois
@Deprecated public void setPreWhois(java.lang.String preWhois)
Deprecated.Set the preWhois value- Parameters:
preWhois- the new preWhois value
-
getPreData
public java.lang.String getPreData()
Gets the preWhois value- Returns:
- the preWhois value
-
setPreData
public void setPreData(java.lang.String aPreData)
Set the preWhois value- Parameters:
aPreData- the new preWhois value
-
getPostData
public java.lang.String getPostData()
get the postData value- Returns:
- the postData value
-
setPostData
public void setPostData(java.lang.String aPostData)
Set the postWhois value- Parameters:
aPostData- The new postWhois value
-
getDeleteTime
public java.util.Date getDeleteTime()
Get the deleteTime value- Returns:
- the deleteTime value
-
setDeleteTime
public void setDeleteTime(java.util.Date deleteTime)
Set the deleteTime value- Parameters:
deleteTime- the new deleteTime value
-
getRestoreTime
public java.util.Date getRestoreTime()
Get the restoreTime value- Returns:
- the restoreTime value
-
setRestoreTime
public void setRestoreTime(java.util.Date restoreTime)
Set the restoreTime value- Parameters:
restoreTime- the new restoreTime value
-
getStatement1
public EPPRgpExtReportText getStatement1()
get the statement1 value- Returns:
- the statement1 value
-
setStatement1
public void setStatement1(EPPRgpExtReportText statement1)
Set the statement1 value- Parameters:
statement1- the new statement1 value
-
getStatement2
public EPPRgpExtReportText getStatement2()
get the statement2 value- Returns:
- the statement2 value
-
setStatement2
public void setStatement2(EPPRgpExtReportText statement2)
Set the statement 2 value.- Parameters:
statement2- The new statement2 value
-
getRestoreReason
public EPPRgpExtReportText getRestoreReason()
Get the restoreReason value- Returns:
- the current restoreReason value
-
setRestoreReason
public void setRestoreReason(EPPRgpExtReportText restoreReason)
Set the restoreReason value- Parameters:
restoreReason- the new restoreReason Value
-
getOther
public java.lang.String getOther()
Get the other value (optional)- Returns:
- the other value
-
setOther
public void setOther(java.lang.String other)
Set the other value on this instance- Parameters:
other- the new other value
-
getNamespace
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-
-