net.refractions.udig.catalog.ui.export
Class Data

java.lang.Object
  extended by net.refractions.udig.catalog.ui.export.Data

public class Data
extends java.lang.Object

A data object that is the values in the tree items in the ExportResourceSelectionPage viewer.

Since:
1.1.0
Author:
Jesse

Constructor Summary
Data(IGeoResource resource)
          new instance
Data(IGeoResource resource, Query query)
          new instance
 
Method Summary
 void addNewResource(IGeoResource exportedResource)
          Adds a collection of resources to the set of exported resources.
 CoordinateReferenceSystem getCRS()
           
 java.util.Collection<IGeoResource> getExportedResources()
           
 Query getQuery()
           
 IGeoResource getResource()
           
 void setCRS(CoordinateReferenceSystem newCRS)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Data

public Data(IGeoResource resource,
            Query query)
new instance

Parameters:
resource - the resource to export
query - the query to restrict the export, may be null

Data

public Data(IGeoResource resource)
new instance

Parameters:
resource - the resource to export from.
Method Detail

getCRS

public CoordinateReferenceSystem getCRS()

getResource

public IGeoResource getResource()

setCRS

public void setCRS(CoordinateReferenceSystem newCRS)

addNewResource

public void addNewResource(IGeoResource exportedResource)
Adds a collection of resources to the set of exported resources.

Parameters:
exportedResource - the newly exported resources

getExportedResources

public java.util.Collection<IGeoResource> getExportedResources()
Returns:
Returns the exportedResources.

getQuery

public Query getQuery()