org.deegree.feature.types.property
Class GeometryPropertyType

java.lang.Object
  extended by org.deegree.feature.types.property.AbstractPropertyType
      extended by org.deegree.feature.types.property.ObjectPropertyType
          extended by 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:$

Nested Class Summary
static class GeometryPropertyType.CoordinateDimension
           
static class GeometryPropertyType.GeometryType
          The flattened geometry hierarchy supported by deegree's ISO geometry model.
 
Field Summary
 
Fields inherited from class org.deegree.feature.types.property.AbstractPropertyType
maxOccurs, minOccurs, name, substitutions
 
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)
           
 
Method Summary
 Set<GeometryPropertyType.GeometryType> getAllowedGeometryTypes()
           
 GeometryPropertyType.CoordinateDimension getCoordinateDimension()
           
 GeometryPropertyType.GeometryType getGeometryType()
           
 boolean hasMultipleGeometryDeclarations()
           
 String toString()
           
 
Methods inherited from class org.deegree.feature.types.property.ObjectPropertyType
getAllowedRepresentation
 
Methods inherited from class org.deegree.feature.types.property.AbstractPropertyType
getElementDecl, getMaxOccurs, getMinOccurs, getName, getSubstitutions, isAbstract, isNillable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 property
minOccurs -
maxOccurs -
isAbstract -
substitutions -
geomTypes - allowed types for this geometry property (a choice declaration in the schema).
dim -
representation -
Method Detail

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.