Event type constant denoting that features in the collection has been
modified.
This EventType is used when a FeatureWriter.write() is called when
FeatureWriter.hasNext() returns true and the
current Feature has been changed. This EventType is also used when a
Transaction commit() or rolledback is called.
The FeatureWriter making the modification will need to check that
typeName it is modifing matches the
FeatureSource.getSchema().getTypeName() before sending
notification to any listeners on the FeatureSource.
If the FeatureWriter is opperating against a Transaction it will need
ensure that to check the FeatureSource.getTransaction() for a match
before sending notification to any listeners on the FeatureSource. All
FeatureSources of the same typename will need to be informed of a
commit , except ones in the same Transaction, and only
FeatureSources in the same Transaction will need to be informed of a
rollback.
FeatureEvent.getBounds() should reflect the the BoundingBox of the
FeatureWriter modified Features. This may not be possible during a
commit() or rollback() opperation.
|