org.geotools.arcsde.data
Class ArcSdeResourceInfo

java.lang.Object
  extended by org.geotools.arcsde.data.ArcSdeResourceInfo
All Implemented Interfaces:
ResourceInfo

public final class ArcSdeResourceInfo
extends java.lang.Object
implements ResourceInfo

ResourceInfo adapter for a FeatureTypeInfo and ArcSdeFeatureSource

Since:
2.5.x
Version:
$Id: ArcSdeResourceInfo.java 32195 2009-01-09 19:00:35Z groldan $
Author:
Gabriel Roldan (TOPP)

Method Summary
 ReferencedEnvelope getBounds()
          Bounding box of the resource (in the native CRS), envelope isNull otherwise.
 org.opengis.referencing.crs.CoordinateReferenceSystem getCRS()
          Returns the CRS of the resource if known.
 java.lang.String getDescription()
          Resource's description or abstract.
 java.util.Set<java.lang.String> getKeywords()
          Keywords associated with this resource
 java.lang.String getName()
          Name of the resource with the context of its service.
 java.net.URI getSchema()
          A URI used to identify the resource type.
 java.lang.String getTitle()
          Resource's title.
 boolean isInProcessView()
          Returns whether the FeatureType is built at runtime by a SQL SELECT statement in the ArcSDE DataStore configuration parameters.
 boolean isVersioned()
          Returns whether the ArcSDE Table is multi-versioned
 boolean isView()
          Returns whether the ArcSDE Table is a registered View
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBounds

public ReferencedEnvelope getBounds()
Description copied from interface: ResourceInfo
Bounding box of the resource (in the native CRS), envelope isNull otherwise.

You can transform this envelope to Lat Long with a single line: info.getBounds().transform( DefaultGeographicCRS.WGS84, true ); Here are several other options for LatLong:

Specified by:
getBounds in interface ResourceInfo
Returns:
Bounding box of the resource (in natvie CRS), envelope.isNull() will return true if not known
See Also:
ResourceInfo.getBounds()

getCRS

public org.opengis.referencing.crs.CoordinateReferenceSystem getCRS()
Description copied from interface: ResourceInfo
Returns the CRS of the resource if known.

Known Mappings:

Specified by:
getCRS in interface ResourceInfo
Returns:
CRS of the resource, or null if unknown.
See Also:
ResourceInfo.getCRS()

getDescription

public java.lang.String getDescription()
Description copied from interface: ResourceInfo
Resource's description or abstract.

Known Mappings:

The description may be in the current locale if known.

Specified by:
getDescription in interface ResourceInfo
Returns:
description of resource, or null if unavailable
See Also:
ResourceInfo.getDescription()

getKeywords

public java.util.Set<java.lang.String> getKeywords()
Description copied from interface: ResourceInfo
Keywords associated with this resource

Known Mappings:

Specified by:
getKeywords in interface ResourceInfo
Returns:
Keywords for use with search, or null unavailable.
See Also:
ResourceInfo.getKeywords()

getName

public java.lang.String getName()
Description copied from interface: ResourceInfo
Name of the resource with the context of its service.

Known Mappings:

The name should be unique with in the context of a single Service.

Specified by:
getName in interface ResourceInfo
Returns:
name of the data, used with getSchema() to identify resource
See Also:
ResourceInfo.getName()

getSchema

public java.net.URI getSchema()
Description copied from interface: ResourceInfo
A URI used to identify the resource type.

Known Mappings:

Specified by:
getSchema in interface ResourceInfo
Returns:
namespace, used with getName() to identify resource
See Also:
ResourceInfo.getSchema()

getTitle

public java.lang.String getTitle()
Description copied from interface: ResourceInfo
Resource's title.

The title is human readable text representing the resource, in the current locale if available.

Specified by:
getTitle in interface ResourceInfo
Returns:
tile, in the current locale if available.
See Also:
ResourceInfo.getTitle()

isVersioned

public boolean isVersioned()
Returns whether the ArcSDE Table is multi-versioned

Returns:
true if the table is marked as multiversioned, false otherwise

isView

public boolean isView()
Returns whether the ArcSDE Table is a registered View

Returns:
true if the table is an ArcSDE registered View, false otherwise

isInProcessView

public boolean isInProcessView()
Returns whether the FeatureType is built at runtime by a SQL SELECT statement in the ArcSDE DataStore configuration parameters.

Returns:
true if the FeatureType does not refers to an actual table or registered view, but is built from a SQL SELECT statement, false otherwise


Copyright © 1996-2010 Geotools. All Rights Reserved.