Package is.codion.tools.generator.domain
Class DatabaseDomain
java.lang.Object
is.codion.framework.domain.DomainModel
is.codion.tools.generator.domain.DatabaseDomain
- All Implemented Interfaces:
Domain
For instances use the factory method
databaseDomain(Connection, String)
.-
Method Summary
Modifier and TypeMethodDescriptionstatic DatabaseDomain
databaseDomain
(Connection connection, String schemaName) Factory method for creating a newDatabaseDomain
instance.tableType
(EntityType entityType) Methods inherited from class is.codion.framework.domain.DomainModel
add, add, add, add, add, add, addEntities, addFunctions, addProcedures, addReports, entities, function, functions, procedure, procedures, report, reports, setStrictForeignKeys, type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface is.codion.framework.domain.Domain
configureConnection, configureDatabase
-
Method Details
-
databaseDomain
Factory method for creating a newDatabaseDomain
instance.- Parameters:
connection
- the JDBC connectionschemaName
- the schema name- Returns:
- a new
DatabaseDomain
instance
-
tableType
- Parameters:
entityType
- the entity type- Returns:
- the table type for the given entity type, table or view
-