Package org.apache.torque.templates.transformer.sql

## Class SQLModelTransformer

- java.lang.Object
- - org.apache.torque.templates.transformer.sql.SQLModelTransformer

- All Implemented Interfaces:
    `SourceTransformer`

      public class SQLModelTransformer
      extends Object
      implements SourceTransformer

  Transforms the tables in the OM model for sql generation.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SQLModelTransformer()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Database` | `transform​(Object databaseModel, ControllerState controllerState)` |
    `void` | `transformTable​(Table table, Database database, ControllerState controllerState)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SQLModelTransformer

          public SQLModelTransformer()

  - ### Method Detail

    - #### transform

          public Database transform​(Object databaseModel,
                                    ControllerState controllerState)
                             throws SourceTransformerException

      Specified by:
        `transform` in interface `SourceTransformer`
      Throws:
        `SourceTransformerException`

    - #### transformTable

          public void transformTable​(Table table,
                                     Database database,
                                     ControllerState controllerState)
                              throws SourceTransformerException

      Throws:
        `SourceTransformerException`