public class OMJoinGetterTransformer extends Object
 table
   foreign-key
     ...
     table (the referenced table in the foreign key)
   foreign-key
     ...
     table
   ...
   referencing-foreign-keys
     foreign-key (a foreign key where the foreignTable is the current table)
       ...
       table (the referenced table in the foreign key, i.e this table.)
     foreign-key
       ...
       table
   ...
 
 
 The structure after transformation is
 
 table
   foreign-key
     ...
     table (the referenced table in the foreign key)
   foreign-key
     ...
     table
   ...
   referencing-foreign-keys
     foreign-key (a foreign key where the foreignTable is the current table)
       ...
       table (the referenced table in the foreign key, i.e this table.)
     foreign-key
       ...
       table
   ...
   joinGetter name=".."
     local
       foreign-key (a foreign key referencing the table)
     remote
       foreign-key (a foreign key of the referenced table)
   ...
 | Constructor and Description | 
|---|
| OMJoinGetterTransformer() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | checkElementName(SourceElement tableElement)Checks that the name of the table element is correct. | 
| void | transform(SourceElement tableElement,
         ControllerState controllerState) | 
public void transform(SourceElement tableElement, ControllerState controllerState) throws SourceTransformerException
tableElement - the tablecontrollerState - the controller stateSourceTransformerException - if the table cannot be joinedprotected void checkElementName(SourceElement tableElement)
tableElement - the table element, not null.IllegalArgumentException - if the element name is wrong.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.