|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.vamsas.client.Vobject
uk.ac.vamsas.objects.core.Provenance
Class Provenance.
Field Summary |
Fields inherited from class uk.ac.vamsas.client.Vobject |
__added_since_last_read, __last_hash, __stored_in_document, __updated_since_last_read, __visited, __vorba, registerable, V_parent, vorbaId |
Constructor Summary | |
Provenance()
|
Method Summary | |
void |
addEntry(Entry vEntry)
|
void |
addEntry(int index,
Entry vEntry)
|
java.util.Enumeration |
enumerateEntry()
Method enumerateEntry. |
boolean |
equals(java.lang.Object obj)
Overrides the java.lang.Object.equals method. |
Entry[] |
getEntry()
Method getEntry.Returns the contents of the collection in an Array. |
Entry |
getEntry(int index)
Method getEntry. |
java.util.Vector |
getEntryAsReference()
Method getEntryAsReference.Returns a reference to '_entryList'. |
int |
getEntryCount()
Method getEntryCount. |
int |
hashCode()
Overrides the java.lang.Object.hashCode method. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllEntry()
|
boolean |
removeEntry(Entry vEntry)
Method removeEntry. |
Entry |
removeEntryAt(int index)
Method removeEntryAt. |
void |
setEntry(Entry[] vEntryArray)
|
void |
setEntry(int index,
Entry vEntry)
|
void |
setEntry(java.util.Vector vEntryList)
Sets the value of '_entryList' by copying the given Vector. |
void |
setEntryAsReference(java.util.Vector entryVector)
Deprecated. |
static Provenance |
unmarshal(java.io.Reader reader)
Method unmarshal. |
void |
validate()
|
Methods inherited from class uk.ac.vamsas.client.Vobject |
__callHash, __ensure_instance_ids, __ensure_instance_ids, __getInstanceIdField, __getLHash, __setFinalHash, __setInitHash, doHash, finalize, get__last_hash, getV_parent, getVorbaId, is__stored_in_document, isNewInDocument, isRegisterable, isRegistered, isUpdated, merge, set__added_since_last_read, set__stored_in_document, set__updated_since_last_read, setInstanceIdField, setRegisterable, setV_parent, setVorbaId |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Provenance()
Method Detail |
public void addEntry(Entry vEntry) throws java.lang.IndexOutOfBoundsException
vEntry
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void addEntry(int index, Entry vEntry) throws java.lang.IndexOutOfBoundsException
index
- vEntry
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic java.util.Enumeration enumerateEntry()
public boolean equals(java.lang.Object obj)
obj
-
public Entry getEntry(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic Entry[] getEntry()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public java.util.Vector getEntryAsReference()
public int getEntryCount()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
hashCode
in class Vobject
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
-
org.exolab.castor.xml.MarshalException
- if object is null or if any SAXException is thrown during
marshaling
org.exolab.castor.xml.ValidationException
- if this object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
java.io.IOException
- if an IOException occurs during marshaling
org.exolab.castor.xml.ValidationException
- if this object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException
- if object is null or if any SAXException is thrown during
marshalingpublic void removeAllEntry()
public boolean removeEntry(Entry vEntry)
vEntry
-
public Entry removeEntryAt(int index)
index
-
public void setEntry(int index, Entry vEntry) throws java.lang.IndexOutOfBoundsException
index
- vEntry
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void setEntry(Entry[] vEntryArray)
vEntryArray
- public void setEntry(java.util.Vector vEntryList)
vEntryList
- the Vector to copy.public void setEntryAsReference(java.util.Vector entryVector)
entryVector
- the Vector to set.public static Provenance unmarshal(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
-
org.exolab.castor.xml.MarshalException
- if object is null or if any SAXException is thrown during
marshaling
org.exolab.castor.xml.ValidationException
- if this object is an invalid instance according to the schemapublic void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
- if this object is an invalid instance according to the schema
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |