Interface PlantDao


  • public interface PlantDao
    This classes uses SQLite commands to access and fetch plant data from prepopulate database
    Since:
    2022-03-01
    • Method Detail

      • getPlantByType

        java.util.List<Plant> getPlantByType​(java.lang.String type)
        Query to select all from plant database with selected type
        Parameters:
        type - String
        Returns:
        data from plant database with selected type
      • getPlantByName

        Plant getPlantByName​(java.lang.String plantName)
        Query to select all from plant database with selected type
        Parameters:
        plantName - String
        Returns:
        database from plant database with selected plant name