KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > contract1 > 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:39:01 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.contract1.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:contract1: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 extendAddressable(
88       org.opencrx.kernel.address1.cci.Addressable _base
89     , boolean automaticParsing
90     , short phoneCountryPrefix
91     , short accessLevelBrowse
92     , short accessLevelDelete
93     , short accessLevelUpdate
94     , boolean disabled
95   ) {
96     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
97     _object.setAutomaticParsing(automaticParsing);
98     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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 PhoneNumber extendPhoneNumberAddressable(
110       org.opencrx.kernel.address1.cci.PhoneNumberAddressable _base
111     , boolean isMain
112     , short accessLevelBrowse
113     , short accessLevelDelete
114     , short accessLevelUpdate
115     , boolean disabled
116   ) {
117     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_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 PhoneNumber extendAuditee(
130       org.opencrx.kernel.base.cci.Auditee _base
131     , boolean isMain
132     , boolean automaticParsing
133     , short phoneCountryPrefix
134     , short accessLevelBrowse
135     , short accessLevelDelete
136     , short accessLevelUpdate
137     , boolean disabled
138   ) {
139     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
140     _object.setMain(isMain);
141     _object.setAutomaticParsing(automaticParsing);
142     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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 PhoneNumber extendBookmarkable(
154       org.opencrx.kernel.base.cci.Bookmarkable _base
155     , boolean isMain
156     , boolean automaticParsing
157     , short phoneCountryPrefix
158     , short accessLevelBrowse
159     , short accessLevelDelete
160     , short accessLevelUpdate
161     , boolean disabled
162   ) {
163     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
164     _object.setMain(isMain);
165     _object.setAutomaticParsing(automaticParsing);
166     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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 PhoneNumber extendCloneable(
178       org.opencrx.kernel.base.cci.Cloneable _base
179     , boolean isMain
180     , boolean automaticParsing
181     , short phoneCountryPrefix
182     , short accessLevelBrowse
183     , short accessLevelDelete
184     , short accessLevelUpdate
185     , boolean disabled
186   ) {
187     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
188     _object.setMain(isMain);
189     _object.setAutomaticParsing(automaticParsing);
190     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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 PhoneNumber extendImporter(
202       org.opencrx.kernel.base.cci.Importer _base
203     , boolean isMain
204     , boolean automaticParsing
205     , short phoneCountryPrefix
206     , short accessLevelBrowse
207     , short accessLevelDelete
208     , short accessLevelUpdate
209     , boolean disabled
210   ) {
211     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
212     _object.setMain(isMain);
213     _object.setAutomaticParsing(automaticParsing);
214     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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 PhoneNumber extendSecureObject(
226       org.opencrx.kernel.base.cci.SecureObject _base
227     , boolean isMain
228     , boolean automaticParsing
229     , short phoneCountryPrefix
230     , boolean disabled
231   ) {
232     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
233     _object.setMain(isMain);
234     _object.setAutomaticParsing(automaticParsing);
235     _object.setPhoneCountryPrefix(phoneCountryPrefix);
236     _object.setDisabled(disabled);
237     return _object;
238   }
239
240 // ----------------------------------------------------------------------------
241
// ClassProxy/ImplInstanceExtenderRequiredAttributes
242
// ----------------------------------------------------------------------------
243
public PhoneNumber extendSubscriptionTarget(
244       org.opencrx.kernel.base.cci.SubscriptionTarget _base
245     , boolean isMain
246     , boolean automaticParsing
247     , short phoneCountryPrefix
248     , short accessLevelBrowse
249     , short accessLevelDelete
250     , short accessLevelUpdate
251     , boolean disabled
252   ) {
253     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
254     _object.setMain(isMain);
255     _object.setAutomaticParsing(automaticParsing);
256     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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 PhoneNumber extendXmlExporter(
268       org.opencrx.kernel.base.cci.XmlExporter _base
269     , boolean isMain
270     , boolean automaticParsing
271     , short phoneCountryPrefix
272     , short accessLevelBrowse
273     , short accessLevelDelete
274     , short accessLevelUpdate
275     , boolean disabled
276   ) {
277     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
278     _object.setMain(isMain);
279     _object.setAutomaticParsing(automaticParsing);
280     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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 PhoneNumber extendContractAddress(
292       org.opencrx.kernel.contract1.cci.ContractAddress _base
293     , boolean automaticParsing
294     , short phoneCountryPrefix
295   ) {
296     PhoneNumberImpl _object = (PhoneNumberImpl)getPhoneNumber(_base);
297     _object.setAutomaticParsing(automaticParsing);
298     _object.setPhoneCountryPrefix(phoneCountryPrefix);
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