|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection java.util.AbstractList java.util.Vector context.arch.service.helper.ServiceDescriptions
This class maintains a list of service descriptions.
Service
,
Serialized FormField Summary | |
static java.lang.String |
SERVICES
Tag for a widget's services |
Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
ServiceDescriptions()
Basic empty constructor |
|
ServiceDescriptions(DataObject data)
Constructor that takes a DataObject as a parameter. |
Method Summary | |
void |
addServiceDescription(ServiceDescription service)
Adds the given ServiceDescription object to the container. |
void |
addServiceDescription(java.lang.String name,
FunctionDescriptions descriptions)
Adds the given service description to the container. |
void |
addServiceDescriptions(ServiceDescriptions services)
Adds the given ServiceDescriptions object to the container. |
ServiceDescription |
getServiceDescription(java.lang.String name)
This method returns the ServiceDescription with the given name from this list of ServiceDescriptions. |
ServiceDescription |
getServiceDescriptionAt(int index)
Returns the ServiceDescription object at the given index |
boolean |
hasServiceDescription(ServiceDescription service)
Determines whether the given ServiceDescription object is in the container |
boolean |
hasServiceDescription(java.lang.String name)
Determines whether a service with the given name is in the container |
boolean |
hasServiceDescription(java.lang.String name,
FunctionDescriptions descriptions)
Determines whether the given service description is in the container. |
int |
indexOfServiceDescription(ServiceDescription service)
Returns the index at which the ServiceDescription object occurs |
int |
indexOfServiceDescription(java.lang.String name,
FunctionDescriptions descriptions)
Returns the index at which the given service description occurs |
int |
numServiceDescriptions()
Returns the number of ServiceDescriptions in the container return the number of ServiceDescriptions 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 SERVICES
Constructor Detail |
public ServiceDescriptions()
public ServiceDescriptions(DataObject data)
data
- DataObject that contains the service infoMethod Detail |
public DataObject toDataObject()
public void addServiceDescription(ServiceDescription service)
service
- ServiceDescription to addpublic void addServiceDescription(java.lang.String name, FunctionDescriptions descriptions)
name
- Name of the service to adddescriptions
- Descriptions of the service being addedpublic void addServiceDescriptions(ServiceDescriptions services)
services
- ServiceDescriptions to addpublic ServiceDescription getServiceDescriptionAt(int index)
index
- Index into the container
public boolean hasServiceDescription(ServiceDescription service)
public boolean hasServiceDescription(java.lang.String name, FunctionDescriptions descriptions)
name
- Name of the service to checkdescriptions
- Descriptions of the service to check
public boolean hasServiceDescription(java.lang.String name)
name
- Name of the service to look for
public int indexOfServiceDescription(ServiceDescription service)
service
- ServiceDescription to look for
public int indexOfServiceDescription(java.lang.String name, FunctionDescriptions descriptions)
name
- Name of the service to look fordescriptions
- Descriptions of the service to look forpublic int numServiceDescriptions()
public ServiceDescription getServiceDescription(java.lang.String name)
name
- of the Service to return
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |