org.deegree.feature.persistence.sql.jaxb
Class GeometryPropertyJAXB

java.lang.Object
  extended by org.deegree.feature.persistence.sql.jaxb.AbstractPropertyJAXB
      extended by org.deegree.feature.persistence.sql.jaxb.GeometryPropertyJAXB

public class GeometryPropertyJAXB
extends AbstractPropertyJAXB

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/sql}AbstractPropertyType">
       <attribute name="type" type="{http://www.deegree.org/datasource/feature/sql}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  String crs
           
protected  List<String> dim
           
protected  BigInteger srid
           
protected  GeometryType type
           
 
Fields inherited from class org.deegree.feature.persistence.sql.jaxb.AbstractPropertyJAXB
join, mapping, name
 
Constructor Summary
GeometryPropertyJAXB()
           
 
Method Summary
 String getCrs()
          Gets the value of the crs property.
 List<String> getDim()
          Gets the value of the dim property.
 BigInteger getSrid()
          Gets the value of the srid property.
 GeometryType getType()
          Gets the value of the type property.
 void setCrs(String value)
          Sets the value of the crs property.
 void setSrid(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.sql.jaxb.AbstractPropertyJAXB
getJoin, getMapping, getName, setJoin, setMapping, 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

crs

protected String crs

srid

protected BigInteger srid

dim

protected List<String> dim
Constructor Detail

GeometryPropertyJAXB

public GeometryPropertyJAXB()
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 String getCrs()
Gets the value of the crs property.

Returns:
possible object is String

setCrs

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

Parameters:
value - allowed object is String

getSrid

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

Returns:
possible object is BigInteger

setSrid

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

Parameters:
value - allowed object is BigInteger

getDim

public List<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.