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