org.geotools.catalog
Interface ResolveChangeEvent

All Known Implementing Classes:
DefaultResolveChangeEvent

public interface ResolveChangeEvent

Captures changes to the Catalog.

For those familiar with IResourceChangeEvent and IResourceDelta from eclipse development there is one important addition. The constant REPLACE indicates a reaname, or substiution, you will need to replace any references you have to the oldObject with the newObject.

Since:
2.2.M3
Author:
Jody Garnett, Refractions Research

Nested Class Summary
static class ResolveChangeEvent.Type
           
 
Method Summary
 ResolveDelta getDelta()
          Returns a delta, rooted at the catalog, describing the set of changes that happened to resources in the workspace.
 Resolve getResolve()
          Returns the handle in question.
 java.lang.Object getSource()
          Returns an object identifying the source of this event.
 ResolveChangeEvent.Type getType()
          Returns the type of event being reported.
 

Method Detail

getDelta

public ResolveDelta getDelta()
Returns a delta, rooted at the catalog, describing the set of changes that happened to resources in the workspace. Returns null if not applicable to this type of event.

Returns:
the resource delta, or null if not applicable

getResolve

public Resolve getResolve()
Returns the handle in question. Returns null if not applicable to this type of event.

Returns:
the resource, or null if not applicable

getSource

public java.lang.Object getSource()
Returns an object identifying the source of this event.

Returns:
an object identifying the source of this event
See Also:
EventObject

getType

public ResolveChangeEvent.Type getType()
Returns the type of event being reported.

Returns:
one of the event type constants
See Also:
#POST_CHANGE, #PRE_CLOSE, #PRE_DELETE


Copyright © GeoTools. All Rights Reserved.