|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectru.biosoft.access.DataElementSupport
ru.biosoft.access.AbstractDataCollection
ru.biosoft.access.VectorDataCollection
ru.biosoft.access.DataCollectionUnion2
| Field Summary | |
protected java.util.ArrayList |
children
|
| Fields inherited from class ru.biosoft.access.VectorDataCollection |
INITIAL_SIZE, vector |
| Fields inherited from class ru.biosoft.access.AbstractDataCollection |
cat, info, notificationEnabled, path, propagationEnabled, v_cache |
| Constructor Summary | |
DataCollectionUnion2(DataCollection[] collections,
java.util.Properties properties)
|
|
DataCollectionUnion2(DataCollection dc,
java.util.Properties properties)
|
|
| Method Summary | |
void |
addCollection(DataCollection child)
Add all elements from specified collection to union. |
void |
close()
Closes data collection, releases all resources. |
void |
elementAdded(DataCollectionEvent event)
Called after data element was added. |
void |
elementChanged(DataCollectionEvent event)
Called after data element was changed. |
void |
elementRemoved(DataCollectionEvent event)
Called after data element was removed. |
void |
elementWillAdd(DataCollectionEvent event)
Called before data element will be added. |
void |
elementWillChange(DataCollectionEvent event)
Called before data element will be changed. |
void |
elementWillRemove(DataCollectionEvent event)
Called before data element will be removed. |
DataElement |
get(java.lang.String name)
Returns the DataElement with the specified name.
|
DataElement |
put(DataElement de)
Adds the specified data element to the collection. |
void |
removeCollection(java.lang.String name)
Removes all elements contained in collection with specified name from union. |
| Methods inherited from class ru.biosoft.access.VectorDataCollection |
doGet, doPut, doRemove, getAt, getNameList, getSize, iterator, toArray |
| Methods inherited from class ru.biosoft.access.DataElementSupport |
getName, getOrigin, registerConstructorWithBadEqual |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ru.biosoft.access.DataCollection |
addDataCollectionListener, contains, contains, getCompleteName, getDataElementType, getInfo, getNameList, getSize, isMutable, isNotificationEnabled, isPropagationEnabled, iterator, propagateElementChanged, propagateElementWillChange, release, remove, removeDataCollectionListener, setNotificationEnabled, setPropagationEnabled |
| Methods inherited from interface ru.biosoft.access.DataElement |
getName, getOrigin |
| Field Detail |
protected java.util.ArrayList children
| Constructor Detail |
public DataCollectionUnion2(DataCollection dc,
java.util.Properties properties)
throws java.lang.Exception
public DataCollectionUnion2(DataCollection[] collections,
java.util.Properties properties)
| Method Detail |
public void addCollection(DataCollection child)
CollectionUnion
addCollection in interface CollectionUnionchild - Collection with data elements which will be added to union.public void removeCollection(java.lang.String name)
CollectionUnion
removeCollection in interface CollectionUnionname - Simple name of data collection which contains elements to remove
from union.
public DataElement get(java.lang.String name)
throws java.lang.Exception
DataCollectionDataElement with the specified name.
Returns null if the data collection
contains no data element for this name.
get in interface DataCollectionget in class AbstractDataCollectionname - Name of the data element (cannot be null).
java.lang.Exception - If error raised in AbstractDataCollection.doGet(String)AbstractDataCollection.doGet(String),
AbstractDataCollection.v_cachepublic DataElement put(DataElement de)
DataCollection
put in interface DataCollectionput in class VectorDataCollectionde - element to be added to this data collection.
null if it did not have one.AbstractDataCollection.put(DataElement)
public void close()
throws java.lang.Exception
DataCollection
close in interface DataCollectionclose in class VectorDataCollectionjava.lang.Exception
public void elementWillRemove(DataCollectionEvent event)
throws DataCollectionVetoException,
java.lang.Exception
DataCollectionListener
elementWillRemove in interface DataCollectionListenerevent - DataCollectionEvent information about will removed data element.
DataCollectionVetoException - If listener cancel removing of data element.
java.lang.Exception - If error occured.
public void elementRemoved(DataCollectionEvent event)
throws java.lang.Exception
DataCollectionListener
elementRemoved in interface DataCollectionListenerevent - DataCollectionEvent information about removed data element.
java.lang.Exception - If error occured.
public void elementWillAdd(DataCollectionEvent event)
throws DataCollectionVetoException,
java.lang.Exception
DataCollectionListener
elementWillAdd in interface DataCollectionListenerevent - DataCollectionEvent information about will added data element.
DataCollectionVetoException - If listener cancel adding of data element.
java.lang.Exception - If error occured.
public void elementAdded(DataCollectionEvent event)
throws java.lang.Exception
DataCollectionListener
elementAdded in interface DataCollectionListenerevent - DataCollectionEvent information about added data element.
java.lang.Exception - If error occured.
public void elementWillChange(DataCollectionEvent event)
throws DataCollectionVetoException,
java.lang.Exception
DataCollectionListenere contains old data element (which will be changed).
elementWillChange in interface DataCollectionListenerevent - DataCollectionEvent information about will change data element.
DataCollectionVetoException - If listener cancel changing of data element.
java.lang.Exception - If error occured.
public void elementChanged(DataCollectionEvent event)
throws java.lang.Exception
DataCollectionListenere contains old data element (which already changed).
elementChanged in interface DataCollectionListenerevent - DataCollectionEvent information about changed data element.
java.lang.Exception - If error occured.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||