|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FeatureType
Provides the type information for an (application-defined) class of Features.
| Method Summary | |
|---|---|
GeometryPropertyType |
getDefaultGeometryPropertyDeclaration()
Returns the first geometry property declaration of the feature type. |
QName |
getName()
Returns the name that features of this type have. |
PropertyType<?> |
getPropertyDeclaration(QName propName)
Returns the declaration of the property with the given name. |
PropertyType<?> |
getPropertyDeclaration(QName propName,
GMLVersion version)
Returns the declaration of the property with the given name. |
List<PropertyType<?>> |
getPropertyDeclarations()
Returns all property declarations of the feature type, excluding those that any GML feature allows for. |
List<PropertyType<?>> |
getPropertyDeclarations(GMLVersion version)
Returns all property declarations of the feature type, including those that any GML feature allows for. |
ApplicationSchema |
getSchema()
Returns the ApplicationSchema that this feature type belongs to. |
boolean |
isAbstract()
Returns whether this type is abstract or not. |
Feature |
newFeature(String fid,
List<Property<?>> props,
GMLVersion version)
Creates a new Feature instance (that is of this type). |
void |
setSchema(ApplicationSchema applicationSchema)
|
| Method Detail |
|---|
QName getName()
In the GML representation, this corresponds to the feature's element name.
PropertyType<?> getPropertyDeclaration(QName propName)
propName - name of the property
null if no such property is defined
PropertyType<?> getPropertyDeclaration(QName propName,
GMLVersion version)
propName - name of the propertyversion - GML version that determines the standard GML properties, must not be null
null if no such property is definedList<PropertyType<?>> getPropertyDeclarations()
List<PropertyType<?>> getPropertyDeclarations(GMLVersion version)
version - GML version that determines the standard GML properties, must not be null
GeometryPropertyType getDefaultGeometryPropertyDeclaration()
null if no such declaration existsboolean isAbstract()
Feature newFeature(String fid,
List<Property<?>> props,
GMLVersion version)
Feature instance (that is of this type).
fid - feature id, or null if the feature doesn't have an idprops - propertiesversion - determines the names and types of the standard GML properties, can be null (no GML
properties)
Feature instanceApplicationSchema getSchema()
ApplicationSchema that this feature type belongs to.
ApplicationSchema or null if this feature type has nonevoid setSchema(ApplicationSchema applicationSchema)
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||