|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.Vector
context.arch.service.helper.FunctionDescriptions
This class maintains a list of function descriptions.
FunctionDescription,
Serialized Form| Field Summary | |
static java.lang.String |
FUNCTIONS
Tag for a widget's service functions |
| Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
FunctionDescriptions()
Basic empty constructor |
|
FunctionDescriptions(DataObject data)
Constructor that takes a DataObject as a parameter. |
|
| Method Summary | |
void |
addFunctionDescription(FunctionDescription function)
Adds the given FunctionDescription object to the container. |
void |
addFunctionDescription(java.lang.String name,
java.lang.String description,
Attributes atts,
java.lang.String timing)
Adds the given function name, description and timing to the container. |
void |
addFunctionDescription(java.lang.String name,
java.lang.String description,
java.lang.String timing)
Adds the given function name, description and timing to the container. |
void |
addFunctionDescriptions(FunctionDescriptions functions)
Adds the given FunctionDescriptions object to the container. |
FunctionDescription |
getFunctionDescription(java.lang.String name)
This method returns the FunctionDescription with the given name from this list of FunctionDescriptions. |
FunctionDescription |
getFunctionDescriptionAt(int index)
Returns the FunctionDescription object at the given index |
boolean |
hasFunctionDescription(FunctionDescription function)
Determines whether the given FunctionDescription object is in the container |
boolean |
hasFunctionDescription(java.lang.String name)
Determines whether a function with the given name is in the container |
boolean |
hasFunctionDescription(java.lang.String name,
java.lang.String description,
java.lang.String timing)
Determines whether the given function name and description are in the container. |
int |
indexOfFunctionDescription(FunctionDescription function)
Returns the index at which the FunctionDescription object occurs |
int |
indexOfFunctionDescription(java.lang.String name,
java.lang.String description,
Attributes atts,
java.lang.String timing)
Returns the index at which the given function name and description occurs |
int |
indexOfFunctionDescription(java.lang.String name,
java.lang.String description,
java.lang.String timing)
Returns the index at which the given function name and description occurs |
int |
numFunctionDescriptions()
Returns the number of FunctionDescriptions in the container return the number of FunctionDescriptions in the container |
DataObject |
toDataObject()
Converts to a DataObject. |
| Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
| Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
| Field Detail |
public static final java.lang.String FUNCTIONS
| Constructor Detail |
public FunctionDescriptions()
public FunctionDescriptions(DataObject data)
data - DataObject that contains the function descriptions info| Method Detail |
public DataObject toDataObject()
public void addFunctionDescription(FunctionDescription function)
function - FunctionDescription to add
public void addFunctionDescription(java.lang.String name,
java.lang.String description,
java.lang.String timing)
name - Name of the function to adddescription - Descripion of the function being addedtiming - Timing of the function being added
public void addFunctionDescription(java.lang.String name,
java.lang.String description,
Attributes atts,
java.lang.String timing)
name - Name of the function to adddescription - Descripion of the function being addedatts - Attributes of the function being addedtiming - Timing of the function being addedpublic void addFunctionDescriptions(FunctionDescriptions functions)
functions - FunctionDescriptions to addpublic FunctionDescription getFunctionDescriptionAt(int index)
index - Index into the container
public boolean hasFunctionDescription(FunctionDescription function)
function - FunctionDescription to check
public boolean hasFunctionDescription(java.lang.String name,
java.lang.String description,
java.lang.String timing)
name - Name of the function to checkdescription - Description of the function to checktiming - Description of the function timing
public boolean hasFunctionDescription(java.lang.String name)
name - Name of the function to look for
public int indexOfFunctionDescription(FunctionDescription function)
function - FunctionDescription to look for
public int indexOfFunctionDescription(java.lang.String name,
java.lang.String description,
java.lang.String timing)
name - Name of the function to look fordescription - Description of the function to look fortiming - Function timing to look for
public int indexOfFunctionDescription(java.lang.String name,
java.lang.String description,
Attributes atts,
java.lang.String timing)
name - Name of the function to look fordescription - Description of the function to look fortiming - Function timing to look forpublic int numFunctionDescriptions()
public FunctionDescription getFunctionDescription(java.lang.String name)
name - of the FunctionDescription to return
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||