1 package org.andromda.cartridges.ejb3;
2
3
4
5
6
7
8 public class EJB3Globals
9 {
10
11
12
13 public static final String TRANSACTION_TYPE = "transactionType";
14
15
16
17
18 public static final String JNDI_NAME_PREFIX = "jndiNamePrefix";
19
20
21
22
23
24 public static final String LABEL_COLLECTION_NAME_PATTERN = "labelCollectionNamePattern";
25
26
27
28
29
30 public static final String LABEL_SINGLE_NAME_PATTERN = "labelSingleNamePattern";
31
32
33
34
35 public static final String DAO_PATTERN = "daoNamePattern";
36
37
38
39
40
41 public static final String PERSISTENCE_CONTEXT_UNIT_NAME = "persistenceContextUnitName";
42
43
44
45
46
47 public static final String IMPLEMENTATION_OPERATION_NAME_PATTERN =
48 "implementationOperationNamePattern";
49
50
51
52
53 public static final String HIBERNATE_USER_QUERY_CACHE = "hibernateUseQueryCache";
54
55
56
57
58
59 public static final String MANAGEABLE_ROLES_ALLOWED = "manageableRolesAllowed";
60
61
62
63
64
65
66 public static final String FETCH_TYPE_EAGER = "EAGER";
67
68
69
70
71 public static final String FETCH_TYPE_LAZY = "LAZY";
72
73
74
75
76 public static final String LOB_TYPE_CLOB = "CLOB";
77
78
79
80
81 public static final String LOB_TYPE_BLOB = "BLOB";
82
83
84
85
86 public static final String GENERATOR_TYPE_TABLE = "TABLE";
87
88
89
90
91 public static final String GENERATOR_TYPE_SEQUENCE = "SEQUENCE";
92
93
94
95
96 public static final String GENERATOR_TYPE_IDENTITY = "IDENTITY";
97
98
99
100
101 public static final String GENERATOR_TYPE_AUTO = "AUTO";
102
103
104
105
106 public static final String GENERATOR_TYPE_GENERIC = "GENERIC";
107
108
109
110
111 public static final String GENERATOR_TYPE_NONE = "NONE";
112
113
114
115
116 public static final String TEMPORAL_TYPE_DATE = "DATE";
117
118
119
120
121 public static final String TEMPORAL_TYPE_TIME = "TIME";
122
123
124
125
126 public static final String TEMPORAL_TYPE_TIMESTAMP = "TIMESTAMP";
127
128
129
130
131 public static final String TEMPORAL_TYPE_NONE = "NONE";
132
133
134
135
136 public static final String FINDER_RESULT_TYPE_FIRST = "First";
137
138
139
140
141 public static final String FINDER_RESULT_TYPE_MAX = "Max";
142
143
144
145
146 public static final String VIEW_TYPE_BOTH = "both";
147
148
149
150
151 public static final String VIEW_TYPE_LOCAL = "local";
152
153
154
155
156 public static final String VIEW_TYPE_REMOTE = "remote";
157
158
159
160
161 public static final String TRANSACTION_TYPE_MANDATORY = "Manadatory";
162
163
164
165
166 public static final String TRANSACTION_TYPE_NEVER = "Never";
167
168
169
170
171 public static final String TRANSACTION_TYPE_NOT_SUPPORTED = "NotSupported";
172
173
174
175
176 public static final String TRANSACTION_TYPE_REQUIRED = "Required";
177
178
179
180
181 public static final String TRANSACTION_TYPE_REQUIRES_NEW = "RequiresNew";
182
183
184
185
186 public static final String TRANSACTION_TYPE_SUPPORTS = "Supports";
187
188
189
190
191 public static final String SERVICE_TYPE_STATELESS = "Stateless";
192
193
194
195
196 public static final String SERVICE_TYPE_STATEFUL = "Stateful";
197
198
199
200
201 public static final String PERSISTENCE_CONTAINER_JBOSS = "jboss";
202
203
204
205
206 public static final String PERSISTENCE_CONTAINER_WEBLOGIC = "weblogic";
207
208
209
210
211 public static final String SECURITY_REALM = "securityRealm";
212
213
214
215
216 public static final String TRANSACTION_MANAGEMENT_BEAN = "bean";
217
218
219
220
221 public static final String TRANSACTION_MANAGEMENT_CONTAINER = "container";
222
223
224
225
226
227 public static final String MDB_DESTINATION_TYPE_TOPIC = "javax.jms.Topic";
228
229
230
231
232
233 public static final String MDB_DESTINATION_TYPE_QUEUE = "javax.jms.Queue";
234
235
236
237
238 public static final String MDB_SUBSCRIPTION_DURABLE = "Durable";
239
240
241
242
243 public static final String MDB_SUBSCRIPTION_NONDURABLE = "NonDurable";
244
245
246
247
248 public static final char NAMESPACE_DELIMITER = '.';
249
250
251
252
253 public static final String TRANSFORMATION_CONSTANT_PREFIX = "TRANSFORM_";
254
255
256
257
258 public static final String NO_TRANSFORMATION_CONSTANT_SUFFIX = "NONE";
259
260
261
262
263 public static final String TRANSFORMATION_METHOD_PREFIX = "to";
264
265
266
267
268 public static final String TRANSFORMATION_TO_COLLECTION_METHOD_SUFFIX = "Collection";
269
270
271
272
273 public static final String SEAM_COMPONENT_SCOPE_STATELESS = "STATELESS";
274
275
276
277
278 public static final String SEAM_COMPONENT_SCOPE_CONVERSATION = "CONVERSATION";
279
280
281
282
283 public static final String COLLECTION_INTERFACE_SORTED_SET = "java.util.SortedSet";
284 }