|
|||||||||||
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.Entry
Class Entry.
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 | |
Entry()
|
Method Summary | |
void |
addInput(Input vInput)
|
void |
addInput(int index,
Input vInput)
|
void |
addParam(int index,
Param vParam)
|
void |
addParam(Param vParam)
|
void |
addProperty(int index,
Property vProperty)
|
void |
addProperty(Property vProperty)
|
java.util.Enumeration |
enumerateInput()
Method enumerateInput. |
java.util.Enumeration |
enumerateParam()
Method enumerateParam. |
java.util.Enumeration |
enumerateProperty()
Method enumerateProperty. |
boolean |
equals(java.lang.Object obj)
Overrides the java.lang.Object.equals method. |
java.lang.String |
getAction()
Returns the value of field 'action'. |
java.lang.String |
getApp()
Returns the value of field 'app'. |
java.util.Date |
getDate()
Returns the value of field 'date'. |
java.lang.String |
getId()
Returns the value of field 'id'. |
Input[] |
getInput()
Method getInput.Returns the contents of the collection in an Array. |
Input |
getInput(int index)
Method getInput. |
java.util.Vector |
getInputAsReference()
Method getInputAsReference.Returns a reference to '_inputList'. |
int |
getInputCount()
Method getInputCount. |
Param[] |
getParam()
Method getParam.Returns the contents of the collection in an Array. |
Param |
getParam(int index)
Method getParam. |
java.util.Vector |
getParamAsReference()
Method getParamAsReference.Returns a reference to '_paramList'. |
int |
getParamCount()
Method getParamCount. |
Property[] |
getProperty()
Method getProperty.Returns the contents of the collection in an Array. |
Property |
getProperty(int index)
Method getProperty. |
java.util.Vector |
getPropertyAsReference()
Method getPropertyAsReference.Returns a reference to '_propertyList'. |
int |
getPropertyCount()
Method getPropertyCount. |
java.lang.String |
getUser()
Returns the value of field 'user'. |
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 |
removeAllInput()
|
void |
removeAllParam()
|
void |
removeAllProperty()
|
boolean |
removeInput(Input vInput)
Method removeInput. |
Input |
removeInputAt(int index)
Method removeInputAt. |
boolean |
removeParam(Param vParam)
Method removeParam. |
Param |
removeParamAt(int index)
Method removeParamAt. |
boolean |
removeProperty(Property vProperty)
Method removeProperty. |
Property |
removePropertyAt(int index)
Method removePropertyAt. |
void |
setAction(java.lang.String action)
Sets the value of field 'action'. |
void |
setApp(java.lang.String app)
Sets the value of field 'app'. |
void |
setDate(java.util.Date date)
Sets the value of field 'date'. |
void |
setId(java.lang.String id)
Sets the value of field 'id'. |
void |
setInput(Input[] vInputArray)
|
void |
setInput(int index,
Input vInput)
|
void |
setInput(java.util.Vector vInputList)
Sets the value of '_inputList' by copying the given Vector. |
void |
setInputAsReference(java.util.Vector inputVector)
Deprecated. |
void |
setParam(int index,
Param vParam)
|
void |
setParam(Param[] vParamArray)
|
void |
setParam(java.util.Vector vParamList)
Sets the value of '_paramList' by copying the given Vector. |
void |
setParamAsReference(java.util.Vector paramVector)
Deprecated. |
void |
setProperty(int index,
Property vProperty)
|
void |
setProperty(Property[] vPropertyArray)
|
void |
setProperty(java.util.Vector vPropertyList)
Sets the value of '_propertyList' by copying the given Vector. |
void |
setPropertyAsReference(java.util.Vector propertyVector)
Deprecated. |
void |
setUser(java.lang.String user)
Sets the value of field 'user'. |
static Entry |
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 Entry()
Method Detail |
public void addInput(Input vInput) throws java.lang.IndexOutOfBoundsException
vInput
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void addInput(int index, Input vInput) throws java.lang.IndexOutOfBoundsException
index
- vInput
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void addParam(Param vParam) throws java.lang.IndexOutOfBoundsException
vParam
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void addParam(int index, Param vParam) throws java.lang.IndexOutOfBoundsException
index
- vParam
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void addProperty(Property vProperty) throws java.lang.IndexOutOfBoundsException
vProperty
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void addProperty(int index, Property vProperty) throws java.lang.IndexOutOfBoundsException
index
- vProperty
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic java.util.Enumeration enumerateInput()
public java.util.Enumeration enumerateParam()
public java.util.Enumeration enumerateProperty()
public boolean equals(java.lang.Object obj)
obj
-
public java.lang.String getAction()
public java.lang.String getApp()
public java.util.Date getDate()
public java.lang.String getId()
public Input getInput(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic Input[] getInput()
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 getInputAsReference()
public int getInputCount()
public Param getParam(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic Param[] getParam()
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 getParamAsReference()
public int getParamCount()
public Property getProperty(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic Property[] getProperty()
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 getPropertyAsReference()
public int getPropertyCount()
public java.lang.String getUser()
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 removeAllInput()
public void removeAllParam()
public void removeAllProperty()
public boolean removeInput(Input vInput)
vInput
-
public Input removeInputAt(int index)
index
-
public boolean removeParam(Param vParam)
vParam
-
public Param removeParamAt(int index)
index
-
public boolean removeProperty(Property vProperty)
vProperty
-
public Property removePropertyAt(int index)
index
-
public void setAction(java.lang.String action)
action
- the value of field 'action'.public void setApp(java.lang.String app)
app
- the value of field 'app'.public void setDate(java.util.Date date)
date
- the value of field 'date'.public void setId(java.lang.String id)
id
- the value of field 'id'.public void setInput(int index, Input vInput) throws java.lang.IndexOutOfBoundsException
index
- vInput
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void setInput(Input[] vInputArray)
vInputArray
- public void setInput(java.util.Vector vInputList)
vInputList
- the Vector to copy.public void setInputAsReference(java.util.Vector inputVector)
inputVector
- the Vector to set.public void setParam(int index, Param vParam) throws java.lang.IndexOutOfBoundsException
index
- vParam
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void setParam(Param[] vParamArray)
vParamArray
- public void setParam(java.util.Vector vParamList)
vParamList
- the Vector to copy.public void setParamAsReference(java.util.Vector paramVector)
paramVector
- the Vector to set.public void setProperty(int index, Property vProperty) throws java.lang.IndexOutOfBoundsException
index
- vProperty
-
java.lang.IndexOutOfBoundsException
- if the index given is outside the bounds of the collectionpublic void setProperty(Property[] vPropertyArray)
vPropertyArray
- public void setProperty(java.util.Vector vPropertyList)
vPropertyList
- the Vector to copy.public void setPropertyAsReference(java.util.Vector propertyVector)
propertyVector
- the Vector to set.public void setUser(java.lang.String user)
user
- the value of field 'user'.public static Entry 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 |