Package org.apache.torque.templates.transformer.om.mapInit

## Class DatabaseMapInitTableTransformer

- java.lang.Object
- - org.apache.torque.generator.source.transform.AttributeTransformer
  - - org.apache.torque.templates.transformer.om.mapInit.DatabaseMapInitTableTransformer

- All Implemented Interfaces:
    `SourceTransformer`

      public class DatabaseMapInitTableTransformer
      extends AttributeTransformer

  A transformer which sets attributes for the table elements for generating the map init classes.
  Version:
    $Id: DatabaseMapInitTableTransformer.java 1839288 2018-08-27 09:48:33Z tv $

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DatabaseMapInitTableTransformer()` | Constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `SourceElement` | `transform​(Object tableModel, ControllerState controllerState)` |

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

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

- - ### Constructor Detail

    - #### DatabaseMapInitTableTransformer

          public DatabaseMapInitTableTransformer()
                                          throws SourceTransformerException

      Constructor.
      Throws:
        `SourceTransformerException` - if the attribute map is malformed.

  - ### Method Detail

    - #### transform

          public SourceElement transform​(Object tableModel,
                                         ControllerState controllerState)
                                  throws SourceTransformerException

      Specified by:
        `transform` in interface `SourceTransformer`
      Overrides:
        `transform` in class `AttributeTransformer`
      Throws:
        `SourceTransformerException`