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/15 14:50:06
    6    */
    7   package org.asyrinx.joey.gen.model.rdb.visitor;
    8
    9   import org.asyrinx.joey.gen.model.EnumerationEntry;
    10  import org.asyrinx.joey.gen.model.rdb.Column;
    11  import org.asyrinx.joey.gen.model.rdb.Database;
    12  import org.asyrinx.joey.gen.model.rdb.Databases;
    13  import org.asyrinx.joey.gen.model.rdb.PrimaryKey;
    14  import org.asyrinx.joey.gen.model.rdb.RdbEnumeration;
    15  import org.asyrinx.joey.gen.model.rdb.ForeignKey;
    16  import org.asyrinx.joey.gen.model.rdb.ForeignKeyEntry;
    17  import org.asyrinx.joey.gen.model.rdb.Index;
    18  import org.asyrinx.joey.gen.model.rdb.IndexEntry;
    19  import org.asyrinx.joey.gen.model.rdb.RdbVisitor;
    20  import org.asyrinx.joey.gen.model.rdb.Table;
    21  import org.asyrinx.joey.gen.model.rdb.Unique;
    22
    23  /***
    24   * @author akima
    25   */
    26  public class RdbVisitorWrapper implements RdbVisitor {
    27
    28      /***
    29       *
    30       */
    31      public RdbVisitorWrapper(RdbVisitor rdbVisitor) {
    32          super();
    33          this.rdbVisitor = rdbVisitor;
    34      }
    35
    36      protected final RdbVisitor rdbVisitor;
    37
    38      /***
    39       * @param column
    40       */
    41      public void visit(Column column) {
    42          rdbVisitor.visit(column);
    43      }
    44
    45      /***
    46       * @param database
    47       */
    48      public void visit(Database database) {
    49          rdbVisitor.visit(database);
    50      }
    51
    52      /***
    53       * @param databases
    54       */
    55      public void visit(Databases databases) {
    56          rdbVisitor.visit(databases);
    57      }
    58
    59      /***
    60       * @param enumeration
    61       */
    62      public void visit(RdbEnumeration enumeration) {
    63          rdbVisitor.visit(enumeration);
    64      }
    65
    66      /***
    67       * @param enumerationEntry
    68       */
    69      public void visit(EnumerationEntry enumerationEntry) {
    70          rdbVisitor.visit(enumerationEntry);
    71      }
    72
    73      /***
    74       * @param foreignKey
    75       */
    76      public void visit(ForeignKey foreignKey) {
    77          rdbVisitor.visit(foreignKey);
    78      }
    79
    80      /***
    81       * @param foreignKeyEntry
    82       */
    83      public void visit(ForeignKeyEntry foreignKeyEntry) {
    84          rdbVisitor.visit(foreignKeyEntry);
    85      }
    86
    87      /***
    88       * @param index
    89       */
    90      public void visit(Index index) {
    91          rdbVisitor.visit(index);
    92      }
    93
    94      /***
    95       * @param indexEntry
    96       */
    97      public void visit(IndexEntry indexEntry) {
    98          rdbVisitor.visit(indexEntry);
    99      }
    100
    101     /*
    102      * (non-Javadoc)
    103      *
    104      * @see org.asyrinx.joey.gen.model.rdb.RdbVisitor#visit(org.asyrinx.joey.gen.model.rdb.PrimaryKey)
    105      */
    106     public void visit(PrimaryKey primaryKey) {
    107         rdbVisitor.visit(primaryKey);
    108     }
    109
    110     /***
    111      * @param table
    112      */
    113     public void visit(Table table) {
    114         rdbVisitor.visit(table);
    115     }
    116
    117     /*
    118      * (non-Javadoc)
    119      *
    120      * @see org.asyrinx.joey.gen.model.rdb.RdbVisitor#visit(org.asyrinx.joey.gen.model.rdb.Unique)
    121      */
    122     public void visit(Unique unique) {
    123         rdbVisitor.visit(unique);
    124     }
    125
    126 }