KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > building1 > cci > BuildingUnitClassImpl


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