KickJava   Java API By Example, From Geeks To Geeks.

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


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 AccountAddressClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements AccountAddressClass {
18
19   public AccountAddressClassImpl(
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:AccountAddress";
28   }
29
30   public AccountAddress getAccountAddress(
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         AccountAddress target = (AccountAddress)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (AccountAddress)((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 AccountAddress createAccountAddress(
55   ) {
56     AccountAddress target = (AccountAddress)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public AccountAddress createAccountAddress(
65       boolean isMain
66     , short accessLevelBrowse
67     , short accessLevelDelete
68     , short accessLevelUpdate
69     , boolean disabled
70   ) {
71     AccountAddressImpl _object = (AccountAddressImpl)createAccountAddress();
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 AccountAddress extendAddressable(
84       org.opencrx.kernel.address1.cci.Addressable _base
85     , short accessLevelBrowse
86     , short accessLevelDelete
87     , short accessLevelUpdate
88     , boolean disabled
89   ) {
90     AccountAddressImpl _object = (AccountAddressImpl)getAccountAddress(_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 AccountAddress extendAuditee(
102       org.opencrx.kernel.base.cci.Auditee _base
103     , boolean isMain
104     , short accessLevelBrowse
105     , short accessLevelDelete
106     , short accessLevelUpdate
107     , boolean disabled
108   ) {
109     AccountAddressImpl _object = (AccountAddressImpl)getAccountAddress(_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 AccountAddress extendBookmarkable(
122       org.opencrx.kernel.base.cci.Bookmarkable _base
123     , boolean isMain
124     , short accessLevelBrowse
125     , short accessLevelDelete
126     , short accessLevelUpdate
127     , boolean disabled
128   ) {
129     AccountAddressImpl _object = (AccountAddressImpl)getAccountAddress(_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 AccountAddress extendCloneable(
142       org.opencrx.kernel.base.cci.Cloneable _base
143     , boolean isMain
144     , short accessLevelBrowse
145     , short accessLevelDelete
146     , short accessLevelUpdate
147     , boolean disabled
148   ) {
149     AccountAddressImpl _object = (AccountAddressImpl)getAccountAddress(_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 AccountAddress extendImporter(
162       org.opencrx.kernel.base.cci.Importer _base
163     , boolean isMain
164     , short accessLevelBrowse
165     , short accessLevelDelete
166     , short accessLevelUpdate
167     , boolean disabled
168   ) {
169     AccountAddressImpl _object = (AccountAddressImpl)getAccountAddress(_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 AccountAddress extendSecureObject(
182       org.opencrx.kernel.base.cci.SecureObject _base
183     , boolean isMain
184     , boolean disabled
185   ) {
186     AccountAddressImpl _object = (AccountAddressImpl)getAccountAddress(_base);
187     _object.setMain(isMain);
188     _object.setDisabled(disabled);
189     return _object;
190   }
191
192 // ----------------------------------------------------------------------------
193
// ClassProxy/ImplInstanceExtenderRequiredAttributes
194
// ----------------------------------------------------------------------------
195
public AccountAddress extendSubscriptionTarget(
196       org.opencrx.kernel.base.cci.SubscriptionTarget _base
197     , boolean isMain
198     , short accessLevelBrowse
199     , short accessLevelDelete
200     , short accessLevelUpdate
201     , boolean disabled
202   ) {
203     AccountAddressImpl _object = (AccountAddressImpl)getAccountAddress(_base);
204     _object.setMain(isMain);
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 AccountAddress extendXmlExporter(
216       org.opencrx.kernel.base.cci.XmlExporter _base
217     , boolean isMain
218     , short accessLevelBrowse
219     , short accessLevelDelete
220     , short accessLevelUpdate
221     , boolean disabled
222   ) {
223     AccountAddressImpl _object = (AccountAddressImpl)getAccountAddress(_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 AccountAddress extendCrxObject(
236       org.opencrx.kernel.generic.cci.CrxObject _base
237     , boolean isMain
238   ) {
239     AccountAddressImpl _object = (AccountAddressImpl)getAccountAddress(_base);
240     _object.setMain(isMain);
241     return _object;
242   }
243
244 // ----------------------------------------------------------------------------
245
// ClassProxy/ImplInstanceExtenderRequiredAttributes
246
// ----------------------------------------------------------------------------
247
public AccountAddress extendBasicObject(
248       org.openmdx.base.cci.BasicObject _base
249     , boolean isMain
250     , short accessLevelBrowse
251     , short accessLevelDelete
252     , short accessLevelUpdate
253     , boolean disabled
254   ) {
255     AccountAddressImpl _object = (AccountAddressImpl)getAccountAddress(_base);
256     _object.setMain(isMain);
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 AccountAddress extendContextCapable(
268       org.openmdx.base.cci.ContextCapable _base
269     , boolean isMain
270     , short accessLevelBrowse
271     , short accessLevelDelete
272     , short accessLevelUpdate
273     , boolean disabled
274   ) {
275     AccountAddressImpl _object = (AccountAddressImpl)getAccountAddress(_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 AccountAddress extendExtentCapable(
288       org.openmdx.base.cci.ExtentCapable _base
289     , boolean isMain
290     , short accessLevelBrowse
291     , short accessLevelDelete
292     , short accessLevelUpdate
293     , boolean disabled
294   ) {
295     AccountAddressImpl _object = (AccountAddressImpl)getAccountAddress(_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 AccountAddress extendViewCapable(
308       org.openmdx.compatibility.view1.cci.ViewCapable _base
309     , boolean isMain
310     , short accessLevelBrowse
311     , short accessLevelDelete
312     , short accessLevelUpdate
313     , boolean disabled
314   ) {
315     AccountAddressImpl _object = (AccountAddressImpl)getAccountAddress(_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/ImplEnd.vm
326
// ----------------------------------------------------------------------------
327
}
328
Popular Tags