org.gvsig.fmap.dal
Interface DataStoreNotification

All Known Subinterfaces:
FeatureStoreNotification

public interface DataStoreNotification

This interface represents a notification produced by a DataStore. Notifications can be of several types. This interface also defines a set of constants that represent the types of notifications that a DataStore can produce.


Field Summary
static String AFTER_CLOSE
          Fired after closing the store
static String AFTER_DISPOSE
          Fired after disposing the store
static String AFTER_OPEN
          Fired after opening the store
static String BEFORE_CLOSE
          Fired before closing the store
static String BEFORE_DISPOSE
          Fired before disposing the store
static String BEFORE_OPEN
          Fired before opening the store
static String COMPLEX_NOTIFICATION
          Complex notification for special situations
static String RESOURCE_CHANGED
          Fired when a resource of the store has changed
static String SELECTION_CHANGE
          Fired after the store selection has changed
 
Method Summary
 DataStore getSource()
          Returns the DataStore that produced this notification
 String getType()
          Returns the type of this notification, represented by one of the constants defined in this interface.
 

Field Detail

COMPLEX_NOTIFICATION

static final String COMPLEX_NOTIFICATION
Complex notification for special situations

See Also:
Constant Field Values

BEFORE_OPEN

static final String BEFORE_OPEN
Fired before opening the store

See Also:
Constant Field Values

AFTER_OPEN

static final String AFTER_OPEN
Fired after opening the store

See Also:
Constant Field Values

BEFORE_CLOSE

static final String BEFORE_CLOSE
Fired before closing the store

See Also:
Constant Field Values

AFTER_CLOSE

static final String AFTER_CLOSE
Fired after closing the store

See Also:
Constant Field Values

BEFORE_DISPOSE

static final String BEFORE_DISPOSE
Fired before disposing the store

See Also:
Constant Field Values

AFTER_DISPOSE

static final String AFTER_DISPOSE
Fired after disposing the store

See Also:
Constant Field Values

SELECTION_CHANGE

static final String SELECTION_CHANGE
Fired after the store selection has changed

See Also:
Constant Field Values

RESOURCE_CHANGED

static final String RESOURCE_CHANGED
Fired when a resource of the store has changed

See Also:
Constant Field Values
Method Detail

getSource

DataStore getSource()
Returns the DataStore that produced this notification

Returns:
DataStore source of this

getType

String getType()
Returns the type of this notification, represented by one of the constants defined in this interface.

Returns:
a String containing this notification's type


Copyright © 2004-2012 gvSIG. All Rights Reserved.