Class GeometryColumn

java.lang.Object
com.vividsolutions.jump.datastore.GeometryColumn

public class GeometryColumn extends Object
Metadata about a Geometry Column
  • Constructor Details

    • GeometryColumn

      public GeometryColumn(String name)
    • GeometryColumn

      public GeometryColumn(String name, int srid)
    • GeometryColumn

      public GeometryColumn(String name, int srid, String type)
    • GeometryColumn

      public GeometryColumn(String name, int coordDimension, int srid, String type)
    • 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 column
      coordDimension - the dimension of coordinates (2D, 3D)
      srid - the SRID of the geometry column
      type - 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 column
      srid - the SRID of the geometry column
      type - the geometric native type of the geometry column (GEOMETRY, SDO_GEOMETRY...)
      indexed - true if the geometry column is indexed
  • Method Details

    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isIndexed

      public Boolean isIndexed()
    • setIndexed

      public void setIndexed(Boolean indexed)