KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > account1 > 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:38:54 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.account1.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:account1: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 extendAccountAddress(
88       org.opencrx.kernel.account1.cci.AccountAddress _base
89     , short emailFormat
90     , short emailType
91   ) {
92     EMailAddressImpl _object = (EMailAddressImpl)getEMailAddress(_base);
93     _object.setEmailFormat(emailFormat);
94     _object.setEmailType(emailType);
95     return _object;
96   }
97
98 // ----------------------------------------------------------------------------
99
// ClassProxy/ImplInstanceExtenderRequiredAttributes
100
// ----------------------------------------------------------------------------
101
public EMailAddress extendAddressable(
102       org.opencrx.kernel.address1.cci.Addressable _base
103     , short emailFormat
104     , short emailType
105     , short accessLevelBrowse
106     , short accessLevelDelete
107     , short accessLevelUpdate
108     , boolean disabled
109   ) {
110     EMailAddressImpl _object = (EMailAddressImpl)getEMailAddress(_base);
111     _object.setEmailFormat(emailFormat);
112     _object.setEmailType(emailType);
113     _object.setAccessLevelBrowse(accessLevelBrowse);
114     _object.setAccessLevelDelete(accessLevelDelete);
115     _object.setAccessLevelUpdate(accessLevelUpdate);
116     _object.setDisabled(disabled);
117     return _object;
118   }
119
120 // ----------------------------------------------------------------------------
121
// ClassProxy/ImplInstanceExtenderRequiredAttributes
122
// ----------------------------------------------------------------------------
123
public EMailAddress extendEMailAddressable(
124       org.opencrx.kernel.address1.cci.EMailAddressable _base
125     , boolean isMain
126     , short accessLevelBrowse
127     , short accessLevelDelete
128     , short accessLevelUpdate
129     , boolean disabled
130   ) {
131     EMailAddressImpl _object = (EMailAddressImpl)getEMailAddress(_base);
132     _object.setMain(isMain);
133     _object.setAccessLevelBrowse(accessLevelBrowse);
134     _object.setAccessLevelDelete(accessLevelDelete);
135     _object.setAccessLevelUpdate(accessLevelUpdate);
136     _object.setDisabled(disabled);
137     return _object;
138   }
139
140 // ----------------------------------------------------------------------------
141
// ClassProxy/ImplInstanceExtenderRequiredAttributes
142
// ----------------------------------------------------------------------------
143
public EMailAddress extendAuditee(
144       org.opencrx.kernel.base.cci.Auditee _base
145     , boolean isMain
146     , short emailFormat
147     , short emailType
148     , short accessLevelBrowse
149     , short accessLevelDelete
150     , short accessLevelUpdate
151     , boolean disabled
152   ) {
153     EMailAddressImpl _object = (EMailAddressImpl)getEMailAddress(_base);
154     _object.setMain(isMain);
155     _object.setEmailFormat(emailFormat);
156     _object.setEmailType(emailType);
157     _object.setAccessLevelBrowse(accessLevelBrowse);
158     _object.setAccessLevelDelete(accessLevelDelete);
159     _object.setAccessLevelUpdate(accessLevelUpdate);
160     _object.setDisabled(disabled);
161     return _object;
162   }
163
164 // ----------------------------------------------------------------------------
165
// ClassProxy/ImplInstanceExtenderRequiredAttributes
166
// ----------------------------------------------------------------------------
167
public EMailAddress extendBookmarkable(
168       org.opencrx.kernel.base.cci.Bookmarkable _base
169     , boolean isMain
170     , short emailFormat
171     , short emailType
172     , short accessLevelBrowse
173     , short accessLevelDelete
174     , short accessLevelUpdate
175     , boolean disabled
176   ) {
177     EMailAddressImpl _object = (EMailAddressImpl)getEMailAddress(_base);
178     _object.setMain(isMain);
179     _object.setEmailFormat(emailFormat);
180     _object.setEmailType(emailType);
181     _object.setAccessLevelBrowse(accessLevelBrowse);
182     _object.setAccessLevelDelete(accessLevelDelete);
183     _object.setAccessLevelUpdate(accessLevelUpdate);
184     _object.setDisabled(disabled);
185     return _object;
186   }
187
188 // ----------------------------------------------------------------------------
189
// ClassProxy/ImplInstanceExtenderRequiredAttributes
190
// ----------------------------------------------------------------------------
191
public EMailAddress extendCloneable(
192       org.opencrx.kernel.base.cci.Cloneable _base
193     , boolean isMain
194     , short emailFormat
195     , short emailType
196     , short accessLevelBrowse
197     , short accessLevelDelete
198     , short accessLevelUpdate
199     , boolean disabled
200   ) {
201     EMailAddressImpl _object = (EMailAddressImpl)getEMailAddress(_base);
202     _object.setMain(isMain);
203     _object.setEmailFormat(emailFormat);
204     _object.setEmailType(emailType);
205     _object.setAccessLevelBrowse(accessLevelBrowse);
206     _object.setAccessLevelDelete(accessLevelDelete);
207     _object.setAccessLevelUpdate(accessLevelUpdate);
208     _object.setDisabled(disabled);
209     return _object;
210   }
211
212 // ----------------------------------------------------------------------------
213
// ClassProxy/ImplInstanceExtenderRequiredAttributes
214
// ----------------------------------------------------------------------------
215
public EMailAddress extendImporter(
216       org.opencrx.kernel.base.cci.Importer _base
217     , boolean isMain
218     , short emailFormat
219     , short emailType
220     , short accessLevelBrowse
221     , short accessLevelDelete
222     , short accessLevelUpdate
223     , boolean disabled
224   ) {
225     EMailAddressImpl _object = (EMailAddressImpl)getEMailAddress(_base);
226     _object.setMain(isMain);
227     _object.setEmailFormat(emailFormat);
228     _object.setEmailType(emailType);
229     _object.setAccessLevelBrowse(accessLevelBrowse);
230     _object.setAccessLevelDelete(accessLevelDelete);
231     _object.setAccessLevelUpdate(accessLevelUpdate);
232     _object.setDisabled(disabled);
233     return _object;
234   }
235
236 // ----------------------------------------------------------------------------
237
// ClassProxy/ImplInstanceExtenderRequiredAttributes
238
// ----------------------------------------------------------------------------
239
public EMailAddress extendSecureObject(
240       org.opencrx.kernel.base.cci.SecureObject _base
241     , boolean isMain
242     , short emailFormat
243     , short emailType
244     , boolean disabled
245   ) {
246     EMailAddressImpl _object = (EMailAddressImpl)getEMailAddress(_base);
247     _object.setMain(isMain);
248     _object.setEmailFormat(emailFormat);
249     _object.setEmailType(emailType);
250     _object.setDisabled(disabled);
251     return _object;
252   }
253
254 // ----------------------------------------------------------------------------
255
// ClassProxy/ImplInstanceExtenderRequiredAttributes
256
// ----------------------------------------------------------------------------
257
public EMailAddress extendSubscriptionTarget(
258       org.opencrx.kernel.base.cci.SubscriptionTarget _base
259     , boolean isMain
260     , short emailFormat
261     , short emailType
262     , short accessLevelBrowse
263     , short accessLevelDelete
264     , short accessLevelUpdate
265     , boolean disabled
266   ) {
267     EMailAddressImpl _object = (EMailAddressImpl)getEMailAddress(_base);
268     _object.setMain(isMain);
269     _object.setEmailFormat(emailFormat);
270     _object.setEmailType(emailType);
271     _object.setAccessLevelBrowse(accessLevelBrowse);
272     _object.setAccessLevelDelete(accessLevelDelete);
273     _object.setAccessLevelUpdate(accessLevelUpdate);
274     _object.setDisabled(disabled);
275     return _object;
276   }
277
278 // ----------------------------------------------------------------------------
279
// ClassProxy/ImplInstanceExtenderRequiredAttributes
280
// ----------------------------------------------------------------------------
281
public EMailAddress extendXmlExporter(
282       org.opencrx.kernel.base.cci.XmlExporter _base
283     , boolean isMain
284     , short emailFormat
285     , short emailType
286     , short accessLevelBrowse
287     , short accessLevelDelete
288     , short accessLevelUpdate
289     , boolean disabled
290   ) {
291     EMailAddressImpl _object = (EMailAddressImpl)getEMailAddress(_base);
292     _object.setMain(isMain);
293     _object.setEmailFormat(emailFormat);
294     _object.setEmailType(emailType);
295     _object.setAccessLevelBrowse(accessLevelBrowse);
296     _object.setAccessLevelDelete(accessLevelDelete);
297     _object.setAccessLevelUpdate(accessLevelUpdate);
298     _object.setDisabled(disabled);
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