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/10 17:11:56
    6    */
    7   package org.asyrinx.joey.gen.model.rdb;
    8
    9   import org.asyrinx.joey.gen.model.ElementSet;
    10
    11  /***
    12   * @author akima
    13   */
    14  public class TableSet extends ElementSet {
    15
    16      /***
    17       *
    18       */
    19      public TableSet(Database database) {
    20          super(database);
    21      }
    22
    23      /*
    24       * (non-Javadoc)
    25       *
    26       * @see org.asyrinx.joey.gen.model.ElementSet#isEntity()
    27       */
    28      public boolean isEntity() {
    29          return false;
    30      }
    31
    32      /*
    33       * (non-Javadoc)
    34       *
    35       * @see org.asyrinx.joey.gen.model.ElementSet#add(org.asyrinx.joey.gen.model.Element)
    36       */
    37      public void add(Table table) {
    38          super.add(table);
    39      }
    40
    41      /*
    42       * (non-Javadoc)
    43       *
    44       * @see org.asyrinx.joey.gen.model.ElementSet#contains(org.asyrinx.joey.gen.model.Element)
    45       */
    46      public boolean contains(Table table) {
    47          return super.contains(table);
    48      }
    49
    50      /*
    51       * (non-Javadoc)
    52       *
    53       * @see org.asyrinx.joey.gen.model.ElementSet#getElement(int)
    54       */
    55      public Table getTable(int index) {
    56          return (Table) super.getElement(index);
    57      }
    58
    59      /*
    60       * (non-Javadoc)
    61       *
    62       * @see org.asyrinx.joey.gen.model.ElementSet#getElement(java.lang.String)
    63       */
    64      public Table getTable(String name) {
    65          return (Table) super.getElement(name);
    66      }
    67
    68      /*
    69       * (non-Javadoc)
    70       *
    71       * @see org.asyrinx.joey.gen.model.ElementSet#removeElement(java.lang.String)
    72       */
    73      public Table removeTable(String name) {
    74          return (Table) super.removeElement(name);
    75      }
    76
    77  }