public class GeometryMetadata
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
Constructor and Description |
---|
GeometryMetadata(java.sql.Connection conn, java.lang.String owner, java.lang.String tableName, java.lang.String columnName)
Constructs the geometry metadata from the database.
|
GeometryMetadata(java.lang.String owner, java.lang.String tableName)
Constructs the geometry metadata without a geometry column.
|
GeometryMetadata(java.lang.String owner, java.lang.String tableName, java.lang.String columnName, int srid, int noOfDims)
Constructs the geometry metadata.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getColumnName()
Returns the geometry column name.
|
int |
getNoOfDims()
Returns the number of dimensions.
|
int |
getSrid()
Returns the SRID.
|
java.lang.String |
getTableName()
Deprecated.
|
java.lang.String |
getTableName(boolean addSchemaName)
Returns the geometry table name.
|
void |
setColumnName(java.lang.String columnName)
Sets the geometry column name.
|
void |
setNoOfDims(int noOfDims)
Sets the number of dimensions
|
void |
setSrid(int srid)
Sets the SRID
|
void |
setTableName(java.lang.String tableName)
Sets the table name
|
java.lang.String |
toString() |
public GeometryMetadata(java.lang.String owner, java.lang.String tableName)
public GeometryMetadata(java.lang.String owner, java.lang.String tableName, java.lang.String columnName, int srid, int noOfDims)
tableName
- the geometry table namecolumnName
- the geometry column namesrid
- the SRIDnoOfDims
- the number of dimensions for the specified geometry tablepublic GeometryMetadata(java.sql.Connection conn, java.lang.String owner, java.lang.String tableName, java.lang.String columnName)
conn
- the database connectiontableName
- the geometry table namecolumnName
- the geometry column namepublic java.lang.String getTableName()
public java.lang.String getTableName(boolean addSchemaName)
addSchemaName
- prefix schema name or notpublic void setTableName(java.lang.String tableName)
public java.lang.String getColumnName()
public void setColumnName(java.lang.String columnName)
public int getSrid()
public void setSrid(int srid)
public int getNoOfDims()
public void setNoOfDims(int noOfDims)
public java.lang.String toString()
toString
in class java.lang.Object