1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.maven.plugin.ide;
20
21 public class JeeDescriptor
22 {
23 private String jeeVersion;
24
25 private String ejbVersion;
26
27 private String servletVersion;
28
29 private String jspVersion;
30
31 public static final String JEE_1_2 = "1.2";
32
33 public static final String JEE_1_3 = "1.3";
34
35 public static final String JEE_1_4 = "1.4";
36
37 public static final String JEE_5_0 = "5.0";
38
39 public static final String JEE_6_0 = "6.0";
40
41 public static final String EJB_1_1 = "1.1";
42
43 public static final String EJB_2_0 = "2.0";
44
45 public static final String EJB_2_1 = "2.1";
46
47 public static final String EJB_3_0 = "3.0";
48
49 public static final String EJB_3_1 = "3.1";
50
51 public static final String SERVLET_2_2 = "2.2";
52
53 public static final String SERVLET_2_3 = "2.3";
54
55 public static final String SERVLET_2_4 = "2.4";
56
57 public static final String SERVLET_2_5 = "2.5";
58
59 public static final String SERVLET_3_0 = "3.0";
60
61 public static final String JSP_1_1 = "1.1";
62
63 public static final String JSP_1_2 = "1.2";
64
65 public static final String JSP_2_0 = "2.0";
66
67 public static final String JSP_2_1 = "2.1";
68
69 public static final String JSP_2_2 = "2.2";
70
71
72
73
74
75
76
77 public JeeDescriptor( String jeeVersion, String ejbVersion, String servletVersion, String jspVersion )
78 {
79 super();
80 this.jeeVersion = jeeVersion;
81 this.ejbVersion = ejbVersion;
82 this.servletVersion = servletVersion;
83 this.jspVersion = jspVersion;
84 }
85
86
87
88
89 public String getEjbVersion()
90 {
91 return ejbVersion;
92 }
93
94
95
96
97 public String getJeeVersion()
98 {
99 return jeeVersion;
100 }
101
102
103
104
105 public String getJspVersion()
106 {
107 return jspVersion;
108 }
109
110
111
112
113 public String getServletVersion()
114 {
115 return servletVersion;
116 }
117 }