|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.datamixer.collections.DatamixerCollection
org.datamixer.collections.DatamixerList
org.datamixer.collections.Values
| Field Summary | |
static java.util.List |
ACTIONS
action names |
static int |
ADD_VALUE_EVENT
|
static java.lang.String |
ADD_VALUE_EVENT_NAME
|
protected java.util.List |
list_
|
protected java.util.Map |
valueMap_
|
| Fields inherited from class org.datamixer.collections.DatamixerCollection |
dataType_, debugEnabled_, formatPattern_, id_, initialized_, logger_, name_, repeat_ |
| Constructor Summary | |
Values()
|
|
| Method Summary | |
java.lang.String |
actionToString(int action)
|
boolean |
add(java.lang.Object o)
|
Value |
addValue(Value value)
Adds value to this list. |
java.lang.Object |
clone()
Returns a deep copy. |
boolean |
contains(java.lang.Object o)
Returns true if this collection contains obj. |
boolean |
containsAll(java.util.Collection coll)
Returns true if this collection contains all of the elements
in coll. |
protected DatamixerIterator |
createIterator()
Returns an iterator over the elements contained in this collection. |
protected java.lang.Object |
doGet(int index)
|
protected int |
doGetSize()
|
protected void |
doInitialize()
|
Value |
findValue(java.lang.String[] names)
Locate a nested value by names. |
java.util.List |
getActions()
|
java.util.List |
getList()
Adds value to this list. |
Value |
getValue(int index)
Returns the element at index, wrapped in a Value. |
Value |
getValue(java.lang.String name)
Get value by name. |
java.util.Map |
getValueMap()
Adds value to this list. |
void |
handleDatamixerEvent(DatamixerEvent e)
|
java.lang.Object[] |
newArray(int size)
Returns the elements in this list as an array of length size. |
protected void |
setList(java.util.List list)
Adds value to this list. |
protected void |
setValueMap(java.util.Map map)
Adds value to this list. |
int |
stringToAction(java.lang.String s)
|
java.lang.Object[] |
toArray()
Returns an array containing all of the elements in this collection. |
java.lang.Object[] |
toArray(java.lang.Object[] target)
Returns an array containing all of the elements in this collection; the runtime type of the returned array is that of target. |
java.lang.String |
toString()
|
protected void |
updateValueMap(Value value)
Adds value to this list. |
| Methods inherited from class org.datamixer.collections.DatamixerList |
add, addAll, get, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList |
| Methods inherited from class org.datamixer.collections.DatamixerCollection |
addAll, clear, error, getDatamixerIterator, getDataType, getFormatPattern, getId, getName, getRepeat, getSize, initialize, isEmpty, iterator, remove, removeAll, retainAll, setDataType, setFormatPattern, setId, setName, setRepeat, size |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
addAll, clear, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size |
| Field Detail |
public static final int ADD_VALUE_EVENT
public static final java.lang.String ADD_VALUE_EVENT_NAME
public static final java.util.List ACTIONS
protected java.util.List list_
protected java.util.Map valueMap_
| Constructor Detail |
public Values()
| Method Detail |
public java.lang.Object clone()
public java.lang.String toString()
public boolean add(java.lang.Object o)
add in interface java.util.Listadd in class DatamixerCollectionpublic boolean contains(java.lang.Object o)
DatamixerListtrue if this collection contains obj.
contains in interface java.util.Listcontains in class DatamixerListpublic boolean containsAll(java.util.Collection coll)
DatamixerListtrue if this collection contains all of the elements
in coll.
containsAll in interface java.util.ListcontainsAll in class DatamixerListpublic java.lang.Object[] toArray()
DatamixerList
toArray in interface java.util.ListtoArray in class DatamixerListpublic java.lang.Object[] toArray(java.lang.Object[] target)
DatamixerListtarget.
toArray in interface java.util.ListtoArray in class DatamixerList
public void handleDatamixerEvent(DatamixerEvent e)
throws DatamixerException
handleDatamixerEvent in interface DatamixerListenerDatamixerExceptionpublic java.lang.String actionToString(int action)
actionToString in interface DatamixerListenerpublic int stringToAction(java.lang.String s)
stringToAction in interface DatamixerListenerpublic java.util.List getActions()
getActions in interface DatamixerListener
protected void doInitialize()
throws DatamixerException
doInitialize in class DatamixerCollectionDatamixerExceptionprotected int doGetSize()
doGetSize in class DatamixerCollectionprotected DatamixerIterator createIterator()
createIterator in class DatamixerCollectionpublic Value getValue(int index)
DatamixerListValue.
getValue in class DatamixerListprotected java.lang.Object doGet(int index)
doGet in class DatamixerListpublic java.lang.Object[] newArray(int size)
DatamixerListsize. If size is greater than the length of the
list, the additional elements in the array are null.
newArray in class DatamixerListpublic Value addValue(Value value)
value to this list. Returns value.
protected void updateValueMap(Value value)
value to this list. Returns value.
public java.util.List getList()
value to this list. Returns value.
protected void setList(java.util.List list)
value to this list. Returns value.
public java.util.Map getValueMap()
value to this list. Returns value.
protected void setValueMap(java.util.Map map)
value to this list. Returns value.
public Value getValue(java.lang.String name)
name.
public Value findValue(java.lang.String[] names)
throws DatamixerException
names.
DatamixerException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||