java.lang.Object
is.codion.framework.domain.DomainModel
is.codion.tools.generator.domain.DatabaseDomain
All Implemented Interfaces:
Domain

public final class DatabaseDomain extends DomainModel
For instances use the factory method databaseDomain(Connection, String).
  • Method Details

    • databaseDomain

      public static DatabaseDomain databaseDomain(Connection connection, String schemaName)
      Factory method for creating a new DatabaseDomain instance.
      Parameters:
      connection - the JDBC connection
      schemaName - the schema name
      Returns:
      a new DatabaseDomain instance
    • tableType

      public String tableType(EntityType entityType)
      Parameters:
      entityType - the entity type
      Returns:
      the table type for the given entity type, table or view