Interface IOptionalDatabaseNameHolder
- All Known Subinterfaces:
IMutableOptionalDatabaseNameHolder
public interface IOptionalDatabaseNameHolder
A
IOptionalDatabaseNameHolder can have a database name.- Author:
- Silvan Wyss
-
Method Summary
-
Method Details
-
getDatabaseName
String getDatabaseName()- Returns:
- the database name of the current
IOptionalDatabaseNameHolder. - Throws:
RuntimeException- if the currentIOptionalDatabaseNameHolderdoes not have a database name.
-
hasDatabaseName
boolean hasDatabaseName()- Returns:
- true if the current
IOptionalDatabaseNameHolderhas a database name, false otherwise.
-