KickJava   Java API By Example, From Geeks To Geeks.

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


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