Interface ILcdDatabaseModelDescriptor

All Superinterfaces:
Cloneable, ILcdDataModelDescriptor, ILcdFeaturedDescriptor, ILcdModelDescriptor, Serializable
All Known Implementing Classes:
TLcdDatabaseModelDescriptor, TLcdDB2SpatialModelDescriptor, TLcdInformixGeodeticModelDescriptor, TLcdInformixSpatialModelDescriptor, TLcdLVDBModelDescriptor, TLcdMSSQLModelDescriptor, TLcdOracleGeoRasterModelDescriptor, TLcdOracleSpatialModelDescriptor, TLcdPostGISModelDescriptor, TLcdSpatiaLiteModelDescriptor

public interface ILcdDatabaseModelDescriptor extends ILcdModelDescriptor, ILcdDataModelDescriptor, ILcdFeaturedDescriptor, Cloneable
This ILcdModelDescriptor specifically describes database models. It contains the additional properties that are typically present in spatial databases.
  • Method Details

    • setTableName

      void setTableName(String aName)
      Sets the name of the database table.
      Parameters:
      aName - the name of the database table.
    • getTableName

      String getTableName()
      Returns the name of the database table.
      Returns:
      a table name.
    • setSelectionTables

      void setSelectionTables(String aSelectionTables)
      Sets the names of additional tables used in the select query.
      Parameters:
      aSelectionTables - a list of additional tables separated by columns.
    • getSelectionTables

      String getSelectionTables()
      Returns the names of the additional tables used in the select query
      Returns:
      a list of additional tables, separated by columns.
    • setSelectionFilter

      void setSelectionFilter(String aSelectionFilter)
      A selection filter string , normally appended to the WHERE part of the select query.
      Parameters:
      aSelectionFilter - a selection filter string.
    • getSelectionFilter

      String getSelectionFilter()
      Returns the string representing the selection filter.
      Returns:
      the selection filter.
    • setGeometryColumnName

      void setGeometryColumnName(String aName)
      Sets the name of the column containing the database geometry object.
      Parameters:
      aName - the name of the table column containing the geometry.
    • getGeometryColumnName

      String getGeometryColumnName()
      Returns the name of the table column containing the geometry.
      Returns:
      the name of the column containing the geometry.
    • setFeatureNames

      void setFeatureNames(String[] aFeatureNames)
      Sets the names of the features to be selected.
      Parameters:
      aFeatureNames - a list of feature names.
    • getFeatureName

      String getFeatureName(int aIndex)
      Returns the name of a particular feature.
      Specified by:
      getFeatureName in interface ILcdFeaturedDescriptor
      Parameters:
      aIndex - the feature index.
      Returns:
      the name corresponding to the given index.
    • setPrimaryFeatureIndex

      void setPrimaryFeatureIndex(int aPrimaryFeatureIndex)
      Sets the primary feature index
      Parameters:
      aPrimaryFeatureIndex - the primary feature index
    • getPrimaryFeatureIndex

      int getPrimaryFeatureIndex()
      Returns the primary feature index.
      Returns:
      the primary feature index.
    • setSRID

      void setSRID(int aSRID)
      Sets the Spatial Reference ID number.
      Parameters:
      aSRID - a spatial reference ID.
    • getSRID

      int getSRID()
      Returns the Spatial Reference ID number.
      Returns:
      the Spatial reference ID number.
    • setEllipsoid

      void setEllipsoid(ILcdEllipsoid aEllipsoid)
      Sets the ellipsoid of the database object's reference.
      Parameters:
      aEllipsoid - the ellipsoid of the database object's reference.
    • getEllipsoid

      ILcdEllipsoid getEllipsoid()
      Returns the ellipsoid of the database object reference.
      Returns:
      an ellipsoid
    • setBounds

      void setBounds(ILcdBounds aBounds)
      Sets the bounds of the geometry.
      Parameters:
      aBounds - the bounds of the geometry.
    • getBounds

      ILcdBounds getBounds()
      returns the bounds of the geometry.
      Returns:
      the bounds of the geometry.
    • setGeometryType

      void setGeometryType(String aGeometryType)
      Sets the type of the geometry.
      Parameters:
      aGeometryType - type of the geometry.
    • getGeometryType

      String getGeometryType()
      Returns the type of the geometry.
      Returns:
      type of the geometry.
    • setFeatureTypes

      void setFeatureTypes(String[] aFeatureTypes)
      Sets the types of the features.
      Parameters:
      aFeatureTypes - the types of the features.
    • getFeatureType

      String getFeatureType(int aIndex)
      Returns the type of a given feature.
      Parameters:
      aIndex - the feature index.
      Returns:
      the feature type.
    • getColumnNames

      String getColumnNames()
      Concatenates the main column name and the feature column names into a single String of comma-separated column names.
      Returns:
      a String containing the comma-separated column names.
    • getColumnNamesAndTypes

      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.
      Returns:
      a String containing the main column name and type, and the feature column names and types, separated by commas.
    • close

      void close()
      Closes the Connection of this descriptor, if it was opened.
    • clone

      Object clone()