org.apache.torque.templates.transformer.sql

## Class SQLTransformer

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

- All Implemented Interfaces:
    SourceTransformer

      public class SQLTransformer
      extends Object
      implements SourceTransformer

  Transforms the tables in the OM model for sql generation.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SQLTransformer()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SourceElement` | `transform(Object databaseModel, ControllerState controllerState)`
    `void` | `transformTable(SourceElement tableElement, ControllerState controllerState)`

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

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

- - ### Constructor Detail

    - #### SQLTransformer

          public SQLTransformer()

  - ### Method Detail

    - #### transform

          public SourceElement transform(Object databaseModel,
                                         ControllerState controllerState)
                                  throws SourceTransformerException

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

    - #### transformTable

          public void transformTable(SourceElement tableElement,
                                     ControllerState controllerState)
                              throws SourceTransformerException

      Throws:
        `SourceTransformerException`

Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.