|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectEventObject
FeatureStoreEvent
@Deprecated public class FeatureStoreEvent
Instances of this class are passed to the methods of FeatureStoreListener
when
the user of the FeatureStore
adds, deletes, or modifies a feature type. Events
regarding changes to an individual feature are given with an instance of FeatureEvent
.
Field Summary | |
---|---|
static int |
ADD
Deprecated. Constant that indicates that a new feature type was added to a feature store. |
static int |
DELETE
Deprecated. Constant that indicates that a feature type's schema was removed from a feature store. |
static int |
MODIFY
Deprecated. Constant that indicates that a feature type's schema was modified in a feature store. |
Fields inherited from class EventObject |
---|
source |
Constructor Summary | |
---|---|
FeatureStoreEvent(FeatureStore featureStore,
GenericName typeName,
int eventType)
Deprecated. Constructs a new event. |
Method Summary | |
---|---|
int |
getEventType()
Deprecated. Returns the type of this event. |
FeatureStore |
getFeatureStore()
Deprecated. Synonym for getSource() , but does the cast for you. |
Object |
getSource()
Deprecated. Returns the source as a feature store. |
GenericName |
getTypeName()
Deprecated. Returns the name of the FeatureType that was modified. |
String |
toString()
Deprecated. Returns a string representation of this event. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int ADD
public static final int MODIFY
public static final int DELETE
Constructor Detail |
---|
public FeatureStoreEvent(FeatureStore featureStore, GenericName typeName, int eventType)
featureStore
- The feature store on which the event initially occurred.typeName
- The name of the type that was added, modified, or deleted.eventType
- The type of this event. One of ADD
, MODIFY
or DELETE
constants.Method Detail |
---|
public Object getSource()
getSource
in class EventObject
public FeatureStore getFeatureStore()
getSource()
, but does the cast for you.
getSource()
in a J2SE 1.5 profile.public GenericName getTypeName()
FeatureType
that was modified.
public int getEventType()
ADD
, MODIFY
or DELETE
constants.
public String toString()
"FeatureStore (featureStore.displayName|featureStore) (ADD|MODIFY|DELETE) Event"
.
toString
in class EventObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |