org.deegree.feature.types
Class GenericFeatureCollectionType

java.lang.Object
  extended by org.deegree.feature.types.GenericFeatureType
      extended by org.deegree.feature.types.GenericFeatureCollectionType
All Implemented Interfaces:
FeatureCollectionType, FeatureType

public class GenericFeatureCollectionType
extends GenericFeatureType
implements FeatureCollectionType

Generic FeatureCollectionType implementation, can be used for representing arbitrary feature collection types.

Version:
$Revision:$, $Date:$
Author:
Markus Schneider , last edited by: $Author:$

Constructor Summary
GenericFeatureCollectionType(QName name, List<PropertyType> propDecls, boolean isAbstract)
           
 
Method Summary
 List<ArrayPropertyType> getMemberArrayDeclarations()
          Returns the feature member array property declarations.
 List<FeaturePropertyType> getMemberDeclarations()
          Returns the feature member property declarations.
 Feature newFeature(String fid, List<Property> props, ExtraProps extraProps, GMLVersion version)
          Creates a new Feature instance (that is of this type).
 String toString()
           
 
Methods inherited from class org.deegree.feature.types.GenericFeatureType
getDefaultGeometryPropertyDeclaration, getName, getPropertyDeclaration, getPropertyDeclaration, getPropertyDeclarations, getPropertyDeclarations, getSchema, isAbstract
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deegree.feature.types.FeatureType
getDefaultGeometryPropertyDeclaration, getName, getPropertyDeclaration, getPropertyDeclaration, getPropertyDeclarations, getPropertyDeclarations, getSchema, isAbstract
 

Constructor Detail

GenericFeatureCollectionType

public GenericFeatureCollectionType(QName name,
                                    List<PropertyType> propDecls,
                                    boolean isAbstract)
Method Detail

newFeature

public Feature newFeature(String fid,
                          List<Property> props,
                          ExtraProps extraProps,
                          GMLVersion version)
Description copied from interface: FeatureType
Creates a new Feature instance (that is of this type).

Specified by:
newFeature in interface FeatureType
Overrides:
newFeature in class GenericFeatureType
Parameters:
fid - feature id, or null if the feature doesn't have an id
props - properties
extraProps - 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)
Returns:
a new Feature instance

getMemberDeclarations

public List<FeaturePropertyType> getMemberDeclarations()
Description copied from interface: FeatureCollectionType
Returns the feature member property declarations.

Specified by:
getMemberDeclarations in interface FeatureCollectionType
Returns:
feature member property declarations (in order), never null and contains a least one entry

getMemberArrayDeclarations

public List<ArrayPropertyType> getMemberArrayDeclarations()
Description copied from interface: FeatureCollectionType
Returns the feature member array property declarations.

Specified by:
getMemberArrayDeclarations in interface FeatureCollectionType
Returns:
feature member array property declarations (in order), may be empty, but never null

toString

public String toString()
Overrides:
toString in class GenericFeatureType


Copyright © 2011. All Rights Reserved.