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