Class AbstractDatabaseMetaData

    • Field Detail

      • m_MetaDataType

        protected MetaDataType m_MetaDataType
        the type of meta-data to return.
      • m_Table

        protected String m_Table
        the table to retrieve the information for.
    • Constructor Detail

      • AbstractDatabaseMetaData

        public AbstractDatabaseMetaData()
    • Method Detail

      • setTypeMapper

        public void setTypeMapper​(AbstractTypeMapper value)
        Sets the type mapper to use.
        Parameters:
        value - the mapper
      • getTypeMapper

        public AbstractTypeMapper getTypeMapper()
        Returns the type mapper in use.
        Returns:
        the mapper
      • typeMapperTipText

        public String typeMapperTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setMetaDataType

        public void setMetaDataType​(MetaDataType value)
        Sets the type of meta-data to retrieve.
        Parameters:
        value - the type
      • getMetaDataType

        public MetaDataType getMetaDataType()
        Returns the type of meta-data to retrieve.
        Returns:
        the type
      • metaDataTypeTipText

        public String metaDataTypeTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setTable

        public void setTable​(String value)
        Sets the table to retrieve the information for.
        Parameters:
        value - the table
      • getTable

        public String getTable()
        Returns the table to retrieve the information for.
        Returns:
        the table
      • tableTipText

        public String tableTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • generates

        public Class[] generates()
        Returns the class of objects that it generates.
        Returns:
        the Class of the generated tokens
      • queryDatabase

        protected String queryDatabase()
        Performs the actual database query.
        Specified by:
        queryDatabase in class AbstractSimpleDbSource
        Returns:
        null if everything is fine, otherwise error message