Klasse OMReferencingForeignKeyTableTransformer
java.lang.Object
org.apache.torque.templates.transformer.om.OMReferencingForeignKeyTableTransformer
Sets the foreign tables for each of the foreign keys,
and define variables, getters and setters for the complexObjectModel.
So the source elements are (already processed by OMForeignKeyTransformer)
table
foreign-key
...
table (the foreign referenced table)
foreign-key
...
table
...
and the outcome 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
...
On running this transformer, the table element in the foreign-key elements
must be set properly.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
transform
(SourceElement table, ControllerState controllerState)
-
Konstruktordetails
-
OMReferencingForeignKeyTableTransformer
public OMReferencingForeignKeyTableTransformer()
-
-
Methodendetails
-
transform
public void transform(SourceElement table, ControllerState controllerState) throws SourceTransformerException - Löst aus:
SourceTransformerException
-