# Uses of Class
org.apache.torque.templates.model.Database

Packages that use Database
Package
Description
org.apache.torque.templates.model
This package contains the typed model for the torque schema.
org.apache.torque.templates.transformer
Contains transformers and their helpers throughout the templates.
org.apache.torque.templates.transformer.om
Contains transformers and their helpers for the generation of OM classes.
org.apache.torque.templates.transformer.sql
Contains various classes for typemapping.

- ## Uses of Database in org.apache.torque.templates.model

  Fields in org.apache.torque.templates.model declared as Database
  Modifier and Type
  Field
  Description
  `Database`
  ExternalSchema.`database`
  The database element of the loaded external schema.
  `Database`
  Domain.`parent`
  The database where this domain is defined.
  `Database`
  ExternalSchema.`parent`
  The database to which this external schema definition belongs to.
  `Database`
  IncludeSchema.`parent`
  The schema root into which the referenced schema should be included.
  `Database`
  Table.`parent`
  The database to which this table belongs.
  `Database`
  View.`parent`
  The database to which this view belongs.

- ## Uses of Database in org.apache.torque.templates.transformer

  Methods in org.apache.torque.templates.transformer that return Database
  Modifier and Type
  Method
  Description
  `Database`
  IncludeSchemaTransformer.`transform(Database database, ControllerState controllerState)`
  Loads the included schema content into the current model.
  `Database`
  LoadExternalSchemaTransformer.`transform(Database database, ControllerState controllerState)`
  Loads the external schemata tables into the current graph.
  Methods in org.apache.torque.templates.transformer with parameters of type Database
  Modifier and Type
  Method
  Description
  `Database`
  IncludeSchemaTransformer.`transform(Database database, ControllerState controllerState)`
  Loads the included schema content into the current model.
  `Database`
  LoadExternalSchemaTransformer.`transform(Database database, ControllerState controllerState)`
  Loads the external schemata tables into the current graph.

- ## Uses of Database in org.apache.torque.templates.transformer.om

  Methods in org.apache.torque.templates.transformer.om with parameters of type Database
  Modifier and Type
  Method
  Description
  `static void`
  OMTransformer.`setRootDatabaseName(Database database)`
  Sets the rootDatabaseName attribute of the database element to the database's name.

- ## Uses of Database in org.apache.torque.templates.transformer.sql

  Methods in org.apache.torque.templates.transformer.sql that return Database
  Modifier and Type
  Method
  Description
  `Database`
  SQLModelTransformer.`transform(Object databaseModel, ControllerState controllerState)`
  Methods in org.apache.torque.templates.transformer.sql with parameters of type Database
  Modifier and Type
  Method
  Description
  `void`
  SQLModelTransformer.`transformTable(Table table, Database database, ControllerState controllerState)`