Klasse OMReferencingForeignKeyTableTransformer

java.lang.Object
org.apache.torque.templates.transformer.om.OMReferencingForeignKeyTableTransformer

public class OMReferencingForeignKeyTableTransformer extends Object
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.