public class TdbControlObjectList extends TdbMessageProvidingList<TdbControlObject> implements com.tietoenator.trip.jxp.internal.utils.DOMSink
| Constructor and Description |
|---|
TdbControlObjectList(TdbControlObjectList r)
Copy constructor, used to derive a list from an existing list; doesn't copy
the last document reference
|
TdbControlObjectList(TdbSession session,
TdbInterfaceType type)
Constructor, should only be used by a derived class
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(java.lang.String name)
Checks if the list contains a control object specified by name.
|
boolean |
contains(java.lang.String name,
TdbControlObjectType type)
Checks if the list contains a control object specified by name and type.
|
TdbControlObject |
get(java.lang.String name,
TdbControlObjectType type)
Returns the specified control object if present in the list.
|
void |
refresh()
Refresh the list with the latest view from the server; note that if this
list was constructed using the copy constructor from an existing list, this
call will fail with an exception (UNEXPECTED_STATE) thrown.
|
<T> java.util.List<T> |
transform(TdbTransformer<T> tx)
Transform each element of the control object list, i.e.
|
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArraycodeList, getLastCode, getLastMessage, hasMessages, messageList, resetMessagescancel, getSession, isCancelable, setCancelablepublic TdbControlObjectList(TdbSession session, TdbInterfaceType type) throws TdbException
session - Active sessiontype - Type of connection for which this list is validTdbExceptionpublic TdbControlObjectList(TdbControlObjectList r) throws TdbException
r - Existing list from which to copyTdbExceptionpublic boolean contains(java.lang.String name,
TdbControlObjectType type)
name - Name of control object to check fortype - Type of control object to check forpublic TdbControlObject get(java.lang.String name, TdbControlObjectType type)
name - Name of control object to obtain.type - Type of control object to obtain.public boolean contains(java.lang.String name)
name - Name of control object to check forpublic void refresh()
throws TdbException
TdbExceptionpublic <T> java.util.List<T> transform(TdbTransformer<T> tx)
T - The runtime type of each object that will be created by this transformationtx - The transformer capable of creating objects of type T from TdbControlObject