Class GeometryColumn
- java.lang.Object
-
- com.vividsolutions.jump.datastore.GeometryColumn
-
public class GeometryColumn extends Object
Metadata about a Geometry Column
-
-
Constructor Summary
Constructors Constructor Description GeometryColumn(String name)GeometryColumn(String name, int srid)GeometryColumn(String name, int coordDimension, int srid, String type)GeometryColumn(String name, int coordDimension, int srid, String type, boolean indexed)Ctor with boolean parameter telling if column is indexedGeometryColumn(String name, int srid, String type)GeometryColumn(String name, int srid, String type, boolean indexed)Constructor with boolean parameter telling if column is indexed
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCoordDimension()StringgetName()intgetSRID()StringgetType()BooleanisIndexed()voidsetCoordDimension(int coordDimension)voidsetIndexed(Boolean indexed)voidsetType(String type)Sets the type of this GeometryColumnStringtoString()
-
-
-
Constructor Detail
-
GeometryColumn
public GeometryColumn(String name)
-
GeometryColumn
public GeometryColumn(String name, int srid)
-
GeometryColumn
public GeometryColumn(String name, int coordDimension, int srid, String type, boolean indexed)
Ctor with boolean parameter telling if column is indexed- Parameters:
name- the name of the geometry columncoordDimension- the dimension of coordinates (2D, 3D)srid- the SRID of the geometry columntype- the geometric native type of the geometry column (GEOMETRY, SDO_GEOMETRY...)indexed- true if the geometry column is indexed
-
GeometryColumn
public GeometryColumn(String name, int srid, String type, boolean indexed)
Constructor with boolean parameter telling if column is indexed- Parameters:
name- the name of the geometry columnsrid- the SRID of the geometry columntype- the geometric native type of the geometry column (GEOMETRY, SDO_GEOMETRY...)indexed- true if the geometry column is indexed
-
-
Method Detail
-
getName
public String getName()
-
getSRID
public int getSRID()
-
getType
public String getType()
-
setType
public void setType(String type)
Sets the type of this GeometryColumn- Parameters:
type- the database type of the Geometry Column (default = "Geometry")
-
getCoordDimension
public int getCoordDimension()
-
setCoordDimension
public void setCoordDimension(int coordDimension)
-
isIndexed
public Boolean isIndexed()
-
setIndexed
public void setIndexed(Boolean indexed)
-
-