| java.lang.Object org.netbeans.modules.dbschema.DBMemoryCollection
DBMemoryCollection | class DBMemoryCollection (Code) | | Support class that manages set of objects and fires events
|
Inner Class :static class Column extends Member | |
Inner Class :static class ColumnPair extends Member | |
Inner Class :static class Index extends Member | |
Inner Class :static class Key extends Member | |
Method Summary | |
public void | change(DBElement[] arr, int action) Changes the content of this object. | protected void | change(List c, int action) Changes the content of this object. | public DBElement | getElement(DBIdentifier name) Returns an element specified by the name from this collection. | public DBElement[] | getElements() Returns an array containing all of the elements in this collection. |
DBMemoryCollection | public DBMemoryCollection()(Code) | | Default constructor
|
DBMemoryCollection | public DBMemoryCollection(DBElement.Memory memory, String propertyName, Object[] emptyArray)(Code) | | Creates a new collection.
Parameters: memory - memory element to fire changes Parameters: propertyName - name of property to fire when array changes Parameters: emptyArray - emptyArray instance that provides the type of arrays that should be returned by toArray method |
change | public void change(DBElement[] arr, int action)(Code) | | Changes the content of this object.
Parameters: arr - array of objects to change Parameters: action - the action to do |
change | protected void change(List c, int action)(Code) | | Changes the content of this object.
Parameters: c - collection of objects to change Parameters: action - the action to do |
getElement | public DBElement getElement(DBIdentifier name)(Code) | | Returns an element specified by the name from this collection.
an element |
getElements | public DBElement[] getElements()(Code) | | Returns an array containing all of the elements in this collection.
an array containing all of the elements in this collection |
|
|