KickJava   Java API By Example, From Geeks To Geeks.

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


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