|
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 | |||||||||
java.lang.Objectorg.deegree.feature.types.GenericFeatureCollectionType
public class GenericFeatureCollectionType
TODO add documentation here
| Constructor Summary | |
|---|---|
GenericFeatureCollectionType(QName name,
List<PropertyType> propDecls,
boolean isAbstract)
|
|
| 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 schema)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GenericFeatureCollectionType(QName name,
List<PropertyType> propDecls,
boolean isAbstract)
| Method Detail |
|---|
public QName getName()
FeatureTypeIn the GML representation, this corresponds to the feature's element name.
getName in interface FeatureTypepublic PropertyType getPropertyDeclaration(QName propName)
FeatureType
getPropertyDeclaration in interface FeatureTypepropName - name of the property
null if no such property is defined
public PropertyType getPropertyDeclaration(QName propName,
GMLVersion version)
FeatureType
getPropertyDeclaration in interface FeatureTypepropName - name of the propertyversion - GML version that determines the standard GML properties, must not be null
null if no such property is definedpublic List<PropertyType<?>> getPropertyDeclarations()
FeatureType
getPropertyDeclarations in interface FeatureTypepublic List<PropertyType<?>> getPropertyDeclarations(GMLVersion version)
FeatureType
getPropertyDeclarations in interface FeatureTypeversion - GML version that determines the standard GML properties, must not be null
public GeometryPropertyType getDefaultGeometryPropertyDeclaration()
FeatureType
getDefaultGeometryPropertyDeclaration in interface FeatureTypenull if no such declaration exists
public Feature newFeature(String fid,
List<Property<?>> props,
GMLVersion version)
FeatureTypeFeature instance (that is of this type).
newFeature in interface FeatureTypefid - 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 instancepublic boolean isAbstract()
FeatureType
isAbstract in interface FeatureTypepublic ApplicationSchema getSchema()
FeatureTypeApplicationSchema that this feature type belongs to.
getSchema in interface FeatureTypeApplicationSchema or null if this feature type has nonepublic void setSchema(ApplicationSchema schema)
setSchema in interface FeatureTypepublic String toString()
toString in class Object
|
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 | |||||||||