Package Database
Class CountryDataAccessObject
java.lang.Object
Database.CountryDataAccessObject
Class representing all the methods to query the country table
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic javafx.collections.ObservableList<Country>
static Country
getCountryByCountryID
(int countryId)
-
Constructor Details
-
CountryDataAccessObject
public CountryDataAccessObject()
-
-
Method Details
-
getCountryByCountryID
- Parameters:
countryId
- the countryID int value- Returns:
- the Country object
- Throws:
SQLException
-
getAllCountries
- Returns:
- [ObservableList] of Country objects
- Throws:
SQLException
-