Class FeatureColumns


  • public class FeatureColumns
    extends UserColumns<FeatureColumn>
    Collection of feature columns
    Since:
    3.5.0
    Author:
    osbornb
    • Constructor Detail

      • FeatureColumns

        public FeatureColumns​(String tableName,
                              String geometryColumn,
                              List<FeatureColumn> columns)
        Constructor
        Parameters:
        tableName - table name
        geometryColumn - geometry column
        columns - columns
      • FeatureColumns

        public FeatureColumns​(String tableName,
                              String geometryColumn,
                              List<FeatureColumn> columns,
                              boolean custom)
        Constructor
        Parameters:
        tableName - table name
        geometryColumn - geometry column
        columns - columns
        custom - custom column specification
      • FeatureColumns

        public FeatureColumns​(FeatureColumns featureColumns)
        Copy Constructor
        Parameters:
        featureColumns - feature columns
    • Method Detail

      • getGeometryColumnName

        public String getGeometryColumnName()
        Get the geometry column name
        Returns:
        geometry column name
      • setGeometryColumnName

        public void setGeometryColumnName​(String geometryColumn)
        Set the geometry column name
        Parameters:
        geometryColumn - geometry column name
      • getGeometryIndex

        public int getGeometryIndex()
        Get the geometry index
        Returns:
        geometry index
      • setGeometryIndex

        public void setGeometryIndex​(int geometryIndex)
        Set the geometry index
        Parameters:
        geometryIndex - geometry index
      • hasGeometryColumn

        public boolean hasGeometryColumn()
        Check if the table has a geometry column
        Returns:
        true if has a geometry column
      • getGeometryColumn

        public FeatureColumn getGeometryColumn()
        Get the geometry column
        Returns:
        geometry column