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/09 23:41:29
6    */
7   package org.asyrinx.joey.gen.model.java;
8   
9   import java.util.List;
10  
11  import org.apache.commons.lang.enum.Enum;
12  
13  /***
14   * @author takeshi
15   */
16  public class PackageType extends Enum {
17  
18      /***
19       * @param name
20       */
21      public PackageType(String name) {
22          super(name);
23      }
24  
25      public static final PackageType ENTITY = new PackageType("entity");
26  
27      public static final PackageType DAO = new PackageType("dao");
28  
29      public static final PackageType DAO_HIBERNATE = new PackageType("dao.hibernate");
30  
31      public static final PackageType DAO_TEST = new PackageType("dao.test");
32      
33      public static final PackageType VIEW_SWING = new PackageType("swing");
34  
35      public static final PackageType VIEW_TAPESTRY = new PackageType("tapestry");
36  
37      public static List getElements() {
38          return Enum.getEnumList(PackageType.class);
39      }
40  }