KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > ras1 > cci > ImplementationPartClassImpl


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:01 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.ras1.cci;
14
15 public class ImplementationPartClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements ImplementationPartClass {
18
19   public ImplementationPartClassImpl(
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:ras1:ImplementationPart";
28   }
29
30   public ImplementationPart getImplementationPart(
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         ImplementationPart target = (ImplementationPart)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (ImplementationPart)((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 ImplementationPart createImplementationPart(
55   ) {
56     ImplementationPart target = (ImplementationPart)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public ImplementationPart createImplementationPart(
65       short accessLevelBrowse
66     , short accessLevelDelete
67     , short accessLevelUpdate
68     , boolean disabled
69     , String JavaDoc artifactType
70     , String JavaDoc name
71   ) {
72     ImplementationPartImpl _object = (ImplementationPartImpl)createImplementationPart();
73     _object.setAccessLevelBrowse(accessLevelBrowse);
74     _object.setAccessLevelDelete(accessLevelDelete);
75     _object.setAccessLevelUpdate(accessLevelUpdate);
76     _object.setDisabled(disabled);
77     _object.setArtifactType(artifactType);
78     _object.setName(name);
79     return _object;
80   }
81
82 // ----------------------------------------------------------------------------
83
// ClassProxy/ImplInstanceExtenderRequiredAttributes
84
// ----------------------------------------------------------------------------
85
public ImplementationPart extendAuditee(
86       org.opencrx.kernel.base.cci.Auditee _base
87     , short accessLevelBrowse
88     , short accessLevelDelete
89     , short accessLevelUpdate
90     , boolean disabled
91     , String JavaDoc artifactType
92     , String JavaDoc name
93   ) {
94     ImplementationPartImpl _object = (ImplementationPartImpl)getImplementationPart(_base);
95     _object.setAccessLevelBrowse(accessLevelBrowse);
96     _object.setAccessLevelDelete(accessLevelDelete);
97     _object.setAccessLevelUpdate(accessLevelUpdate);
98     _object.setDisabled(disabled);
99     _object.setArtifactType(artifactType);
100     _object.setName(name);
101     return _object;
102   }
103
104 // ----------------------------------------------------------------------------
105
// ClassProxy/ImplInstanceExtenderRequiredAttributes
106
// ----------------------------------------------------------------------------
107
public ImplementationPart extendBookmarkable(
108       org.opencrx.kernel.base.cci.Bookmarkable _base
109     , short accessLevelBrowse
110     , short accessLevelDelete
111     , short accessLevelUpdate
112     , boolean disabled
113     , String JavaDoc artifactType
114     , String JavaDoc name
115   ) {
116     ImplementationPartImpl _object = (ImplementationPartImpl)getImplementationPart(_base);
117     _object.setAccessLevelBrowse(accessLevelBrowse);
118     _object.setAccessLevelDelete(accessLevelDelete);
119     _object.setAccessLevelUpdate(accessLevelUpdate);
120     _object.setDisabled(disabled);
121     _object.setArtifactType(artifactType);
122     _object.setName(name);
123     return _object;
124   }
125
126 // ----------------------------------------------------------------------------
127
// ClassProxy/ImplInstanceExtenderRequiredAttributes
128
// ----------------------------------------------------------------------------
129
public ImplementationPart extendCloneable(
130       org.opencrx.kernel.base.cci.Cloneable _base
131     , short accessLevelBrowse
132     , short accessLevelDelete
133     , short accessLevelUpdate
134     , boolean disabled
135     , String JavaDoc artifactType
136     , String JavaDoc name
137   ) {
138     ImplementationPartImpl _object = (ImplementationPartImpl)getImplementationPart(_base);
139     _object.setAccessLevelBrowse(accessLevelBrowse);
140     _object.setAccessLevelDelete(accessLevelDelete);
141     _object.setAccessLevelUpdate(accessLevelUpdate);
142     _object.setDisabled(disabled);
143     _object.setArtifactType(artifactType);
144     _object.setName(name);
145     return _object;
146   }
147
148 // ----------------------------------------------------------------------------
149
// ClassProxy/ImplInstanceExtenderRequiredAttributes
150
// ----------------------------------------------------------------------------
151
public ImplementationPart extendImporter(
152       org.opencrx.kernel.base.cci.Importer _base
153     , short accessLevelBrowse
154     , short accessLevelDelete
155     , short accessLevelUpdate
156     , boolean disabled
157     , String JavaDoc artifactType
158     , String JavaDoc name
159   ) {
160     ImplementationPartImpl _object = (ImplementationPartImpl)getImplementationPart(_base);
161     _object.setAccessLevelBrowse(accessLevelBrowse);
162     _object.setAccessLevelDelete(accessLevelDelete);
163     _object.setAccessLevelUpdate(accessLevelUpdate);
164     _object.setDisabled(disabled);
165     _object.setArtifactType(artifactType);
166     _object.setName(name);
167     return _object;
168   }
169
170 // ----------------------------------------------------------------------------
171
// ClassProxy/ImplInstanceExtenderRequiredAttributes
172
// ----------------------------------------------------------------------------
173
public ImplementationPart extendSecureObject(
174       org.opencrx.kernel.base.cci.SecureObject _base
175     , boolean disabled
176     , String JavaDoc artifactType
177     , String JavaDoc name
178   ) {
179     ImplementationPartImpl _object = (ImplementationPartImpl)getImplementationPart(_base);
180     _object.setDisabled(disabled);
181     _object.setArtifactType(artifactType);
182     _object.setName(name);
183     return _object;
184   }
185
186 // ----------------------------------------------------------------------------
187
// ClassProxy/ImplInstanceExtenderRequiredAttributes
188
// ----------------------------------------------------------------------------
189
public ImplementationPart extendSubscriptionTarget(
190       org.opencrx.kernel.base.cci.SubscriptionTarget _base
191     , short accessLevelBrowse
192     , short accessLevelDelete
193     , short accessLevelUpdate
194     , boolean disabled
195     , String JavaDoc artifactType
196     , String JavaDoc name
197   ) {
198     ImplementationPartImpl _object = (ImplementationPartImpl)getImplementationPart(_base);
199     _object.setAccessLevelBrowse(accessLevelBrowse);
200     _object.setAccessLevelDelete(accessLevelDelete);
201     _object.setAccessLevelUpdate(accessLevelUpdate);
202     _object.setDisabled(disabled);
203     _object.setArtifactType(artifactType);
204     _object.setName(name);
205     return _object;
206   }
207
208 // ----------------------------------------------------------------------------
209
// ClassProxy/ImplInstanceExtenderRequiredAttributes
210
// ----------------------------------------------------------------------------
211
public ImplementationPart extendXmlExporter(
212       org.opencrx.kernel.base.cci.XmlExporter _base
213     , short accessLevelBrowse
214     , short accessLevelDelete
215     , short accessLevelUpdate
216     , boolean disabled
217     , String JavaDoc artifactType
218     , String JavaDoc name
219   ) {
220     ImplementationPartImpl _object = (ImplementationPartImpl)getImplementationPart(_base);
221     _object.setAccessLevelBrowse(accessLevelBrowse);
222     _object.setAccessLevelDelete(accessLevelDelete);
223     _object.setAccessLevelUpdate(accessLevelUpdate);
224     _object.setDisabled(disabled);
225     _object.setArtifactType(artifactType);
226     _object.setName(name);
227     return _object;
228   }
229
230 // ----------------------------------------------------------------------------
231
// ClassProxy/ImplInstanceExtenderRequiredAttributes
232
// ----------------------------------------------------------------------------
233
public ImplementationPart extendCrxObject(
234       org.opencrx.kernel.generic.cci.CrxObject _base
235     , String JavaDoc artifactType
236     , String JavaDoc name
237   ) {
238     ImplementationPartImpl _object = (ImplementationPartImpl)getImplementationPart(_base);
239     _object.setArtifactType(artifactType);
240     _object.setName(name);
241     return _object;
242   }
243
244 // ----------------------------------------------------------------------------
245
// ClassProxy/ImplInstanceExtenderRequiredAttributes
246
// ----------------------------------------------------------------------------
247
public ImplementationPart extendDescriptionContainer(
248       org.opencrx.kernel.generic.cci.DescriptionContainer _base
249     , short accessLevelBrowse
250     , short accessLevelDelete
251     , short accessLevelUpdate
252     , boolean disabled
253     , String JavaDoc artifactType
254     , String JavaDoc name
255   ) {
256     ImplementationPartImpl _object = (ImplementationPartImpl)getImplementationPart(_base);
257     _object.setAccessLevelBrowse(accessLevelBrowse);
258     _object.setAccessLevelDelete(accessLevelDelete);
259     _object.setAccessLevelUpdate(accessLevelUpdate);
260     _object.setDisabled(disabled);
261     _object.setArtifactType(artifactType);
262     _object.setName(name);
263     return _object;
264   }
265
266 // ----------------------------------------------------------------------------
267
// ClassProxy/ImplInstanceExtenderRequiredAttributes
268
// ----------------------------------------------------------------------------
269
public ImplementationPart extendSolutionPart(
270       org.opencrx.kernel.ras1.cci.SolutionPart _base
271     , String JavaDoc artifactType
272   ) {
273     ImplementationPartImpl _object = (ImplementationPartImpl)getImplementationPart(_base);
274     _object.setArtifactType(artifactType);
275     return _object;
276   }
277
278 // ----------------------------------------------------------------------------
279
// ClassProxy/ImplInstanceExtenderRequiredAttributes
280
// ----------------------------------------------------------------------------
281
public ImplementationPart extendBasicObject(
282       org.openmdx.base.cci.BasicObject _base
283     , short accessLevelBrowse
284     , short accessLevelDelete
285     , short accessLevelUpdate
286     , boolean disabled
287     , String JavaDoc artifactType
288     , String JavaDoc name
289   ) {
290     ImplementationPartImpl _object = (ImplementationPartImpl)getImplementationPart(_base);
291     _object.setAccessLevelBrowse(accessLevelBrowse);
292     _object.setAccessLevelDelete(accessLevelDelete);
293     _object.setAccessLevelUpdate(accessLevelUpdate);
294     _object.setDisabled(disabled);
295     _object.setArtifactType(artifactType);
296     _object.setName(name);
297     return _object;
298   }
299
300 // ----------------------------------------------------------------------------
301
// ClassProxy/ImplInstanceExtenderRequiredAttributes
302
// ----------------------------------------------------------------------------
303
public ImplementationPart extendContextCapable(
304       org.openmdx.base.cci.ContextCapable _base
305     , short accessLevelBrowse
306     , short accessLevelDelete
307     , short accessLevelUpdate
308     , boolean disabled
309     , String JavaDoc artifactType
310     , String JavaDoc name
311   ) {
312     ImplementationPartImpl _object = (ImplementationPartImpl)getImplementationPart(_base);
313     _object.setAccessLevelBrowse(accessLevelBrowse);
314     _object.setAccessLevelDelete(accessLevelDelete);
315     _object.setAccessLevelUpdate(accessLevelUpdate);
316     _object.setDisabled(disabled);
317     _object.setArtifactType(artifactType);
318     _object.setName(name);
319     return _object;
320   }
321
322 // ----------------------------------------------------------------------------
323
// ClassProxy/ImplInstanceExtenderRequiredAttributes
324
// ----------------------------------------------------------------------------
325
public ImplementationPart extendExtentCapable(
326       org.openmdx.base.cci.ExtentCapable _base
327     , short accessLevelBrowse
328     , short accessLevelDelete
329     , short accessLevelUpdate
330     , boolean disabled
331     , String JavaDoc artifactType
332     , String JavaDoc name
333   ) {
334     ImplementationPartImpl _object = (ImplementationPartImpl)getImplementationPart(_base);
335     _object.setAccessLevelBrowse(accessLevelBrowse);
336     _object.setAccessLevelDelete(accessLevelDelete);
337     _object.setAccessLevelUpdate(accessLevelUpdate);
338     _object.setDisabled(disabled);
339     _object.setArtifactType(artifactType);
340     _object.setName(name);
341     return _object;
342   }
343
344 // ----------------------------------------------------------------------------
345
// ClassProxy/ImplInstanceExtenderRequiredAttributes
346
// ----------------------------------------------------------------------------
347
public ImplementationPart extendViewCapable(
348       org.openmdx.compatibility.view1.cci.ViewCapable _base
349     , short accessLevelBrowse
350     , short accessLevelDelete
351     , short accessLevelUpdate
352     , boolean disabled
353     , String JavaDoc artifactType
354     , String JavaDoc name
355   ) {
356     ImplementationPartImpl _object = (ImplementationPartImpl)getImplementationPart(_base);
357     _object.setAccessLevelBrowse(accessLevelBrowse);
358     _object.setAccessLevelDelete(accessLevelDelete);
359     _object.setAccessLevelUpdate(accessLevelUpdate);
360     _object.setDisabled(disabled);
361     _object.setArtifactType(artifactType);
362     _object.setName(name);
363     return _object;
364   }
365
366 // ----------------------------------------------------------------------------
367
// ClassProxy/ImplEnd.vm
368
// ----------------------------------------------------------------------------
369
}
370
Popular Tags