deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.feature.types.property
Interface PropertyType<T>

Type Parameters:
T - type of the values
All Known Implementing Classes:
AbstractPropertyType, CodePropertyType, CustomPropertyType, EnvelopePropertyType, FeaturePropertyType, GeometryPropertyType, LengthPropertyType, MeasurePropertyType, SimplePropertyType, StringOrRefPropertyType

public interface PropertyType<T>

Declares a named property of a FeatureType.

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

Method Summary
 int getMaxOccurs()
          Specifies the maximum number of times that this property must be present in a feature instance.
 int getMinOccurs()
          Specifies the minimum number of times that this property must be present in a feature instance.
 QName getName()
          Returns the name of the property.
 PropertyType<?>[] getSubstitutions()
          Returns the possible substitutions that are defined for this PropertyType.
 boolean isAbstract()
          Returns whether this PropertyType declaration is abstract.
 

Method Detail

getName

QName getName()
Returns the name of the property.

Returns:
the name of the property

getMinOccurs

int getMinOccurs()
Specifies the minimum number of times that this property must be present in a feature instance.

Returns:
the minimum number of times that this property must be present

getMaxOccurs

int getMaxOccurs()
Specifies the maximum number of times that this property must be present in a feature instance.

Returns:
the maximum number of times that this property must be present, or -1 (=unbounded)

isAbstract

boolean isAbstract()
Returns whether this PropertyType declaration is abstract.

Returns:
true, if is abstract, false otherwise

getSubstitutions

PropertyType<?>[] getSubstitutions()
Returns the possible substitutions that are defined for this PropertyType. NOTE: This is only needed for a number of GML application schemas (e.g. CityGML) that define properties using abstract element declarations and provide multiple concrete substitutable elements.

Returns:
the possible substitutions (including this PropertyType), never null and always at least one entry

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

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

]]>