|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.model.feature.schema.DefaultFeatureType org.deegree.io.datastore.schema.MappedFeatureType
public class MappedFeatureType
Represents a FeatureType
with mapping (persistence) information.
The mapping information describe how the FeatureType
is mapped in the database backend.
Constructor Summary | |
---|---|
MappedFeatureType(QualifiedName name,
boolean isAbstract,
PropertyType[] properties,
String table,
MappedGMLId gmlId,
MappedGMLSchema schema,
boolean isVisible,
boolean isUpdatable,
boolean isDeletable,
boolean isInsertable,
boolean isPseudoFeatureType,
URI defaultSRS,
URI[] otherSRS)
Creates a new instance of MappedFeatureType from the given parameters. |
Method Summary | |
---|---|
DatastoreTransaction |
acquireTransaction()
Retrieves a transaction object for this feature type. |
FeatureId |
generateFid(DatastoreTransaction ta)
Generates a new and unique feature identifier. |
MappedFeatureType[] |
getConcreteSubstitutions()
Returns all non-abstract feature types that may be used as substitutions for this feature type. |
URI |
getDefaultSRS()
Returns the default SRS. |
MappedGMLId |
getGMLId()
Returns the mapping information for the "gml:Id" attribute. |
MappedGMLSchema |
getGMLSchema()
Returns the GML Application schema that defines this feature type. |
URI[] |
getOtherSRS()
Returns alternative SRS that may be used to query the feature type. |
String |
getTable()
Returns the name of the (database) table where the feature type is stored. |
boolean |
hasSeveralImplementations()
Return whether this feature type has more than one concrete substitution. |
boolean |
isDeletable()
Returns whether delete operations may be performed on the persistent feature type. |
boolean |
isInsertable()
Returns whether insert operations may be performed on the persistent feature type. |
boolean |
isPseudoFeatureType()
Returns whether this feature type definition is used to store complex xml data that is not a real gml feature. |
boolean |
isUpdatable()
Returns whether update operations may be performed on the persistent feature type. |
boolean |
isVisible()
Returns whether the persistent feature type is visible (e.g. queryable in the WFS). |
FeatureCollection |
performQuery(Query query)
Performs the given Query . |
FeatureCollection |
performQuery(Query query,
DatastoreTransaction context)
Performs the given Query inside the given transaction context. |
Methods inherited from class org.deegree.model.feature.schema.DefaultFeatureType |
---|
equals, equals, getGeometryProperties, getName, getNameSpace, getProperties, getProperty, getProperty, getPropertyName, getSchemaLocation, isAbstract, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
MappedFeatureType(QualifiedName name, boolean isAbstract, PropertyType[] properties, String table, MappedGMLId gmlId, MappedGMLSchema schema, boolean isVisible, boolean isUpdatable, boolean isDeletable, boolean isInsertable, boolean isPseudoFeatureType, URI defaultSRS, URI[] otherSRS)
MappedFeatureType
from the given parameters.
name
- isAbstract
- properties
- table
- gmlId
- schema
- isVisible
- isUpdatable
- isDeletable
- isInsertable
- isPseudoFeatureType
- otherSRS
- defaultSRS
- Method Detail |
---|
public String getTable()
public MappedGMLId getGMLId()
public FeatureId generateFid(DatastoreTransaction ta) throws IdGenerationException
ta
-
IdGenerationException
public MappedGMLSchema getGMLSchema()
public boolean isVisible()
public boolean isUpdatable()
public boolean isDeletable()
public boolean isInsertable()
public boolean isPseudoFeatureType()
If this is the case, the gml:id
and gml:boundedBy
elements are omitted in XML output.
public URI getDefaultSRS()
public URI[] getOtherSRS()
public FeatureCollection performQuery(Query query) throws DatastoreException, UnknownCRSException
Query
. It must target solely this MappedFeatureType
(joins are not
allowed).
All members of the resulting FeatureCollection
have this MappedFeatureType
.
query
- Query to be performed
DatastoreException
UnknownCRSException
public FeatureCollection performQuery(Query query, DatastoreTransaction context) throws DatastoreException, UnknownCRSException
Query
inside the given transaction context. It must target solely this
MappedFeatureType
(joins are not allowed).
All members of the resulting FeatureCollection
have this MappedFeatureType
.
query
- Query to be performedcontext
- transaction context (used to specify the JDBCConnection, for example)
DatastoreException
UnknownCRSException
public DatastoreTransaction acquireTransaction() throws DatastoreException
DatastoreException
- if transaction could not be acquiredpublic MappedFeatureType[] getConcreteSubstitutions()
public boolean hasSeveralImplementations()
Read as: Is there only one concrete feature type that all instances of this type must have? Or are there several possible concrete subtypes?
|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org