|
|||||||||||
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.VAMSAS
contains unassociated trees and a number of analysis sets
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 | |
VAMSAS()
|
Method Summary | |
void |
addDataSet(DataSet vDataSet)
|
void |
addDataSet(int index,
DataSet vDataSet)
|
void |
addTree(int index,
Tree vTree)
|
void |
addTree(Tree vTree)
|
java.util.Enumeration |
enumerateDataSet()
Method enumerateDataSet. |
java.util.Enumeration |
enumerateTree()
Method enumerateTree. |
boolean |
equals(java.lang.Object obj)
Overrides the java.lang.Object.equals method. |
DataSet[] |
getDataSet()
Method getDataSet.Returns the contents of the collection in an Array. |
DataSet |
getDataSet(int index)
Method getDataSet. |
java.util.Vector |
getDataSetAsReference()
Method getDataSetAsReference.Returns a reference to '_dataSetList'. |
int |
getDataSetCount()
Method getDataSetCount. |
java.lang.String |
getId()
Returns the value of field 'id'. |
java.lang.String |
getModifiable()
Returns the value of field 'modifiable'. |
Tree[] |
getTree()
Method getTree.Returns the contents of the collection in an Array. |
Tree |
getTree(int index)
Method getTree. |
java.util.Vector |
getTreeAsReference()
Method getTreeAsReference.Returns a reference to '_treeList'. |
int |
getTreeCount()
Method getTreeCount. |
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 |
removeAllDataSet()
|
void |
removeAllTree()
|
boolean |
removeDataSet(DataSet vDataSet)
Method removeDataSet. |
DataSet |
removeDataSetAt(int index)
Method removeDataSetAt. |
boolean |
removeTree(Tree vTree)
Method removeTree. |
Tree |
removeTreeAt(int index)
Method removeTreeAt. |
void |
setDataSet(DataSet[] vDataSetArray)
|
void |
setDataSet(int index,
DataSet vDataSet)
|
void |
setDataSet(java.util.Vector vDataSetList)
Sets the value of '_dataSetList' by copying the given Vector. |
void |
setDataSetAsReference(java.util.Vector dataSetVector)
Deprecated. |
void |
setId(java.lang.String id)
Sets the value of field 'id'. |
void |
setModifiable(java.lang.String modifiable)
Sets the value of field 'modifiable'. |
void |
setTree(int index,
Tree vTree)
|
void |
setTree(Tree[] vTreeArray)
|
void |
setTree(java.util.Vector vTreeList)
Sets the value of '_treeList' by copying the given Vector. |
void |
setTreeAsReference(java.util.Vector treeVector)
Deprecated. |
static VAMSAS |
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 VAMSAS()
Method Detail |
public void addDataSet(DataSet vDataSet) throws java.lang.IndexOutOfBoundsException
vDataSet
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void addDataSet(int index, DataSet vDataSet) throws java.lang.IndexOutOfBoundsException
index
- vDataSet
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void addTree(Tree vTree) throws java.lang.IndexOutOfBoundsException
vTree
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void addTree(int index, Tree vTree) throws java.lang.IndexOutOfBoundsException
index
- vTree
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic java.util.Enumeration enumerateDataSet()
public java.util.Enumeration enumerateTree()
public boolean equals(java.lang.Object obj)
obj
-
public DataSet getDataSet(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic DataSet[] getDataSet()
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 getDataSetAsReference()
public int getDataSetCount()
public java.lang.String getId()
public java.lang.String getModifiable()
public Tree getTree(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic Tree[] getTree()
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 getTreeAsReference()
public int getTreeCount()
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 removeAllDataSet()
public void removeAllTree()
public boolean removeDataSet(DataSet vDataSet)
vDataSet
-
public DataSet removeDataSetAt(int index)
index
-
public boolean removeTree(Tree vTree)
vTree
-
public Tree removeTreeAt(int index)
index
-
public void setDataSet(int index, DataSet vDataSet) throws java.lang.IndexOutOfBoundsException
index
- vDataSet
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void setDataSet(DataSet[] vDataSetArray)
vDataSetArray
- public void setDataSet(java.util.Vector vDataSetList)
vDataSetList
- the Vector to copy.public void setDataSetAsReference(java.util.Vector dataSetVector)
dataSetVector
- the Vector to set.public void setId(java.lang.String id)
id
- the value of field 'id'.public void setModifiable(java.lang.String modifiable)
modifiable
- the value of field 'modifiable'.public void setTree(int index, Tree vTree) throws java.lang.IndexOutOfBoundsException
index
- vTree
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void setTree(Tree[] vTreeArray)
vTreeArray
- public void setTree(java.util.Vector vTreeList)
vTreeList
- the Vector to copy.public void setTreeAsReference(java.util.Vector treeVector)
treeVector
- the Vector to set.public static VAMSAS 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 |