KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > forecast1 > cci > BudgetClassImpl


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