org.deegree.feature.types.property
Class GeometryPropertyType
java.lang.Object
org.deegree.feature.types.property.AbstractPropertyType
org.deegree.feature.types.property.ObjectPropertyType
org.deegree.feature.types.property.GeometryPropertyType
- All Implemented Interfaces:
- PropertyType
public class GeometryPropertyType
- extends ObjectPropertyType
ObjectPropertyType
that defines a property with a Geometry
value.
- Version:
- $Revision:$, $Date:$
- Author:
- Markus Schneider , last edited by: $Author:$
Constructor Summary |
GeometryPropertyType(QName name,
int minOccurs,
int maxOccurs,
org.apache.xerces.xs.XSElementDeclaration elDecl,
List<PropertyType> substitutions,
GeometryPropertyType.GeometryType geomType,
GeometryPropertyType.CoordinateDimension dim,
ValueRepresentation representation)
|
GeometryPropertyType(QName name,
int minOccurs,
int maxOccurs,
org.apache.xerces.xs.XSElementDeclaration elDecl,
List<PropertyType> substitutions,
Set<GeometryPropertyType.GeometryType> geomTypes,
GeometryPropertyType.CoordinateDimension dim,
ValueRepresentation representation)
|
GeometryPropertyType
public GeometryPropertyType(QName name,
int minOccurs,
int maxOccurs,
org.apache.xerces.xs.XSElementDeclaration elDecl,
List<PropertyType> substitutions,
GeometryPropertyType.GeometryType geomType,
GeometryPropertyType.CoordinateDimension dim,
ValueRepresentation representation)
GeometryPropertyType
public GeometryPropertyType(QName name,
int minOccurs,
int maxOccurs,
org.apache.xerces.xs.XSElementDeclaration elDecl,
List<PropertyType> substitutions,
Set<GeometryPropertyType.GeometryType> geomTypes,
GeometryPropertyType.CoordinateDimension dim,
ValueRepresentation representation)
- Parameters:
name
- of the geometry propertyminOccurs
- maxOccurs
- isAbstract
- substitutions
- geomTypes
- allowed types for this geometry property (a choice declaration in the schema).dim
- representation
-
getAllowedGeometryTypes
public Set<GeometryPropertyType.GeometryType> getAllowedGeometryTypes()
- Returns:
- the allowed geometries of this geometry property. If the property was defined as a 'choice' multiple
types will be available.
hasMultipleGeometryDeclarations
public boolean hasMultipleGeometryDeclarations()
- Returns:
- true if this geometry property has multiple geometry declarations (was defined as a choice).
getGeometryType
public GeometryPropertyType.GeometryType getGeometryType()
getCoordinateDimension
public GeometryPropertyType.CoordinateDimension getCoordinateDimension()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011. All Rights Reserved.