KickJava   Java API By Example, From Geeks To Geeks.

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


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 PhoneNumberClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements PhoneNumberClass {
18
19   public PhoneNumberClassImpl(
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:PhoneNumber";
28   }
29
30   public PhoneNumber getPhoneNumber(
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         PhoneNumber target = (PhoneNumber)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (PhoneNumber)((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 PhoneNumber createPhoneNumber(
55   ) {
56     PhoneNumber target = (PhoneNumber)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public PhoneNumber createPhoneNumber(
65       boolean isMain
66     , boolean automaticParsing
67     , short phoneCountryPrefix
68     , short accessLevelBrowse
69     , short accessLevelDelete
70     , short accessLevelUpdate
71     , boolean disabled
72   ) {
73     PhoneNumberImpl _object = (PhoneNumberImpl)createPhoneNumber();
74     _object.setMain(isMain);
75     _object.setAutomaticParsing(automaticParsing);
76     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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 PhoneNumber extendAccountAddress(
88       org.opencrx.kernel.account1.cci.AccountAddress _base
89     , boolean automaticParsing
90     , short phoneCountryPrefix
91   ) {
92     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
93     _object.setAutomaticParsing(automaticParsing);
94     _object.setPhoneCountryPrefix(phoneCountryPrefix);
95     return _object;
96   }
97
98 // ----------------------------------------------------------------------------
99
// ClassProxy/ImplInstanceExtenderRequiredAttributes
100
// ----------------------------------------------------------------------------
101
public PhoneNumber extendAddressable(
102       org.opencrx.kernel.address1.cci.Addressable _base
103     , boolean automaticParsing
104     , short phoneCountryPrefix
105     , short accessLevelBrowse
106     , short accessLevelDelete
107     , short accessLevelUpdate
108     , boolean disabled
109   ) {
110     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
111     _object.setAutomaticParsing(automaticParsing);
112     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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 PhoneNumber extendPhoneNumberAddressable(
124       org.opencrx.kernel.address1.cci.PhoneNumberAddressable _base
125     , boolean isMain
126     , short accessLevelBrowse
127     , short accessLevelDelete
128     , short accessLevelUpdate
129     , boolean disabled
130   ) {
131     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_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 PhoneNumber extendAuditee(
144       org.opencrx.kernel.base.cci.Auditee _base
145     , boolean isMain
146     , boolean automaticParsing
147     , short phoneCountryPrefix
148     , short accessLevelBrowse
149     , short accessLevelDelete
150     , short accessLevelUpdate
151     , boolean disabled
152   ) {
153     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
154     _object.setMain(isMain);
155     _object.setAutomaticParsing(automaticParsing);
156     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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 PhoneNumber extendBookmarkable(
168       org.opencrx.kernel.base.cci.Bookmarkable _base
169     , boolean isMain
170     , boolean automaticParsing
171     , short phoneCountryPrefix
172     , short accessLevelBrowse
173     , short accessLevelDelete
174     , short accessLevelUpdate
175     , boolean disabled
176   ) {
177     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
178     _object.setMain(isMain);
179     _object.setAutomaticParsing(automaticParsing);
180     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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 PhoneNumber extendCloneable(
192       org.opencrx.kernel.base.cci.Cloneable _base
193     , boolean isMain
194     , boolean automaticParsing
195     , short phoneCountryPrefix
196     , short accessLevelBrowse
197     , short accessLevelDelete
198     , short accessLevelUpdate
199     , boolean disabled
200   ) {
201     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
202     _object.setMain(isMain);
203     _object.setAutomaticParsing(automaticParsing);
204     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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 PhoneNumber extendImporter(
216       org.opencrx.kernel.base.cci.Importer _base
217     , boolean isMain
218     , boolean automaticParsing
219     , short phoneCountryPrefix
220     , short accessLevelBrowse
221     , short accessLevelDelete
222     , short accessLevelUpdate
223     , boolean disabled
224   ) {
225     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
226     _object.setMain(isMain);
227     _object.setAutomaticParsing(automaticParsing);
228     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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 PhoneNumber extendSecureObject(
240       org.opencrx.kernel.base.cci.SecureObject _base
241     , boolean isMain
242     , boolean automaticParsing
243     , short phoneCountryPrefix
244     , boolean disabled
245   ) {
246     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
247     _object.setMain(isMain);
248     _object.setAutomaticParsing(automaticParsing);
249     _object.setPhoneCountryPrefix(phoneCountryPrefix);
250     _object.setDisabled(disabled);
251     return _object;
252   }
253
254 // ----------------------------------------------------------------------------
255
// ClassProxy/ImplInstanceExtenderRequiredAttributes
256
// ----------------------------------------------------------------------------
257
public PhoneNumber extendSubscriptionTarget(
258       org.opencrx.kernel.base.cci.SubscriptionTarget _base
259     , boolean isMain
260     , boolean automaticParsing
261     , short phoneCountryPrefix
262     , short accessLevelBrowse
263     , short accessLevelDelete
264     , short accessLevelUpdate
265     , boolean disabled
266   ) {
267     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
268     _object.setMain(isMain);
269     _object.setAutomaticParsing(automaticParsing);
270     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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 PhoneNumber extendXmlExporter(
282       org.opencrx.kernel.base.cci.XmlExporter _base
283     , boolean isMain
284     , boolean automaticParsing
285     , short phoneCountryPrefix
286     , short accessLevelBrowse
287     , short accessLevelDelete
288     , short accessLevelUpdate
289     , boolean disabled
290   ) {
291     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
292     _object.setMain(isMain);
293     _object.setAutomaticParsing(automaticParsing);
294     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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 PhoneNumber extendCrxObject(
306       org.opencrx.kernel.generic.cci.CrxObject _base
307     , boolean isMain
308     , boolean automaticParsing
309     , short phoneCountryPrefix
310   ) {
311     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
312     _object.setMain(isMain);
313     _object.setAutomaticParsing(automaticParsing);
314     _object.setPhoneCountryPrefix(phoneCountryPrefix);
315     return _object;
316   }
317
318 // ----------------------------------------------------------------------------
319
// ClassProxy/ImplInstanceExtenderRequiredAttributes
320
// ----------------------------------------------------------------------------
321
public PhoneNumber extendBasicObject(
322       org.openmdx.base.cci.BasicObject _base
323     , boolean isMain
324     , boolean automaticParsing
325     , short phoneCountryPrefix
326     , short accessLevelBrowse
327     , short accessLevelDelete
328     , short accessLevelUpdate
329     , boolean disabled
330   ) {
331     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
332     _object.setMain(isMain);
333     _object.setAutomaticParsing(automaticParsing);
334     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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 PhoneNumber extendContextCapable(
346       org.openmdx.base.cci.ContextCapable _base
347     , boolean isMain
348     , boolean automaticParsing
349     , short phoneCountryPrefix
350     , short accessLevelBrowse
351     , short accessLevelDelete
352     , short accessLevelUpdate
353     , boolean disabled
354   ) {
355     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
356     _object.setMain(isMain);
357     _object.setAutomaticParsing(automaticParsing);
358     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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 PhoneNumber extendExtentCapable(
370       org.openmdx.base.cci.ExtentCapable _base
371     , boolean isMain
372     , boolean automaticParsing
373     , short phoneCountryPrefix
374     , short accessLevelBrowse
375     , short accessLevelDelete
376     , short accessLevelUpdate
377     , boolean disabled
378   ) {
379     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
380     _object.setMain(isMain);
381     _object.setAutomaticParsing(automaticParsing);
382     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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 PhoneNumber extendViewCapable(
394       org.openmdx.compatibility.view1.cci.ViewCapable _base
395     , boolean isMain
396     , boolean automaticParsing
397     , short phoneCountryPrefix
398     , short accessLevelBrowse
399     , short accessLevelDelete
400     , short accessLevelUpdate
401     , boolean disabled
402   ) {
403     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
404     _object.setMain(isMain);
405     _object.setAutomaticParsing(automaticParsing);
406     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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