KickJava   Java API By Example, From Geeks To Geeks.

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


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:02 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.ras1.cci;
14
15 public class DesignModelClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements DesignModelClass {
18
19   public DesignModelClassImpl(
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:DesignModel";
28   }
29
30   public DesignModel getDesignModel(
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         DesignModel target = (DesignModel)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (DesignModel)((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 DesignModel createDesignModel(
55   ) {
56     DesignModel target = (DesignModel)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public DesignModel createDesignModel(
65       short accessLevelBrowse
66     , short accessLevelDelete
67     , short accessLevelUpdate
68     , boolean disabled
69     , String JavaDoc artifactType
70     , String JavaDoc name
71   ) {
72     DesignModelImpl _object = (DesignModelImpl)createDesignModel();
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 DesignModel 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     DesignModelImpl _object = (DesignModelImpl)getDesignModel(_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 DesignModel 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     DesignModelImpl _object = (DesignModelImpl)getDesignModel(_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 DesignModel 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     DesignModelImpl _object = (DesignModelImpl)getDesignModel(_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 DesignModel 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     DesignModelImpl _object = (DesignModelImpl)getDesignModel(_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 DesignModel extendSecureObject(
174       org.opencrx.kernel.base.cci.SecureObject _base
175     , boolean disabled
176     , String JavaDoc artifactType
177     , String JavaDoc name
178   ) {
179     DesignModelImpl _object = (DesignModelImpl)getDesignModel(_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 DesignModel 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     DesignModelImpl _object = (DesignModelImpl)getDesignModel(_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 DesignModel 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     DesignModelImpl _object = (DesignModelImpl)getDesignModel(_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 DesignModel extendCrxObject(
234       org.opencrx.kernel.generic.cci.CrxObject _base
235     , String JavaDoc artifactType
236     , String JavaDoc name
237   ) {
238     DesignModelImpl _object = (DesignModelImpl)getDesignModel(_base);
239     _object.setArtifactType(artifactType);
240     _object.setName(name);
241     return _object;
242   }
243
244 // ----------------------------------------------------------------------------
245
// ClassProxy/ImplInstanceExtenderRequiredAttributes
246
// ----------------------------------------------------------------------------
247
public DesignModel 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     DesignModelImpl _object = (DesignModelImpl)getDesignModel(_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 DesignModel extendModel(
270       org.opencrx.kernel.ras1.cci.Model _base
271     , short accessLevelBrowse
272     , short accessLevelDelete
273     , short accessLevelUpdate
274     , boolean disabled
275     , String JavaDoc artifactType
276     , String JavaDoc name
277   ) {
278     DesignModelImpl _object = (DesignModelImpl)getDesignModel(_base);
279     _object.setAccessLevelBrowse(accessLevelBrowse);
280     _object.setAccessLevelDelete(accessLevelDelete);
281     _object.setAccessLevelUpdate(accessLevelUpdate);
282     _object.setDisabled(disabled);
283     _object.setArtifactType(artifactType);
284     _object.setName(name);
285     return _object;
286   }
287
288 // ----------------------------------------------------------------------------
289
// ClassProxy/ImplInstanceExtenderRequiredAttributes
290
// ----------------------------------------------------------------------------
291
public DesignModel extendSolutionPart(
292       org.opencrx.kernel.ras1.cci.SolutionPart _base
293     , String JavaDoc artifactType
294   ) {
295     DesignModelImpl _object = (DesignModelImpl)getDesignModel(_base);
296     _object.setArtifactType(artifactType);
297     return _object;
298   }
299
300 // ----------------------------------------------------------------------------
301
// ClassProxy/ImplInstanceExtenderRequiredAttributes
302
// ----------------------------------------------------------------------------
303
public DesignModel extendBasicObject(
304       org.openmdx.base.cci.BasicObject _base
305     , short accessLevelBrowse
306     , short accessLevelDelete
307     , short accessLevelUpdate
308     , boolean disabled
309     , String JavaDoc artifactType
310     , String JavaDoc name
311   ) {
312     DesignModelImpl _object = (DesignModelImpl)getDesignModel(_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 DesignModel extendContextCapable(
326       org.openmdx.base.cci.ContextCapable _base
327     , short accessLevelBrowse
328     , short accessLevelDelete
329     , short accessLevelUpdate
330     , boolean disabled
331     , String JavaDoc artifactType
332     , String JavaDoc name
333   ) {
334     DesignModelImpl _object = (DesignModelImpl)getDesignModel(_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 DesignModel extendExtentCapable(
348       org.openmdx.base.cci.ExtentCapable _base
349     , short accessLevelBrowse
350     , short accessLevelDelete
351     , short accessLevelUpdate
352     , boolean disabled
353     , String JavaDoc artifactType
354     , String JavaDoc name
355   ) {
356     DesignModelImpl _object = (DesignModelImpl)getDesignModel(_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/ImplInstanceExtenderRequiredAttributes
368
// ----------------------------------------------------------------------------
369
public DesignModel extendViewCapable(
370       org.openmdx.compatibility.view1.cci.ViewCapable _base
371     , short accessLevelBrowse
372     , short accessLevelDelete
373     , short accessLevelUpdate
374     , boolean disabled
375     , String JavaDoc artifactType
376     , String JavaDoc name
377   ) {
378     DesignModelImpl _object = (DesignModelImpl)getDesignModel(_base);
379     _object.setAccessLevelBrowse(accessLevelBrowse);
380     _object.setAccessLevelDelete(accessLevelDelete);
381     _object.setAccessLevelUpdate(accessLevelUpdate);
382     _object.setDisabled(disabled);
383     _object.setArtifactType(artifactType);
384     _object.setName(name);
385     return _object;
386   }
387
388 // ----------------------------------------------------------------------------
389
// ClassProxy/ImplEnd.vm
390
// ----------------------------------------------------------------------------
391
}
392
Popular Tags