Class TLcdInformixGeodeticModelDescriptor

All Implemented Interfaces:
ILcdAnnotatedElement, ILcdDatabaseModelDescriptor, com.luciad.internal.format.database.ILinDatabaseModelDescriptor2, ILcdDataModelDescriptor, ILcdModelDescriptor, ILcdFeaturedDescriptor, ILcdFeaturedDescriptorProvider, Serializable, Cloneable

public class TLcdInformixGeodeticModelDescriptor extends TLcdDatabaseModelDescriptor implements ILcdDatabaseModelDescriptor
This ILcdDatabaseModelDescriptor describes an Informix Geodetic table from an Informix database.

For accessing an existing Geodetic table, the following information is required:

  • a database driver,
  • a database URL,
  • connection properties,
  • a table name,
  • a column name containing the geometries,
  • a display names,
  • an optional list of feature names,
  • an optional selection filter, with additional selection tables.
  • an optional altitude range filter,
  • an optional time range filter.

For creating a new Geodetic table, the following additional information is required:

  • a Spatial Reference ID,
  • an ellipsoid,
  • a list of data types corresponding to the optional feature names.
See Also:
  • Field Details

  • Constructor Details

    • TLcdInformixGeodeticModelDescriptor

      public TLcdInformixGeodeticModelDescriptor()
      Constructs a new (invalid) Informix Geodetic table descriptor with default properties.
    • TLcdInformixGeodeticModelDescriptor

      public TLcdInformixGeodeticModelDescriptor(String aDriver, String aURL, Properties aConnectionProperties, String aTableName, String aGeometryColumnName)
      Constructs a new Informix Geodetic table descriptor.
      Parameters:
      aDriver - the JDBC driver name.
      aURL - the JDBC connection URL.
      aConnectionProperties - the connection properties, including 'user' and 'password'.
      aTableName - the geodetic table name.
      aGeometryColumnName - the name of the column containing spatial objects.
    • TLcdInformixGeodeticModelDescriptor

      public TLcdInformixGeodeticModelDescriptor(String aDriver, String aURL, Properties aConnectionProperties, String aTableName, String aGeometryColumnName, String[] aFeatureNames, int aPrimaryFeatureIndex)
      Constructs a new Informix Geodetic table descriptor.
      Parameters:
      aDriver - the JDBC driver name.
      aURL - the JDBC connection URL.
      aConnectionProperties - the connection properties, including 'user' and 'password'.
      aTableName - the geodetic table name.
      aGeometryColumnName - the name of the column containing spatial objects.
      aFeatureNames - the column names of the features that should be retrieved.
      aPrimaryFeatureIndex - the index of the feature that can be used a a primary key on the spatial table.
    • TLcdInformixGeodeticModelDescriptor

      public TLcdInformixGeodeticModelDescriptor(String aDriver, String aURL, Properties aConnectionProperties, String aTableName, String aGeometryColumnName, String[] aFeatureNames, int aPrimaryFeatureIndex, boolean aPrimaryFeatureAutoGenerated)
      Constructs a new Informix Geodetic table descriptor.
      Parameters:
      aDriver - the JDBC driver name.
      aURL - the JDBC connection URL.
      aConnectionProperties - the connection properties, including 'user' and 'password'.
      aTableName - the geodetic table name.
      aGeometryColumnName - the name of the column containing spatial objects.
      aFeatureNames - the column names of the features that should be retrieved.
      aPrimaryFeatureIndex - the index of the feature that can be used a a primary key on the spatial table.
      aPrimaryFeatureAutoGenerated - specifies whether the primary key is automatically generated by the database.
  • Method Details

    • setAltRangeFilter

      public void setAltRangeFilter(com.informix.geodetic.types.GeoAltRange aAltRangeFilter)
    • getAltRangeFilter

      public com.informix.geodetic.types.GeoAltRange getAltRangeFilter()
    • setTimeRangeFilter

      public void setTimeRangeFilter(com.informix.geodetic.types.GeoTimeRange aTimeRangeFilter)
    • getTimeRangeFilter

      public com.informix.geodetic.types.GeoTimeRange getTimeRangeFilter()
    • getConnection

      public Connection getConnection() throws SQLException
      Description copied from interface: com.luciad.internal.format.database.ILinDatabaseModelDescriptor2
      Returns the database connection.
      Specified by:
      getConnection in interface com.luciad.internal.format.database.ILinDatabaseModelDescriptor2
      Overrides:
      getConnection in class TLcdDatabaseModelDescriptor
      Returns:
      the connection
      Throws:
      SQLException