org.deegree.feature.persistence.postgis.jaxb
Class GeometryPropertyDecl

java.lang.Object
  extended by org.deegree.feature.persistence.postgis.jaxb.AbstractPropertyDecl
      extended by org.deegree.feature.persistence.postgis.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/datasource/feature/postgis}AbstractPropertyType">
       <attribute name="type" type="{http://www.deegree.org/datasource/feature/postgis}GeometryType" />
       <attribute name="crs" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="srid" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="dim">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKENS">
             <enumeration value="2D"/>
             <enumeration value="3D"/>
           </restriction>
         </simpleType>
       </attribute>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String crs
           
protected  java.util.List<java.lang.String> dim
           
protected  java.math.BigInteger srid
           
protected  GeometryType type
           
 
Fields inherited from class org.deegree.feature.persistence.postgis.jaxb.AbstractPropertyDecl
joinedTable, mapping, maxOccurs, minOccurs, name, nilMapping
 
Constructor Summary
GeometryPropertyDecl()
           
 
Method Summary
 java.lang.String getCrs()
          Gets the value of the crs property.
 java.util.List<java.lang.String> getDim()
          Gets the value of the dim property.
 java.math.BigInteger getSrid()
          Gets the value of the srid property.
 GeometryType getType()
          Gets the value of the type property.
 void setCrs(java.lang.String value)
          Sets the value of the crs property.
 void setSrid(java.math.BigInteger value)
          Sets the value of the srid property.
 void setType(GeometryType value)
          Sets the value of the type property.
 
Methods inherited from class org.deegree.feature.persistence.postgis.jaxb.AbstractPropertyDecl
getJoinedTable, getMapping, getMaxOccurs, getMinOccurs, getName, getNilMapping, setJoinedTable, setMapping, setMaxOccurs, setMinOccurs, setName, setNilMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected GeometryType type

crs

protected java.lang.String crs

srid

protected java.math.BigInteger srid

dim

protected java.util.List<java.lang.String> dim
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

getCrs

public java.lang.String getCrs()
Gets the value of the crs property.

Returns:
possible object is String

setCrs

public void setCrs(java.lang.String value)
Sets the value of the crs property.

Parameters:
value - allowed object is String

getSrid

public java.math.BigInteger getSrid()
Gets the value of the srid property.

Returns:
possible object is BigInteger

setSrid

public void setSrid(java.math.BigInteger value)
Sets the value of the srid property.

Parameters:
value - allowed object is BigInteger

getDim

public java.util.List<java.lang.String> getDim()
Gets the value of the dim 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 dim property.

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

    getDim().add(newItem);
 

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



Copyright © 2011. All Rights Reserved.