Documentation of 'org.opengis.feature.FeatureStoreEvent' Java class
FeatureStoreEvent
org.opengis.feature

Class FeatureStoreEvent

  • All Implemented Interfaces:
    java.io.Serializable


    public class FeatureStoreEvent
    extends java.util.EventObject
    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.
    Since:
    GeoAPI 2.0
    See Also:
    Serialized Form
    • Constructor Detail

      • FeatureStoreEvent

        public FeatureStoreEvent(FeatureStore featureStore,
                                 GenericName typeName,
                                 int eventType)
        Constructs a new event.
        Parameters:
        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

      • getSource

        public java.lang.Object getSource()
        Returns the source as a feature store.
        Overrides:
        getSource in class java.util.EventObject
      • getEventType

        public int getEventType()
        Returns the type of this event. One of ADD, MODIFY or DELETE constants.
      • toString

        public java.lang.String toString()
        Returns a string representation of this event. Of the form "FeatureStore (featureStore.displayName|featureStore) (ADD|MODIFY|DELETE) Event".
        Overrides:
        toString in class java.util.EventObject

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.