View Javadoc

1   /*
2    * joey-gen and its relative products are published under the terms
3    * of the Apache Software License.
4    * 
5    * Created on 2004/08/16 6:21:18
6    */
7   package org.asyrinx.joey.gen.command.rdb;
8   
9   import org.asyrinx.joey.gen.model.command.CompositeCommand;
10  
11  /***
12   * @author akima
13   */
14  public class StandardCommands extends CompositeCommand {
15  
16      /***
17       *  
18       */
19      public StandardCommands() {
20          super();
21          initCommands();
22      }
23  
24      protected void initCommands() {
25          add(new CopyPackageNames());
26          add(new MergeDatabases());
27          add(new PreparePrimaryKey());
28          add(new ExtendsToFk());
29          add(new PrepareColumnFk());
30          add(new FkToIndex());
31          add(new BasicNaming());
32          add(new PrepareReferrers());
33          add(new SortTablesByExtends());
34          add(new CheckNameOfColumn());
35          add(new CheckNameOfTable());
36          add(new CheckNameOfIndex());
37          add(new CheckNameOfFk());
38          add(new CheckNameDuplication.Tables());
39          add(new CheckNameDuplication.Columns());
40          add(new CheckNameDuplication.Enumerations());
41          add(new CheckNameDuplication.EnumerationEntries());
42          add(new CheckFkColumnType());
43          add(new CheckForeignKey());
44          add(new CheckIndexEntry());
45      }
46  }