org.geotools.catalog.defaults
Class DefaultResolveChangeEvent

java.lang.Object
  extended byorg.geotools.catalog.defaults.DefaultResolveChangeEvent
All Implemented Interfaces:
ResolveChangeEvent

public class DefaultResolveChangeEvent
extends java.lang.Object
implements ResolveChangeEvent

Everything change change change ...

Since:
0.6.0

Nested Class Summary
 
Nested classes inherited from class org.geotools.catalog.ResolveChangeEvent
ResolveChangeEvent.Type
 
Constructor Summary
DefaultResolveChangeEvent(java.lang.Object source, ResolveChangeEvent.Type type, ResolveDelta delta)
          Construct CatalogChangeEvent.
 
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.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultResolveChangeEvent

public DefaultResolveChangeEvent(java.lang.Object source,
                                 ResolveChangeEvent.Type type,
                                 ResolveDelta delta)
Construct CatalogChangeEvent.

Parameters:
source - Source of event, in case you care
type - Type constant from ICatalogChangeEvent
delta - Describes the change
Method Detail

toString

public java.lang.String toString()

getDelta

public ResolveDelta getDelta()
Description copied from interface: ResolveChangeEvent
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.

Specified by:
getDelta in interface ResolveChangeEvent
Returns:
the resource delta, or null if not applicable
See Also:
net.refractions.udig.catalog.ICatalogChangeEvent#getDelta()

getResolve

public Resolve getResolve()
Description copied from interface: ResolveChangeEvent
Returns the handle in question. Returns null if not applicable to this type of event.

Specified by:
getResolve in interface ResolveChangeEvent
Returns:
the resource, or null if not applicable
See Also:
net.refractions.udig.catalog.ICatalogChangeEvent#getResource()

getSource

public java.lang.Object getSource()
Description copied from interface: ResolveChangeEvent
Returns an object identifying the source of this event.

Specified by:
getSource in interface ResolveChangeEvent
Returns:
an object identifying the source of this event
See Also:
net.refractions.udig.catalog.ICatalogChangeEvent#getSource()

getType

public ResolveChangeEvent.Type getType()
Description copied from interface: ResolveChangeEvent
Returns the type of event being reported.

Specified by:
getType in interface ResolveChangeEvent
Returns:
one of the event type constants
See Also:
net.refractions.udig.catalog.ICatalogChangeEvent#getType()


Copyright © GeoTools. All Rights Reserved.