KickJava   Java API By Example, From Geeks To Geeks.

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


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 MmsSlideClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements MmsSlideClass {
18
19   public MmsSlideClassImpl(
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:MmsSlide";
28   }
29
30   public MmsSlide getMmsSlide(
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         MmsSlide target = (MmsSlide)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (MmsSlide)((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 MmsSlide createMmsSlide(
55   ) {
56     MmsSlide target = (MmsSlide)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public MmsSlide createMmsSlide(
65       int slideOrder
66     , short accessLevelBrowse
67     , short accessLevelDelete
68     , short accessLevelUpdate
69     , boolean disabled
70   ) {
71     MmsSlideImpl _object = (MmsSlideImpl)createMmsSlide();
72     _object.setSlideOrder(slideOrder);
73     _object.setAccessLevelBrowse(accessLevelBrowse);
74     _object.setAccessLevelDelete(accessLevelDelete);
75     _object.setAccessLevelUpdate(accessLevelUpdate);
76     _object.setDisabled(disabled);
77     return _object;
78   }
79
80 // ----------------------------------------------------------------------------
81
// ClassProxy/ImplInstanceExtenderRequiredAttributes
82
// ----------------------------------------------------------------------------
83
public MmsSlide extendAuditee(
84       org.opencrx.kernel.base.cci.Auditee _base
85     , int slideOrder
86     , short accessLevelBrowse
87     , short accessLevelDelete
88     , short accessLevelUpdate
89     , boolean disabled
90   ) {
91     MmsSlideImpl _object = (MmsSlideImpl)getMmsSlide(_base);
92     _object.setSlideOrder(slideOrder);
93     _object.setAccessLevelBrowse(accessLevelBrowse);
94     _object.setAccessLevelDelete(accessLevelDelete);
95     _object.setAccessLevelUpdate(accessLevelUpdate);
96     _object.setDisabled(disabled);
97     return _object;
98   }
99
100 // ----------------------------------------------------------------------------
101
// ClassProxy/ImplInstanceExtenderRequiredAttributes
102
// ----------------------------------------------------------------------------
103
public MmsSlide extendBookmarkable(
104       org.opencrx.kernel.base.cci.Bookmarkable _base
105     , int slideOrder
106     , short accessLevelBrowse
107     , short accessLevelDelete
108     , short accessLevelUpdate
109     , boolean disabled
110   ) {
111     MmsSlideImpl _object = (MmsSlideImpl)getMmsSlide(_base);
112     _object.setSlideOrder(slideOrder);
113     _object.setAccessLevelBrowse(accessLevelBrowse);
114     _object.setAccessLevelDelete(accessLevelDelete);
115     _object.setAccessLevelUpdate(accessLevelUpdate);
116     _object.setDisabled(disabled);
117     return _object;
118   }
119
120 // ----------------------------------------------------------------------------
121
// ClassProxy/ImplInstanceExtenderRequiredAttributes
122
// ----------------------------------------------------------------------------
123
public MmsSlide extendCloneable(
124       org.opencrx.kernel.base.cci.Cloneable _base
125     , int slideOrder
126     , short accessLevelBrowse
127     , short accessLevelDelete
128     , short accessLevelUpdate
129     , boolean disabled
130   ) {
131     MmsSlideImpl _object = (MmsSlideImpl)getMmsSlide(_base);
132     _object.setSlideOrder(slideOrder);
133     _object.setAccessLevelBrowse(accessLevelBrowse);
134     _object.setAccessLevelDelete(accessLevelDelete);
135     _object.setAccessLevelUpdate(accessLevelUpdate);
136     _object.setDisabled(disabled);
137     return _object;
138   }
139
140 // ----------------------------------------------------------------------------
141
// ClassProxy/ImplInstanceExtenderRequiredAttributes
142
// ----------------------------------------------------------------------------
143
public MmsSlide extendImporter(
144       org.opencrx.kernel.base.cci.Importer _base
145     , int slideOrder
146     , short accessLevelBrowse
147     , short accessLevelDelete
148     , short accessLevelUpdate
149     , boolean disabled
150   ) {
151     MmsSlideImpl _object = (MmsSlideImpl)getMmsSlide(_base);
152     _object.setSlideOrder(slideOrder);
153     _object.setAccessLevelBrowse(accessLevelBrowse);
154     _object.setAccessLevelDelete(accessLevelDelete);
155     _object.setAccessLevelUpdate(accessLevelUpdate);
156     _object.setDisabled(disabled);
157     return _object;
158   }
159
160 // ----------------------------------------------------------------------------
161
// ClassProxy/ImplInstanceExtenderRequiredAttributes
162
// ----------------------------------------------------------------------------
163
public MmsSlide extendSecureObject(
164       org.opencrx.kernel.base.cci.SecureObject _base
165     , int slideOrder
166     , boolean disabled
167   ) {
168     MmsSlideImpl _object = (MmsSlideImpl)getMmsSlide(_base);
169     _object.setSlideOrder(slideOrder);
170     _object.setDisabled(disabled);
171     return _object;
172   }
173
174 // ----------------------------------------------------------------------------
175
// ClassProxy/ImplInstanceExtenderRequiredAttributes
176
// ----------------------------------------------------------------------------
177
public MmsSlide extendSubscriptionTarget(
178       org.opencrx.kernel.base.cci.SubscriptionTarget _base
179     , int slideOrder
180     , short accessLevelBrowse
181     , short accessLevelDelete
182     , short accessLevelUpdate
183     , boolean disabled
184   ) {
185     MmsSlideImpl _object = (MmsSlideImpl)getMmsSlide(_base);
186     _object.setSlideOrder(slideOrder);
187     _object.setAccessLevelBrowse(accessLevelBrowse);
188     _object.setAccessLevelDelete(accessLevelDelete);
189     _object.setAccessLevelUpdate(accessLevelUpdate);
190     _object.setDisabled(disabled);
191     return _object;
192   }
193
194 // ----------------------------------------------------------------------------
195
// ClassProxy/ImplInstanceExtenderRequiredAttributes
196
// ----------------------------------------------------------------------------
197
public MmsSlide extendXmlExporter(
198       org.opencrx.kernel.base.cci.XmlExporter _base
199     , int slideOrder
200     , short accessLevelBrowse
201     , short accessLevelDelete
202     , short accessLevelUpdate
203     , boolean disabled
204   ) {
205     MmsSlideImpl _object = (MmsSlideImpl)getMmsSlide(_base);
206     _object.setSlideOrder(slideOrder);
207     _object.setAccessLevelBrowse(accessLevelBrowse);
208     _object.setAccessLevelDelete(accessLevelDelete);
209     _object.setAccessLevelUpdate(accessLevelUpdate);
210     _object.setDisabled(disabled);
211     return _object;
212   }
213
214 // ----------------------------------------------------------------------------
215
// ClassProxy/ImplInstanceExtenderRequiredAttributes
216
// ----------------------------------------------------------------------------
217
public MmsSlide extendCrxObject(
218       org.opencrx.kernel.generic.cci.CrxObject _base
219     , int slideOrder
220   ) {
221     MmsSlideImpl _object = (MmsSlideImpl)getMmsSlide(_base);
222     _object.setSlideOrder(slideOrder);
223     return _object;
224   }
225
226 // ----------------------------------------------------------------------------
227
// ClassProxy/ImplInstanceExtenderRequiredAttributes
228
// ----------------------------------------------------------------------------
229
public MmsSlide extendBasicObject(
230       org.openmdx.base.cci.BasicObject _base
231     , int slideOrder
232     , short accessLevelBrowse
233     , short accessLevelDelete
234     , short accessLevelUpdate
235     , boolean disabled
236   ) {
237     MmsSlideImpl _object = (MmsSlideImpl)getMmsSlide(_base);
238     _object.setSlideOrder(slideOrder);
239     _object.setAccessLevelBrowse(accessLevelBrowse);
240     _object.setAccessLevelDelete(accessLevelDelete);
241     _object.setAccessLevelUpdate(accessLevelUpdate);
242     _object.setDisabled(disabled);
243     return _object;
244   }
245
246 // ----------------------------------------------------------------------------
247
// ClassProxy/ImplInstanceExtenderRequiredAttributes
248
// ----------------------------------------------------------------------------
249
public MmsSlide extendContextCapable(
250       org.openmdx.base.cci.ContextCapable _base
251     , int slideOrder
252     , short accessLevelBrowse
253     , short accessLevelDelete
254     , short accessLevelUpdate
255     , boolean disabled
256   ) {
257     MmsSlideImpl _object = (MmsSlideImpl)getMmsSlide(_base);
258     _object.setSlideOrder(slideOrder);
259     _object.setAccessLevelBrowse(accessLevelBrowse);
260     _object.setAccessLevelDelete(accessLevelDelete);
261     _object.setAccessLevelUpdate(accessLevelUpdate);
262     _object.setDisabled(disabled);
263     return _object;
264   }
265
266 // ----------------------------------------------------------------------------
267
// ClassProxy/ImplInstanceExtenderRequiredAttributes
268
// ----------------------------------------------------------------------------
269
public MmsSlide extendExtentCapable(
270       org.openmdx.base.cci.ExtentCapable _base
271     , int slideOrder
272     , short accessLevelBrowse
273     , short accessLevelDelete
274     , short accessLevelUpdate
275     , boolean disabled
276   ) {
277     MmsSlideImpl _object = (MmsSlideImpl)getMmsSlide(_base);
278     _object.setSlideOrder(slideOrder);
279     _object.setAccessLevelBrowse(accessLevelBrowse);
280     _object.setAccessLevelDelete(accessLevelDelete);
281     _object.setAccessLevelUpdate(accessLevelUpdate);
282     _object.setDisabled(disabled);
283     return _object;
284   }
285
286 // ----------------------------------------------------------------------------
287
// ClassProxy/ImplInstanceExtenderRequiredAttributes
288
// ----------------------------------------------------------------------------
289
public MmsSlide extendViewCapable(
290       org.openmdx.compatibility.view1.cci.ViewCapable _base
291     , int slideOrder
292     , short accessLevelBrowse
293     , short accessLevelDelete
294     , short accessLevelUpdate
295     , boolean disabled
296   ) {
297     MmsSlideImpl _object = (MmsSlideImpl)getMmsSlide(_base);
298     _object.setSlideOrder(slideOrder);
299     _object.setAccessLevelBrowse(accessLevelBrowse);
300     _object.setAccessLevelDelete(accessLevelDelete);
301     _object.setAccessLevelUpdate(accessLevelUpdate);
302     _object.setDisabled(disabled);
303     return _object;
304   }
305
306 // ----------------------------------------------------------------------------
307
// ClassProxy/ImplEnd.vm
308
// ----------------------------------------------------------------------------
309
}
310
Popular Tags