| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.feature.types.GenericFeatureType
public class GenericFeatureType
Generic implementation of FeatureType, can be used for representing arbitrary feature types.
| Constructor Summary | |
|---|---|
| GenericFeatureType(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. | 
|  AppSchema | getSchema()Returns the AppSchemathat this feature type belongs to. | 
|  boolean | isAbstract()Returns whether this type is abstract or not. | 
|  Feature | newFeature(String fid,
           List<Property> props,
           ExtraProps extraProps,
           GMLVersion version)Creates a new Featureinstance (that is of this type). | 
|  String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public GenericFeatureType(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,
                          ExtraProps extraProps,
                          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 - propertiesextraProps - properties that are not defined by the FeatureType (e.g. rendering hints)version - 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 AppSchema getSchema()
FeatureTypeAppSchema that this feature type belongs to.
getSchema in interface FeatureTypeApplicationSchema or null if this feature type has nonepublic String toString()
toString in class Object| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||