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.java;
    8
    9   import org.asyrinx.joey.gen.model.AbstractEnumerationSet;
    10
    11  /***
    12   * @author akima
    13   */
    14  public class JavaEnumerationSet extends AbstractEnumerationSet {
    15
    16      /***
    17       *
    18       */
    19      public JavaEnumerationSet(AppDomain database) {
    20          super(database);
    21      }
    22
    23      /*
    24       * (non-Javadoc)
    25       *
    26       * @see org.asyrinx.joey.gen.model.Element#getParentElement()
    27       */
    28      public AppDomain getParent() {
    29          return (AppDomain) super.getParentElement();
    30      }
    31
    32      public void add(JavaEnumeration 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(JavaEnumeration 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 JavaEnumeration getEnumeration(int index) {
    51          return (JavaEnumeration) 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 JavaEnumeration getEnumeration(String name) {
    60          return (JavaEnumeration) 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 JavaEnumeration removeIndex(String name) {
    69          return (JavaEnumeration) super.removeElement(name);
    70      }
    71  }