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

org.deegree.feature.types.jaxb
Class GeometryPropertyDecl

java.lang.Object
  extended by org.deegree.feature.types.jaxb.AbstractPropertyDecl
      extended by org.deegree.feature.types.jaxb.GeometryPropertyDecl

public class GeometryPropertyDecl
extends AbstractPropertyDecl

Definition of a geometry-valued property of a feature type.

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <extension base="{http://www.deegree.org/feature/featuretype}AbstractPropertyType">
       <attribute name="type" type="{http://www.deegree.org/feature/featuretype}GeometryType" />
       <attribute name="coordinateDimension">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKENS">
             <enumeration value="2D"/>
             <enumeration value="3D"/>
             <enumeration value="2D or 3D"/>
           </restriction>
         </simpleType>
       </attribute>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<String> coordinateDimension
           
protected  GeometryType type
           
 
Fields inherited from class org.deegree.feature.types.jaxb.AbstractPropertyDecl
maxOccurs, minOccurs, name
 
Constructor Summary
GeometryPropertyDecl()
           
 
Method Summary
 List<String> getCoordinateDimension()
          Gets the value of the coordinateDimension property.
 GeometryType getType()
          Gets the value of the type property.
 void setType(GeometryType value)
          Sets the value of the type property.
 
Methods inherited from class org.deegree.feature.types.jaxb.AbstractPropertyDecl
getMaxOccurs, getMinOccurs, getName, setMaxOccurs, setMinOccurs, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected GeometryType type

coordinateDimension

protected List<String> coordinateDimension
Constructor Detail

GeometryPropertyDecl

public GeometryPropertyDecl()
Method Detail

getType

public GeometryType getType()
Gets the value of the type property.

Returns:
possible object is GeometryType

setType

public void setType(GeometryType value)
Sets the value of the type property.

Parameters:
value - allowed object is GeometryType

getCoordinateDimension

public List<String> getCoordinateDimension()
Gets the value of the coordinateDimension property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the coordinateDimension property.

For example, to add a new item, do as follows:

    getCoordinateDimension().add(newItem);
 

Objects of the following type(s) are allowed in the list String


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

]]>