public interface ILcdDatabaseModelDescriptor extends ILcdModelDescriptor, ILcdDataModelDescriptor,ILcdFeaturedDescriptor, java.lang.Cloneable
ILcdModelDescriptor
specifically describes database
models. It contains the additional properties that are typically present
in spatial databases.Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
void |
close()
Closes the
Connection of this descriptor, if it was opened. |
ILcdBounds |
getBounds()
returns the bounds of the geometry.
|
java.lang.String |
getColumnNames()
Concatenates the main column name and the feature column names into
a single
String of comma-separated column names. |
java.lang.String |
getColumnNamesAndTypes()
Concatenates the main column name and type, and the feature column names
and types into a single
String of comma-separated column names
and types. |
ILcdEllipsoid |
getEllipsoid()
Returns the ellipsoid of the database object reference.
|
java.lang.String |
getFeatureName(int aIndex)
Returns the name of a particular feature.
|
java.lang.String |
getFeatureType(int aIndex)
Returns the type of a given feature.
|
java.lang.String |
getGeometryColumnName()
Returns the name of the table column containing the geometry.
|
java.lang.String |
getGeometryType()
Returns the type of the geometry.
|
int |
getPrimaryFeatureIndex()
Returns the primary feature index.
|
java.lang.String |
getSelectionFilter()
Returns the string representing the selection filter.
|
java.lang.String |
getSelectionTables()
Returns the names of the additional tables used in the select query
|
int |
getSRID()
Returns the Spatial Reference ID number.
|
java.lang.String |
getTableName()
Returns the name of the database table.
|
void |
setBounds(ILcdBounds aBounds)
Sets the bounds of the geometry.
|
void |
setEllipsoid(ILcdEllipsoid aEllipsoid)
Sets the ellipsoid of the database object's reference.
|
void |
setFeatureNames(java.lang.String[] aFeatureNames)
Sets the names of the features to be selected.
|
void |
setFeatureTypes(java.lang.String[] aFeatureTypes)
Sets the types of the features.
|
void |
setGeometryColumnName(java.lang.String aName)
Sets the name of the column containing the database geometry object.
|
void |
setGeometryType(java.lang.String aGeometryType)
Sets the type of the geometry.
|
void |
setPrimaryFeatureIndex(int aPrimaryFeatureIndex)
Sets the primary feature index
|
void |
setSelectionFilter(java.lang.String aSelectionFilter)
A selection filter string , normally appended to the WHERE part of the
select query.
|
void |
setSelectionTables(java.lang.String aSelectionTables)
Sets the names of additional tables used in the select query.
|
void |
setSRID(int aSRID)
Sets the Spatial Reference ID number.
|
void |
setTableName(java.lang.String aName)
Sets the name of the database table.
|
getDataModel, getModelElementTypes, getModelTypes
getDisplayName, getSourceName, getTypeName
getFeatureClass, getFeatureCount, getFeatureIndex, getFeatureUnitOfMeasure
void setTableName(java.lang.String aName)
aName
- the name of the database table.java.lang.String getTableName()
void setSelectionTables(java.lang.String aSelectionTables)
aSelectionTables
- a list of additional tables separated by columns.java.lang.String getSelectionTables()
void setSelectionFilter(java.lang.String aSelectionFilter)
aSelectionFilter
- a selection filter string.java.lang.String getSelectionFilter()
void setGeometryColumnName(java.lang.String aName)
aName
- the name of the table column containing the geometry.java.lang.String getGeometryColumnName()
void setFeatureNames(java.lang.String[] aFeatureNames)
aFeatureNames
- a list of feature names.java.lang.String getFeatureName(int aIndex)
getFeatureName
in interface ILcdFeaturedDescriptor
aIndex
- the feature index.void setPrimaryFeatureIndex(int aPrimaryFeatureIndex)
aPrimaryFeatureIndex
- the primary feature indexint getPrimaryFeatureIndex()
void setSRID(int aSRID)
aSRID
- a spatial reference ID.int getSRID()
void setEllipsoid(ILcdEllipsoid aEllipsoid)
aEllipsoid
- the ellipsoid of the database object's reference.ILcdEllipsoid getEllipsoid()
void setBounds(ILcdBounds aBounds)
aBounds
- the bounds of the geometry.ILcdBounds getBounds()
void setGeometryType(java.lang.String aGeometryType)
aGeometryType
- type of the geometry.java.lang.String getGeometryType()
void setFeatureTypes(java.lang.String[] aFeatureTypes)
aFeatureTypes
- the types of the features.java.lang.String getFeatureType(int aIndex)
aIndex
- the feature index.java.lang.String getColumnNames()
String
of comma-separated column names.java.lang.String getColumnNamesAndTypes()
String
of comma-separated column names
and types.void close()
Connection
of this descriptor, if it was opened.java.lang.Object clone()