1 /*
2 * joey-gen and its relative products are published under the terms
3 * of the Apache Software License.
4 *
5 * Created on 2004/11/25 0:04:12
6 */
7 package org.asyrinx.joey.gen.command.rdb;
8
9 import org.asyrinx.joey.gen.model.rdb.ForeignKey;
10
11 /***
12 * @author takeshi
13 */
14 public class PrepareReferrers extends RdbCommand {
15
16 public void visit(ForeignKey foreignKey) {
17 if (foreignKey.getForeignTable() != null)
18 foreignKey.getForeignTable().getReferrers().add(foreignKey);
19 }
20
21 }