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/11/08 15:17:17
6    */
7   package org.asyrinx.joey.gen.model.java;
8   
9   import org.asyrinx.joey.gen.model.Element;
10  
11  /***
12   * @author takeshi
13   */
14  public class EntityKeyEntry extends Element {
15  
16      /***
17       * @param parent
18       * @param name
19       */
20      public EntityKeyEntry(EntityKey parent, Property property) {
21          super(parent, property.getName());
22          this.property = property;
23      }
24  
25      private final Property property;
26  
27      /***
28       * @return
29       */
30      public Property getProperty() {
31          return this.property;
32      }
33  }