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 DatabaseSet extends ElementSet {
    15
    16      /***
    17       *
    18       */
    19      public DatabaseSet(Databases domain) {
    20          super(domain);
    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(Database database) {
    38          super.add(database);
    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(Database database) {
    47          return super.contains(database);
    48      }
    49
    50      /*
    51       * (non-Javadoc)
    52       *
    53       * @see org.asyrinx.joey.gen.model.ElementSet#getElement(int)
    54       */
    55      public Database getDatabase(int index) {
    56          return (Database) 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 Database getDatabase(String name) {
    65          return (Database) 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 Database removeDatabase(String name) {
    74          return (Database) super.removeElement(name);
    75      }
    76
    77  }