1
2
3
4
5
6
7 package org.asyrinx.joey.gen.model.java;
8
9 import org.apache.commons.lang.enum.Enum;
10
11 /***
12 * @author takeshi
13 */
14 public class ReferenceType extends Enum {
15
16 /***
17 * @param name
18 */
19 public ReferenceType(String name) {
20 super(name);
21 }
22
23 public static final ReferenceType NORMAL = new ReferenceType("normal");
24
25 public static final ReferenceType BIDIRECTION = new ReferenceType("bidirection");
26
27 public static final ReferenceType EXTENDS = new ReferenceType("extends");
28
29 public static ReferenceType get(String name) {
30 return (ReferenceType) Enum.getEnum(ReferenceType.class, name);
31 }
32 }