|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.whowas.EPPWhoWasHistory
public class EPPWhoWasHistory
Represents the <whowas:history> element returned as child element of
<whowas:infData> element in the EPP WhoWas Response. This class will
contain list of one or more EPPWhoWasRecord
. Each
EPPWhoWasRecord
will be represented by <whowas:rec:> element.
EPPWhoWasInfoResp
,
EPPWhoWasRecord
,
Serialized FormConstructor Summary | |
---|---|
EPPWhoWasHistory()
Default constructor |
Method Summary | |
---|---|
void |
addRecord(EPPWhoWasRecord aEPPWhoWasRec)
Adds a aEPPWhoWasRec to the list of records. |
java.lang.Object |
clone()
Does a deep clone of the EPPWhoWasHistory instance. |
void |
decode(org.w3c.dom.Element aElement)
Decodes the EPPWhoWasHistory from the aElement DOM
Element tree and creates list of EPPWhoWasRecord objects. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Returns the Root DOM Element tree created from EPPWhoWasHistory
instance. |
boolean |
equals(java.lang.Object o)
Compares two EPPWhoWasHistory instances. |
java.util.List |
getRecords()
Returns the records |
void |
setRecords(java.util.List aRecords)
Sets records value to aRecords . |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EPPWhoWasHistory()
Method Detail |
---|
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPWhoWasHistory
from the aElement
DOM
Element tree and creates list of EPPWhoWasRecord
objects.
decode
in interface EPPCodecComponent
aElement
- - Root DOM Element to decode EPPWhoWasHistory
from.
EPPDecodeException
- Unable to decode aElementpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPWhoWasHistory
instance.
encode
in interface EPPCodecComponent
aDocument
- - DOM Document that is being built. Used as an Element factory.
EPPWhoWasHistory
instance.
EPPEncodeException
- - Unable to encode EPPWhoWasRecord
instance.public void addRecord(EPPWhoWasRecord aEPPWhoWasRec)
aEPPWhoWasRec
to the list of records.
aEPPWhoWasRec
- EPPWhoWasRec to add
java.lang.IllegalArgumentException
- if passed aEPPWhoWasRec is nullpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPWhoWasHistory
instance.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic boolean equals(java.lang.Object o)
EPPWhoWasHistory
instances.
equals
in class java.lang.Object
true
if equal;false
otherwise.public java.util.List getRecords()
public void setRecords(java.util.List aRecords)
aRecords
.
aRecords
- the records to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |