KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > account1 > cci > WebAddressClassImpl


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