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