KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > contract1 > cci > ProductApplicationClassImpl


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