KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > activity1 > cci > IncidentClassImpl


1 // ----------------------------------------------------------------------------
2
// ClassProxy/ImplBegin
3
// ----------------------------------------------------------------------------
4
//////////////////////////////////////////////////////////////////////////////
5
//
6
// Name: $Id: JMIAbstractMapper.java,v 1.11 2006/01/21 23:09:07 wfro Exp $
7
// Generated by: openMDX JMI Mapper
8
// Date: Mon Apr 03 11:39:03 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.activity1.cci;
14
15 public class IncidentClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements IncidentClass {
18
19   public IncidentClassImpl(
20     org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage
21   ) {
22     super(refPackage);
23   }
24
25   public String JavaDoc refMofId(
26   ) {
27     return "org:opencrx:kernel:activity1:Incident";
28   }
29
30   public Incident getIncident(
31     Object JavaDoc object
32   ) {
33     try {
34       if(object instanceof org.openmdx.base.accessor.jmi.cci.RefObject_1_0) {
35         java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
36         args.add(object);
37         Incident target = (Incident)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (Incident)((org.openmdx.base.accessor.jmi.cci.RefPackage_1_0)this.refOutermostPackage()).refObject(
43           object instanceof org.openmdx.compatibility.base.naming.Path
44             ? ((org.openmdx.compatibility.base.naming.Path)object).toXri()
45             : ((org.openmdx.base.accessor.generic.cci.Object_1_0)object).objGetPath().toXri()
46         );
47       }
48     }
49     catch(org.openmdx.base.exception.ServiceException e) {
50         throw new org.openmdx.base.accessor.jmi.cci.JmiServiceException(e);
51     }
52   }
53
54   public Incident createIncident(
55   ) {
56     Incident target = (Incident)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public Incident createIncident(
65       short activityState
66     , String JavaDoc name
67     , short priority
68     , short caseOrigin
69     , short caseType
70     , short customerSatisfaction
71     , short reproducibility
72     , short severity
73     , short accessLevelBrowse
74     , short accessLevelDelete
75     , short accessLevelUpdate
76     , boolean disabled
77   ) {
78     IncidentImpl _object = (IncidentImpl)createIncident();
79     _object.setActivityState(activityState);
80     _object.setName(name);
81     _object.setPriority(priority);
82     _object.setCaseOrigin(caseOrigin);
83     _object.setCaseType(caseType);
84     _object.setCustomerSatisfaction(customerSatisfaction);
85     _object.setReproducibility(reproducibility);
86     _object.setSeverity(severity);
87     _object.setAccessLevelBrowse(accessLevelBrowse);
88     _object.setAccessLevelDelete(accessLevelDelete);
89     _object.setAccessLevelUpdate(accessLevelUpdate);
90     _object.setDisabled(disabled);
91     return _object;
92   }
93
94 // ----------------------------------------------------------------------------
95
// ClassProxy/ImplInstanceExtenderRequiredAttributes
96
// ----------------------------------------------------------------------------
97
public Incident extendActivity(
98       org.opencrx.kernel.activity1.cci.Activity _base
99     , short caseOrigin
100     , short caseType
101     , short customerSatisfaction
102     , short reproducibility
103     , short severity
104   ) {
105     IncidentImpl _object = (IncidentImpl)getIncident(_base);
106     _object.setCaseOrigin(caseOrigin);
107     _object.setCaseType(caseType);
108     _object.setCustomerSatisfaction(customerSatisfaction);
109     _object.setReproducibility(reproducibility);
110     _object.setSeverity(severity);
111     return _object;
112   }
113
114 // ----------------------------------------------------------------------------
115
// ClassProxy/ImplInstanceExtenderRequiredAttributes
116
// ----------------------------------------------------------------------------
117
public Incident extendAuditee(
118       org.opencrx.kernel.base.cci.Auditee _base
119     , short activityState
120     , String JavaDoc name
121     , short priority
122     , short caseOrigin
123     , short caseType
124     , short customerSatisfaction
125     , short reproducibility
126     , short severity
127     , short accessLevelBrowse
128     , short accessLevelDelete
129     , short accessLevelUpdate
130     , boolean disabled
131   ) {
132     IncidentImpl _object = (IncidentImpl)getIncident(_base);
133     _object.setActivityState(activityState);
134     _object.setName(name);
135     _object.setPriority(priority);
136     _object.setCaseOrigin(caseOrigin);
137     _object.setCaseType(caseType);
138     _object.setCustomerSatisfaction(customerSatisfaction);
139     _object.setReproducibility(reproducibility);
140     _object.setSeverity(severity);
141     _object.setAccessLevelBrowse(accessLevelBrowse);
142     _object.setAccessLevelDelete(accessLevelDelete);
143     _object.setAccessLevelUpdate(accessLevelUpdate);
144     _object.setDisabled(disabled);
145     return _object;
146   }
147
148 // ----------------------------------------------------------------------------
149
// ClassProxy/ImplInstanceExtenderRequiredAttributes
150
// ----------------------------------------------------------------------------
151
public Incident extendBookmarkable(
152       org.opencrx.kernel.base.cci.Bookmarkable _base
153     , short activityState
154     , String JavaDoc name
155     , short priority
156     , short caseOrigin
157     , short caseType
158     , short customerSatisfaction
159     , short reproducibility
160     , short severity
161     , short accessLevelBrowse
162     , short accessLevelDelete
163     , short accessLevelUpdate
164     , boolean disabled
165   ) {
166     IncidentImpl _object = (IncidentImpl)getIncident(_base);
167     _object.setActivityState(activityState);
168     _object.setName(name);
169     _object.setPriority(priority);
170     _object.setCaseOrigin(caseOrigin);
171     _object.setCaseType(caseType);
172     _object.setCustomerSatisfaction(customerSatisfaction);
173     _object.setReproducibility(reproducibility);
174     _object.setSeverity(severity);
175     _object.setAccessLevelBrowse(accessLevelBrowse);
176     _object.setAccessLevelDelete(accessLevelDelete);
177     _object.setAccessLevelUpdate(accessLevelUpdate);
178     _object.setDisabled(disabled);
179     return _object;
180   }
181
182 // ----------------------------------------------------------------------------
183
// ClassProxy/ImplInstanceExtenderRequiredAttributes
184
// ----------------------------------------------------------------------------
185
public Incident extendCloneable(
186       org.opencrx.kernel.base.cci.Cloneable _base
187     , short activityState
188     , String JavaDoc name
189     , short priority
190     , short caseOrigin
191     , short caseType
192     , short customerSatisfaction
193     , short reproducibility
194     , short severity
195     , short accessLevelBrowse
196     , short accessLevelDelete
197     , short accessLevelUpdate
198     , boolean disabled
199   ) {
200     IncidentImpl _object = (IncidentImpl)getIncident(_base);
201     _object.setActivityState(activityState);
202     _object.setName(name);
203     _object.setPriority(priority);
204     _object.setCaseOrigin(caseOrigin);
205     _object.setCaseType(caseType);
206     _object.setCustomerSatisfaction(customerSatisfaction);
207     _object.setReproducibility(reproducibility);
208     _object.setSeverity(severity);
209     _object.setAccessLevelBrowse(accessLevelBrowse);
210     _object.setAccessLevelDelete(accessLevelDelete);
211     _object.setAccessLevelUpdate(accessLevelUpdate);
212     _object.setDisabled(disabled);
213     return _object;
214   }
215
216 // ----------------------------------------------------------------------------
217
// ClassProxy/ImplInstanceExtenderRequiredAttributes
218
// ----------------------------------------------------------------------------
219
public Incident extendImporter(
220       org.opencrx.kernel.base.cci.Importer _base
221     , short activityState
222     , String JavaDoc name
223     , short priority
224     , short caseOrigin
225     , short caseType
226     , short customerSatisfaction
227     , short reproducibility
228     , short severity
229     , short accessLevelBrowse
230     , short accessLevelDelete
231     , short accessLevelUpdate
232     , boolean disabled
233   ) {
234     IncidentImpl _object = (IncidentImpl)getIncident(_base);
235     _object.setActivityState(activityState);
236     _object.setName(name);
237     _object.setPriority(priority);
238     _object.setCaseOrigin(caseOrigin);
239     _object.setCaseType(caseType);
240     _object.setCustomerSatisfaction(customerSatisfaction);
241     _object.setReproducibility(reproducibility);
242     _object.setSeverity(severity);
243     _object.setAccessLevelBrowse(accessLevelBrowse);
244     _object.setAccessLevelDelete(accessLevelDelete);
245     _object.setAccessLevelUpdate(accessLevelUpdate);
246     _object.setDisabled(disabled);
247     return _object;
248   }
249
250 // ----------------------------------------------------------------------------
251
// ClassProxy/ImplInstanceExtenderRequiredAttributes
252
// ----------------------------------------------------------------------------
253
public Incident extendSecureObject(
254       org.opencrx.kernel.base.cci.SecureObject _base
255     , short activityState
256     , String JavaDoc name
257     , short priority
258     , short caseOrigin
259     , short caseType
260     , short customerSatisfaction
261     , short reproducibility
262     , short severity
263     , boolean disabled
264   ) {
265     IncidentImpl _object = (IncidentImpl)getIncident(_base);
266     _object.setActivityState(activityState);
267     _object.setName(name);
268     _object.setPriority(priority);
269     _object.setCaseOrigin(caseOrigin);
270     _object.setCaseType(caseType);
271     _object.setCustomerSatisfaction(customerSatisfaction);
272     _object.setReproducibility(reproducibility);
273     _object.setSeverity(severity);
274     _object.setDisabled(disabled);
275     return _object;
276   }
277
278 // ----------------------------------------------------------------------------
279
// ClassProxy/ImplInstanceExtenderRequiredAttributes
280
// ----------------------------------------------------------------------------
281
public Incident extendSubscriptionTarget(
282       org.opencrx.kernel.base.cci.SubscriptionTarget _base
283     , short activityState
284     , String JavaDoc name
285     , short priority
286     , short caseOrigin
287     , short caseType
288     , short customerSatisfaction
289     , short reproducibility
290     , short severity
291     , short accessLevelBrowse
292     , short accessLevelDelete
293     , short accessLevelUpdate
294     , boolean disabled
295   ) {
296     IncidentImpl _object = (IncidentImpl)getIncident(_base);
297     _object.setActivityState(activityState);
298     _object.setName(name);
299     _object.setPriority(priority);
300     _object.setCaseOrigin(caseOrigin);
301     _object.setCaseType(caseType);
302     _object.setCustomerSatisfaction(customerSatisfaction);
303     _object.setReproducibility(reproducibility);
304     _object.setSeverity(severity);
305     _object.setAccessLevelBrowse(accessLevelBrowse);
306     _object.setAccessLevelDelete(accessLevelDelete);
307     _object.setAccessLevelUpdate(accessLevelUpdate);
308     _object.setDisabled(disabled);
309     return _object;
310   }
311
312 // ----------------------------------------------------------------------------
313
// ClassProxy/ImplInstanceExtenderRequiredAttributes
314
// ----------------------------------------------------------------------------
315
public Incident extendXmlExporter(
316       org.opencrx.kernel.base.cci.XmlExporter _base
317     , short activityState
318     , String JavaDoc name
319     , short priority
320     , short caseOrigin
321     , short caseType
322     , short customerSatisfaction
323     , short reproducibility
324     , short severity
325     , short accessLevelBrowse
326     , short accessLevelDelete
327     , short accessLevelUpdate
328     , boolean disabled
329   ) {
330     IncidentImpl _object = (IncidentImpl)getIncident(_base);
331     _object.setActivityState(activityState);
332     _object.setName(name);
333     _object.setPriority(priority);
334     _object.setCaseOrigin(caseOrigin);
335     _object.setCaseType(caseType);
336     _object.setCustomerSatisfaction(customerSatisfaction);
337     _object.setReproducibility(reproducibility);
338     _object.setSeverity(severity);
339     _object.setAccessLevelBrowse(accessLevelBrowse);
340     _object.setAccessLevelDelete(accessLevelDelete);
341     _object.setAccessLevelUpdate(accessLevelUpdate);
342     _object.setDisabled(disabled);
343     return _object;
344   }
345
346 // ----------------------------------------------------------------------------
347
// ClassProxy/ImplInstanceExtenderRequiredAttributes
348
// ----------------------------------------------------------------------------
349
public Incident extendDepotReferenceHolder(
350       org.opencrx.kernel.depot1.cci.DepotReferenceHolder _base
351     , short activityState
352     , String JavaDoc name
353     , short priority
354     , short caseOrigin
355     , short caseType
356     , short customerSatisfaction
357     , short reproducibility
358     , short severity
359     , short accessLevelBrowse
360     , short accessLevelDelete
361     , short accessLevelUpdate
362     , boolean disabled
363   ) {
364     IncidentImpl _object = (IncidentImpl)getIncident(_base);
365     _object.setActivityState(activityState);
366     _object.setName(name);
367     _object.setPriority(priority);
368     _object.setCaseOrigin(caseOrigin);
369     _object.setCaseType(caseType);
370     _object.setCustomerSatisfaction(customerSatisfaction);
371     _object.setReproducibility(reproducibility);
372     _object.setSeverity(severity);
373     _object.setAccessLevelBrowse(accessLevelBrowse);
374     _object.setAccessLevelDelete(accessLevelDelete);
375     _object.setAccessLevelUpdate(accessLevelUpdate);
376     _object.setDisabled(disabled);
377     return _object;
378   }
379
380 // ----------------------------------------------------------------------------
381
// ClassProxy/ImplInstanceExtenderRequiredAttributes
382
// ----------------------------------------------------------------------------
383
public Incident extendCrxObject(
384       org.opencrx.kernel.generic.cci.CrxObject _base
385     , short activityState
386     , String JavaDoc name
387     , short priority
388     , short caseOrigin
389     , short caseType
390     , short customerSatisfaction
391     , short reproducibility
392     , short severity
393   ) {
394     IncidentImpl _object = (IncidentImpl)getIncident(_base);
395     _object.setActivityState(activityState);
396     _object.setName(name);
397     _object.setPriority(priority);
398     _object.setCaseOrigin(caseOrigin);
399     _object.setCaseType(caseType);
400     _object.setCustomerSatisfaction(customerSatisfaction);
401     _object.setReproducibility(reproducibility);
402     _object.setSeverity(severity);
403     return _object;
404   }
405
406 // ----------------------------------------------------------------------------
407
// ClassProxy/ImplInstanceExtenderRequiredAttributes
408
// ----------------------------------------------------------------------------
409
public Incident extendBasicObject(
410       org.openmdx.base.cci.BasicObject _base
411     , short activityState
412     , String JavaDoc name
413     , short priority
414     , short caseOrigin
415     , short caseType
416     , short customerSatisfaction
417     , short reproducibility
418     , short severity
419     , short accessLevelBrowse
420     , short accessLevelDelete
421     , short accessLevelUpdate
422     , boolean disabled
423   ) {
424     IncidentImpl _object = (IncidentImpl)getIncident(_base);
425     _object.setActivityState(activityState);
426     _object.setName(name);
427     _object.setPriority(priority);
428     _object.setCaseOrigin(caseOrigin);
429     _object.setCaseType(caseType);
430     _object.setCustomerSatisfaction(customerSatisfaction);
431     _object.setReproducibility(reproducibility);
432     _object.setSeverity(severity);
433     _object.setAccessLevelBrowse(accessLevelBrowse);
434     _object.setAccessLevelDelete(accessLevelDelete);
435     _object.setAccessLevelUpdate(accessLevelUpdate);
436     _object.setDisabled(disabled);
437     return _object;
438   }
439
440 // ----------------------------------------------------------------------------
441
// ClassProxy/ImplInstanceExtenderRequiredAttributes
442
// ----------------------------------------------------------------------------
443
public Incident extendContextCapable(
444       org.openmdx.base.cci.ContextCapable _base
445     , short activityState
446     , String JavaDoc name
447     , short priority
448     , short caseOrigin
449     , short caseType
450     , short customerSatisfaction
451     , short reproducibility
452     , short severity
453     , short accessLevelBrowse
454     , short accessLevelDelete
455     , short accessLevelUpdate
456     , boolean disabled
457   ) {
458     IncidentImpl _object = (IncidentImpl)getIncident(_base);
459     _object.setActivityState(activityState);
460     _object.setName(name);
461     _object.setPriority(priority);
462     _object.setCaseOrigin(caseOrigin);
463     _object.setCaseType(caseType);
464     _object.setCustomerSatisfaction(customerSatisfaction);
465     _object.setReproducibility(reproducibility);
466     _object.setSeverity(severity);
467     _object.setAccessLevelBrowse(accessLevelBrowse);
468     _object.setAccessLevelDelete(accessLevelDelete);
469     _object.setAccessLevelUpdate(accessLevelUpdate);
470     _object.setDisabled(disabled);
471     return _object;
472   }
473
474 // ----------------------------------------------------------------------------
475
// ClassProxy/ImplInstanceExtenderRequiredAttributes
476
// ----------------------------------------------------------------------------
477
public Incident extendExtentCapable(
478       org.openmdx.base.cci.ExtentCapable _base
479     , short activityState
480     , String JavaDoc name
481     , short priority
482     , short caseOrigin
483     , short caseType
484     , short customerSatisfaction
485     , short reproducibility
486     , short severity
487     , short accessLevelBrowse
488     , short accessLevelDelete
489     , short accessLevelUpdate
490     , boolean disabled
491   ) {
492     IncidentImpl _object = (IncidentImpl)getIncident(_base);
493     _object.setActivityState(activityState);
494     _object.setName(name);
495     _object.setPriority(priority);
496     _object.setCaseOrigin(caseOrigin);
497     _object.setCaseType(caseType);
498     _object.setCustomerSatisfaction(customerSatisfaction);
499     _object.setReproducibility(reproducibility);
500     _object.setSeverity(severity);
501     _object.setAccessLevelBrowse(accessLevelBrowse);
502     _object.setAccessLevelDelete(accessLevelDelete);
503     _object.setAccessLevelUpdate(accessLevelUpdate);
504     _object.setDisabled(disabled);
505     return _object;
506   }
507
508 // ----------------------------------------------------------------------------
509
// ClassProxy/ImplInstanceExtenderRequiredAttributes
510
// ----------------------------------------------------------------------------
511
public Incident extendViewCapable(
512       org.openmdx.compatibility.view1.cci.ViewCapable _base
513     , short activityState
514     , String JavaDoc name
515     , short priority
516     , short caseOrigin
517     , short caseType
518     , short customerSatisfaction
519     , short reproducibility
520     , short severity
521     , short accessLevelBrowse
522     , short accessLevelDelete
523     , short accessLevelUpdate
524     , boolean disabled
525   ) {
526     IncidentImpl _object = (IncidentImpl)getIncident(_base);
527     _object.setActivityState(activityState);
528     _object.setName(name);
529     _object.setPriority(priority);
530     _object.setCaseOrigin(caseOrigin);
531     _object.setCaseType(caseType);
532     _object.setCustomerSatisfaction(customerSatisfaction);
533     _object.setReproducibility(reproducibility);
534     _object.setSeverity(severity);
535     _object.setAccessLevelBrowse(accessLevelBrowse);
536     _object.setAccessLevelDelete(accessLevelDelete);
537     _object.setAccessLevelUpdate(accessLevelUpdate);
538     _object.setDisabled(disabled);
539     return _object;
540   }
541
542 // ----------------------------------------------------------------------------
543
// ClassProxy/ImplEnd.vm
544
// ----------------------------------------------------------------------------
545
}
546
Popular Tags