org.geotools.arcsde.data
Class ArcSdeResourceInfo

Object
  extended by ArcSdeResourceInfo
All Implemented Interfaces:
ResourceInfo

public final class ArcSdeResourceInfo
extends Object
implements ResourceInfo

ResourceInfo adapter for a FeatureTypeInfo and ArcSdeFeatureSource

Since:
2.5.x
Author:
Gabriel Roldan (TOPP)

Method Summary
 ReferencedEnvelope getBounds()
          Returns the bounds of the resource, expressed in the native coordinate reference system.
 CoordinateReferenceSystem getCRS()
          Returns the coordinate reference system of this resource if known.
 String getDescription()
          Returns a description or abstract for this resource.
 Set<String> getKeywords()
          Returns keywords associated with this resource for use with searches etc.
 String getName()
          Returns the name of this resource within the context of its service.
 URI getSchema()
          A namespace, in the form of a URI, used to identify the resource type.
 String getTitle()
          Returns the 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBounds

public ReferencedEnvelope getBounds()
Description copied from interface: ResourceInfo
Returns the bounds of the resource, expressed in the native coordinate reference system. IF the bounds are unknown or undefined calling isNull() on the returned envelope will return true.

Specified by:
getBounds in interface ResourceInfo
Returns:
bounds of the resource if defined; otherwise an envelope where the isNull() returns true
See Also:
ResourceInfo.getBounds()

getCRS

public CoordinateReferenceSystem getCRS()
Description copied from interface: ResourceInfo
Returns the coordinate reference system of this resource if known.

Known Mappings:

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

getDescription

public String getDescription()
Description copied from interface: ResourceInfo
Returns a description or abstract for this resource.

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 Set<String> getKeywords()
Description copied from interface: ResourceInfo
Returns keywords associated with this resource for use with searches etc.

Known Mappings:

Specified by:
getKeywords in interface ResourceInfo
Returns:
Keywords or null if unavailable
See Also:
ResourceInfo.getKeywords()

getName

public String getName()
Description copied from interface: ResourceInfo
Returns the name of this resource within the context of its service.

Known mappings:

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

Specified by:
getName in interface ResourceInfo
Returns:
name of this resource
See Also:
ResourceInfo.getName()

getSchema

public URI getSchema()
Description copied from interface: ResourceInfo
A namespace, in the form of a URI, used to identify the resource type.

Known Mappings:

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

getTitle

public String getTitle()
Description copied from interface: ResourceInfo
Returns the 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-2014 Geotools. All Rights Reserved.