public class FeatureTypeInfo extends Object
| Constructor and Description |
|---|
FeatureTypeInfo() |
| Modifier and Type | Method and Description |
|---|---|
(package private) org.geotoolkit.geometry.ImmutableEnvelope |
defaultEnvelope(String crsRef)
Creates an envelope representing the area of use for the default CRS.
|
String |
getDefaultCRS()
Gets the identifier of the default CRS for this feature type.
|
org.geotoolkit.geometry.ImmutableEnvelope |
getGeoExtent()
Gets the geographic extent of the feature instances.
|
File |
getSampleData()
Returns a File containing sample data.
|
QName |
getTypeName()
Get the qualified name of the feature type.
|
boolean |
isInstantiated()
Indicates whether or not there are any instances of this feature type
available in the data store.
|
void |
setDefaultCRS(String crsRef)
Sets the identifier of the default CRS for this feature type which shall
be assumed by a WFS if not otherwise explicitly identified within a
request.
|
void |
setGeoExtent(org.geotoolkit.geometry.ImmutableEnvelope geoExtent)
Sets the geographic extent of the feature instances.
|
void |
setInstantiated(boolean available)
Sets the availability of this feature type.
|
void |
setSampleData(File sampleData)
Sets the location of a sample data file containing instances of this
feature type.
|
void |
setTypeName(QName typeName)
Sets the feature type name.
|
String |
toString() |
public QName getTypeName()
public void setTypeName(QName typeName)
typeName - A QName object.public boolean isInstantiated()
true if at least one feature instance exists;
false otherwise.public void setInstantiated(boolean available)
available - A boolean value indicating if any instances of this type are
available in the data store.public String getDefaultCRS()
public void setDefaultCRS(String crsRef) throws org.opengis.util.FactoryException
crsRef - A valid CRS reference (e.g. "urn:ogc:def:crs:EPSG::4326").org.opengis.util.FactoryException - If the CRS reference is invalid or unrecognized.public org.geotoolkit.geometry.ImmutableEnvelope getGeoExtent()
public void setGeoExtent(org.geotoolkit.geometry.ImmutableEnvelope geoExtent)
geoExtent - An immutable envelope defining a bounding box in some CRS.public File getSampleData()
null if no data are
available.public void setSampleData(File sampleData)
sampleData - A File object.org.geotoolkit.geometry.ImmutableEnvelope defaultEnvelope(String crsRef)
null no CRS definition can be found.Copyright © 2015 Open Geospatial Consortium. All rights reserved.