| HEADER | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
DataCollection is a set of homogeneous DataElements.
Every DataElement can be unambiguously accessed from the collection
by its name.
Method names in DataCollection whether it reasonable follows
to convention for Java beans methods, otherwise to convention
used by java.utils.Collection.
| Field Summary | |
final static String | CHILDREN_NODE_IMAGEProperty for storing of image file names used for nodes of DataElement elements stored in LocalRepository collection |
final static String | CHILDREN_NODE_VISIBLEProperty for storing of visible state. |
final static String | CLASS_PROPERTYProperty for storing class of data collection. |
final static String | CLASSPATH_JAR_PROPERTYProperty for storing class of data collection. |
final static String | COMPARATOR_OBJECT |
final static String | CONFIG_FILE_PROPERTYProperty for storing config file name. |
final static String | CONFIG_PATH_PROPERTYProperty for storing path to data collection config file. |
final static String | DATA_ELEMENT_CLASS_PROPERTYProperty for storing class name of data elements stored in this data collection. |
final static String | DEFAULT_CONFIG_FILEProperty for storing name of default data collection's config file. |
final static String | DEFAULT_CONFIG_SUFFIXProperty for storing default suffix of data collection's config file. |
final static String | DEFAULT_FILTER_CONFIG_SUFFIXProperty for storing suffix of FilteredDataCollection data collections |
final static String | DEFAULT_FORMAT_CONFIG_SUFFIXProperty for storing suffix of FileEntryCollection data collections |
final static String | DEFAULT_NODE_CONFIG_SUFFIXProperty for storing suffix of LocalRepository data collections |
final static String | DEFAULT_REPOSITORYProperty for storing name of default repository file. |
final static String | DESCRIPTION_PROPERTYProperty for storing data collection description. |
final static String | DISPLAY_NAME_PROPERTYProperty for storing display name of data collection. |
final static String | FILE_PATH_PROPERTYProperty for storing path to data collection file. |
final static String | FILE_PROPERTYProperty for storing name of data collection's file. |
final static String | FILTER_PROPERTYProperty for storing filter of data collection's file. |
final static String | ID_FORMATFormat for automatical name (identifier) generation. |
final static String | IS_ROOTIndicates whether this data collection should be registered as root by CollectionFactory.registerRoot(ru.biosoft.access.DataCollection). |
final static String | JOB_CONTROL_PROPERTY |
final static String | LATE_CHILDREN_INITIALIZATIONProperty for storing of |
final static String | MUTABLEProperty for checking whether the data collection is mutable |
final static String | NAME_PROPERTYProperty for storing name of data collection. |
final static String | NEXT_CONFIGProperty for storing name of primary data collection config file. |
final static String | NODE_IMAGEProperty for storing of image file names used for nodes of LocalRepository collections |
final static String | NODE_VISIBLEProperty for storing of visible flag. |
final static String | PRIMARY_COLLECTION |
final static String | REMOVE_CHILDRENWhen removing data element from this DC, whether to remove its children |
final static String | TRANSFORMER_CLASSProperty for storing class of transformer for TransformedDataCollection collections |
| Method Summary | |
void | addDataCollectionListener(DataCollectionListener l)Add a listener to the list that's notified each time a change to the data collection occurs. |
void | close()Closes data collection, releases all resources. |
boolean | contains(String name)Returns true if this data collection contains the element with the specified name, false otherwise |
boolean | contains(DataElement element)Returns true if this data collection contains the specified element, false otherwise |
DataElement | get(String name)Returns the DataElement with the specified name. |
String | getCompleteName()Returns complete name of data collection. |
Class | getDataElementType()Returns the type of DataElements stored in the data collection. |
DataCollectionInfo | getInfo()Returns additional info for this data collection. |
List | getNameList()Returns an unmodifiable view of the data element name list. |
int | getSize()Returns the number of elements in this data collection. |
boolean | isMutable()Returns true if this data collection is mutable, false otherwise. |
boolean | isNotificationEnabled() |
boolean | isPropagationEnabled() |
Iterator | iterator()Returns an iterator over the data elements in this collection. |
void | propagateElementChanged(DataCollection source, DataCollectionEvent primaryEvent) |
void | propagateElementWillChange(DataCollection source, DataCollectionEvent primaryEvent) |
DataElement | put(DataElement obj)Adds the specified data element to the collection. |
void | release(String dataElementName)Release DataElement with the specified name from the DataCollection cache. |
void | remove(String name)Removes the specified data element from the collection, if present. |
void | removeDataCollectionListener(DataCollectionListener l)Remove a listener from the list that's notified each time a change to the data collection occurs. |
void | setNotificationEnabled(boolean isEnabled) |
void | setPropagationEnabled(boolean isEnabled) |
| Methods inherited from interface ru.biosoft.access.DataElement |
getName, getOrigin |
| Field Detail |
public final static String CHILDREN_NODE_IMAGE
public final static String CHILDREN_NODE_VISIBLE
public final static String CLASS_PROPERTY
public final static String CLASSPATH_JAR_PROPERTY
public final static String COMPARATOR_OBJECT
public final static String CONFIG_FILE_PROPERTY
public final static String CONFIG_PATH_PROPERTY
public final static String DATA_ELEMENT_CLASS_PROPERTY
public final static String DEFAULT_CONFIG_FILE
public final static String DEFAULT_CONFIG_SUFFIX
public final static String DEFAULT_FILTER_CONFIG_SUFFIX
public final static String DEFAULT_FORMAT_CONFIG_SUFFIX
public final static String DEFAULT_NODE_CONFIG_SUFFIX
public final static String DEFAULT_REPOSITORY
public final static String DESCRIPTION_PROPERTY
public final static String DISPLAY_NAME_PROPERTY
public final static String FILE_PATH_PROPERTY
public final static String FILE_PROPERTY
public final static String FILTER_PROPERTY
public final static String ID_FORMAT
public final static String IS_ROOT
public final static String JOB_CONTROL_PROPERTY
public final static String LATE_CHILDREN_INITIALIZATION
public final static String MUTABLE
public final static String NAME_PROPERTY
public final static String NEXT_CONFIG
public final static String NODE_IMAGE
public final static String NODE_VISIBLE
public final static String PRIMARY_COLLECTION
public final static String REMOVE_CHILDREN
public final static String TRANSFORMER_CLASS
| Method Detail |
public void addDataCollectionListener(DataCollectionListener l)
public void close()
throws java.lang.Exception
public boolean contains(String name)
public boolean contains(DataElement element)
public DataElement get(String name)
throws java.lang.Exception
DataElement with the specified name.
Returns null if the data collection
contains no data element for this name.public String getCompleteName()
public Class getDataElementType()
public DataCollectionInfo getInfo()
null.public List getNameList()
UnsupportedOperationException.
The returned list is backed by the data collection,
so changes to the data collection are reflected in the returned list.
The name list can be sorted or unsorted depending on the DataCollection
implementing class.public int getSize()
public boolean isMutable()
public boolean isNotificationEnabled()
public boolean isPropagationEnabled()
public Iterator iterator()
public void propagateElementChanged(DataCollection source, DataCollectionEvent primaryEvent)
public void propagateElementWillChange(DataCollection source, DataCollectionEvent primaryEvent)
public DataElement put(DataElement obj)
throws java.lang.Exception
public void release(String dataElementName)
public void remove(String name)
throws java.lang.Exception
public void removeDataCollectionListener(DataCollectionListener l)
public void setNotificationEnabled(boolean isEnabled)
public void setPropagationEnabled(boolean isEnabled)
| Association Links |
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
| FOOTER | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||