|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject org.netbeans.api.mdr.events.MDRChangeEvent org.netbeans.api.mdr.events.ExtentEvent
MDR event used for representing events related to lifecycle of package extents in a repository (creation and deletion of extents).
Field Summary | |
static int |
EVENT_EXTENT_CREATE
Identifier for event type that indicates creation of a new extent in a repository. |
static int |
EVENT_EXTENT_DELETE
Identifier for event type that indicates an extent is to be/was deleted. |
static int |
EVENTMASK_EXTENT
Bitmask representing all the events related to extent lifecycle. |
Fields inherited from class org.netbeans.api.mdr.events.MDRChangeEvent |
EVENTMASK_ALL, EVENTMASK_ON_ASSOCIATION, EVENTMASK_ON_CLASS, EVENTMASK_ON_INSTANCE, EVENTMASK_ON_PACKAGE, EVENTMASK_ON_REPOSITORY |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
ExtentEvent(Object source,
int type,
String extentName,
javax.jmi.reflect.RefObject metaObject,
Collection existingExtents)
Creates new ExtentEvent object. |
|
ExtentEvent(Object source,
int type,
String extentName,
javax.jmi.reflect.RefObject metaObject,
Collection existingExtents,
boolean empty)
|
Method Summary | |
Collection |
getExistingExtents()
Returns collection of existing extents provided to be used for package clustering. |
String |
getExtentName()
Returns name of deleted/created extent. |
javax.jmi.reflect.RefObject |
getMetaObject()
Returns metaobject of created/deleted extent. |
boolean |
isEmpty()
Returns true in the case that the created package is empty. |
Methods inherited from class org.netbeans.api.mdr.events.MDRChangeEvent |
getType, isOfType |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int EVENTMASK_EXTENT
public static final int EVENT_EXTENT_CREATE
public static final int EVENT_EXTENT_DELETE
Constructor Detail |
public ExtentEvent(Object source, int type, String extentName, javax.jmi.reflect.RefObject metaObject, Collection existingExtents)
source
- Event source (MDRepository in case of extent creation, RefPackage in case of extent deletion).type
- Event type.extentName
- Name of created/deleted extent.metaObject
- Metaobject of created/deleted extent or null.existingExtents
- Immutable collection of existing extents that were provided to be used for clustering or null.public ExtentEvent(Object source, int type, String extentName, javax.jmi.reflect.RefObject metaObject, Collection existingExtents, boolean empty)
Method Detail |
public String getExtentName()
public javax.jmi.reflect.RefObject getMetaObject()
public Collection getExistingExtents()
public boolean isEmpty()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |