deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.model.feature.schema
Interface FeatureType

All Known Implementing Classes:
DefaultFeatureType, MappedFeatureType

public interface FeatureType

The FeatureType interface is intended to provide details of the type of a Feature that are described as Feature Schema in the Abstract Specification's Essential Model, specifically the names and types of the properties associated with each instance of a Feature of the given FeatureType.

-----------------------------------------------------------------------

Version:
$Revision: 18195 $ $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Andreas Poth

Method Summary
 boolean equals(FeatureType featureType)
          returns true if the passed FeatureType equals this FeatureType.
 GeometryPropertyType[] getGeometryProperties()
          returns the FeatureTypeProperties of type GEOMETRY
 QualifiedName getName()
          returns the name of the FeatureType
 URI getNameSpace()
          returns the namespace of the feature type (maybe null)
 PropertyType[] getProperties()
          returns the properties of this feature type
 PropertyType getProperty(QualifiedName name)
          returns a property of this feature type identified by its name
 QualifiedName getPropertyName(int index)
          returns the name of the property a the passed index position
 URI getSchemaLocation()
          returns the location of the XML schema defintion assigned to a namespace
 boolean isAbstract()
          Returns whether this feature type is abstract or not.
 

Method Detail

getName

QualifiedName getName()
returns the name of the FeatureType

Returns:
name of the FeatureType

isAbstract

boolean isAbstract()
Returns whether this feature type is abstract or not.

Returns:
true, if the feature type is abstract, false otherwise

getNameSpace

URI getNameSpace()
returns the namespace of the feature type (maybe null)

Returns:
the namespace of the feature type (maybe null)

getSchemaLocation

URI getSchemaLocation()
returns the location of the XML schema defintion assigned to a namespace

Returns:
the location of the XML schema defintion assigned to a namespace

getPropertyName

QualifiedName getPropertyName(int index)
returns the name of the property a the passed index position

Parameters:
index -
Returns:
the name of the property a the passed index position

getProperties

PropertyType[] getProperties()
returns the properties of this feature type

Returns:
type properties

getProperty

PropertyType getProperty(QualifiedName name)
returns a property of this feature type identified by its name

Parameters:
name - name of the desired property
Returns:
one named property

getGeometryProperties

GeometryPropertyType[] getGeometryProperties()
returns the FeatureTypeProperties of type GEOMETRY

Returns:
the FeatureTypeProperties of type GEOMETRY
See Also:
Types

equals

boolean equals(FeatureType featureType)
returns true if the passed FeatureType equals this FeatureType. Two FeatureTypes are equal if they have the same qualified name

Parameters:
featureType -
Returns:
true if the passed FeatureType equals this FeatureType.

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org