1
2
3
4
5
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 SERVICE = new PackageType("service");
34
35 public static final PackageType SERVICE_IMPL = new PackageType("service.impl");
36
37 public static final PackageType VIEW_TAPESTRY_COMPONENT = new PackageType("tapestry.component");
38
39 public static final PackageType VIEW_TAPESTRY_PAGE = new PackageType("tapestry.page");
40
41 public static final PackageType VIEW_SWING_COMPONENT = new PackageType("swing.component");
42
43 public static final PackageType VIEW_SWING_PAGE = new PackageType("swing.page");
44
45 public static List getElements() {
46 return Enum.getEnumList(PackageType.class);
47 }
48 }