KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > activity1 > cci > AddressGroupClassImpl


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:04 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.activity1.cci;
14
15 public class AddressGroupClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements AddressGroupClass {
18
19   public AddressGroupClassImpl(
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:activity1:AddressGroup";
28   }
29
30   public AddressGroup getAddressGroup(
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         AddressGroup target = (AddressGroup)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (AddressGroup)((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 AddressGroup createAddressGroup(
55   ) {
56     AddressGroup target = (AddressGroup)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public AddressGroup createAddressGroup(
65       String JavaDoc name
66     , short accessLevelBrowse
67     , short accessLevelDelete
68     , short accessLevelUpdate
69     , boolean disabled
70   ) {
71     AddressGroupImpl _object = (AddressGroupImpl)createAddressGroup();
72     _object.setName(name);
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 AddressGroup extendAuditee(
84       org.opencrx.kernel.base.cci.Auditee _base
85     , String JavaDoc name
86     , short accessLevelBrowse
87     , short accessLevelDelete
88     , short accessLevelUpdate
89     , boolean disabled
90   ) {
91     AddressGroupImpl _object = (AddressGroupImpl)getAddressGroup(_base);
92     _object.setName(name);
93     _object.setAccessLevelBrowse(accessLevelBrowse);
94     _object.setAccessLevelDelete(accessLevelDelete);
95     _object.setAccessLevelUpdate(accessLevelUpdate);
96     _object.setDisabled(disabled);
97     return _object;
98   }
99
100 // ----------------------------------------------------------------------------
101
// ClassProxy/ImplInstanceExtenderRequiredAttributes
102
// ----------------------------------------------------------------------------
103
public AddressGroup extendBookmarkable(
104       org.opencrx.kernel.base.cci.Bookmarkable _base
105     , String JavaDoc name
106     , short accessLevelBrowse
107     , short accessLevelDelete
108     , short accessLevelUpdate
109     , boolean disabled
110   ) {
111     AddressGroupImpl _object = (AddressGroupImpl)getAddressGroup(_base);
112     _object.setName(name);
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 AddressGroup extendCloneable(
124       org.opencrx.kernel.base.cci.Cloneable _base
125     , String JavaDoc name
126     , short accessLevelBrowse
127     , short accessLevelDelete
128     , short accessLevelUpdate
129     , boolean disabled
130   ) {
131     AddressGroupImpl _object = (AddressGroupImpl)getAddressGroup(_base);
132     _object.setName(name);
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 AddressGroup extendImporter(
144       org.opencrx.kernel.base.cci.Importer _base
145     , String JavaDoc name
146     , short accessLevelBrowse
147     , short accessLevelDelete
148     , short accessLevelUpdate
149     , boolean disabled
150   ) {
151     AddressGroupImpl _object = (AddressGroupImpl)getAddressGroup(_base);
152     _object.setName(name);
153     _object.setAccessLevelBrowse(accessLevelBrowse);
154     _object.setAccessLevelDelete(accessLevelDelete);
155     _object.setAccessLevelUpdate(accessLevelUpdate);
156     _object.setDisabled(disabled);
157     return _object;
158   }
159
160 // ----------------------------------------------------------------------------
161
// ClassProxy/ImplInstanceExtenderRequiredAttributes
162
// ----------------------------------------------------------------------------
163
public AddressGroup extendSecureObject(
164       org.opencrx.kernel.base.cci.SecureObject _base
165     , String JavaDoc name
166     , boolean disabled
167   ) {
168     AddressGroupImpl _object = (AddressGroupImpl)getAddressGroup(_base);
169     _object.setName(name);
170     _object.setDisabled(disabled);
171     return _object;
172   }
173
174 // ----------------------------------------------------------------------------
175
// ClassProxy/ImplInstanceExtenderRequiredAttributes
176
// ----------------------------------------------------------------------------
177
public AddressGroup extendSubscriptionTarget(
178       org.opencrx.kernel.base.cci.SubscriptionTarget _base
179     , String JavaDoc name
180     , short accessLevelBrowse
181     , short accessLevelDelete
182     , short accessLevelUpdate
183     , boolean disabled
184   ) {
185     AddressGroupImpl _object = (AddressGroupImpl)getAddressGroup(_base);
186     _object.setName(name);
187     _object.setAccessLevelBrowse(accessLevelBrowse);
188     _object.setAccessLevelDelete(accessLevelDelete);
189     _object.setAccessLevelUpdate(accessLevelUpdate);
190     _object.setDisabled(disabled);
191     return _object;
192   }
193
194 // ----------------------------------------------------------------------------
195
// ClassProxy/ImplInstanceExtenderRequiredAttributes
196
// ----------------------------------------------------------------------------
197
public AddressGroup extendXmlExporter(
198       org.opencrx.kernel.base.cci.XmlExporter _base
199     , String JavaDoc name
200     , short accessLevelBrowse
201     , short accessLevelDelete
202     , short accessLevelUpdate
203     , boolean disabled
204   ) {
205     AddressGroupImpl _object = (AddressGroupImpl)getAddressGroup(_base);
206     _object.setName(name);
207     _object.setAccessLevelBrowse(accessLevelBrowse);
208     _object.setAccessLevelDelete(accessLevelDelete);
209     _object.setAccessLevelUpdate(accessLevelUpdate);
210     _object.setDisabled(disabled);
211     return _object;
212   }
213
214 // ----------------------------------------------------------------------------
215
// ClassProxy/ImplInstanceExtenderRequiredAttributes
216
// ----------------------------------------------------------------------------
217
public AddressGroup extendCrxObject(
218       org.opencrx.kernel.generic.cci.CrxObject _base
219     , String JavaDoc name
220   ) {
221     AddressGroupImpl _object = (AddressGroupImpl)getAddressGroup(_base);
222     _object.setName(name);
223     return _object;
224   }
225
226 // ----------------------------------------------------------------------------
227
// ClassProxy/ImplInstanceExtenderRequiredAttributes
228
// ----------------------------------------------------------------------------
229
public AddressGroup extendBasicObject(
230       org.openmdx.base.cci.BasicObject _base
231     , String JavaDoc name
232     , short accessLevelBrowse
233     , short accessLevelDelete
234     , short accessLevelUpdate
235     , boolean disabled
236   ) {
237     AddressGroupImpl _object = (AddressGroupImpl)getAddressGroup(_base);
238     _object.setName(name);
239     _object.setAccessLevelBrowse(accessLevelBrowse);
240     _object.setAccessLevelDelete(accessLevelDelete);
241     _object.setAccessLevelUpdate(accessLevelUpdate);
242     _object.setDisabled(disabled);
243     return _object;
244   }
245
246 // ----------------------------------------------------------------------------
247
// ClassProxy/ImplInstanceExtenderRequiredAttributes
248
// ----------------------------------------------------------------------------
249
public AddressGroup extendContextCapable(
250       org.openmdx.base.cci.ContextCapable _base
251     , String JavaDoc name
252     , short accessLevelBrowse
253     , short accessLevelDelete
254     , short accessLevelUpdate
255     , boolean disabled
256   ) {
257     AddressGroupImpl _object = (AddressGroupImpl)getAddressGroup(_base);
258     _object.setName(name);
259     _object.setAccessLevelBrowse(accessLevelBrowse);
260     _object.setAccessLevelDelete(accessLevelDelete);
261     _object.setAccessLevelUpdate(accessLevelUpdate);
262     _object.setDisabled(disabled);
263     return _object;
264   }
265
266 // ----------------------------------------------------------------------------
267
// ClassProxy/ImplInstanceExtenderRequiredAttributes
268
// ----------------------------------------------------------------------------
269
public AddressGroup extendExtentCapable(
270       org.openmdx.base.cci.ExtentCapable _base
271     , String JavaDoc name
272     , short accessLevelBrowse
273     , short accessLevelDelete
274     , short accessLevelUpdate
275     , boolean disabled
276   ) {
277     AddressGroupImpl _object = (AddressGroupImpl)getAddressGroup(_base);
278     _object.setName(name);
279     _object.setAccessLevelBrowse(accessLevelBrowse);
280     _object.setAccessLevelDelete(accessLevelDelete);
281     _object.setAccessLevelUpdate(accessLevelUpdate);
282     _object.setDisabled(disabled);
283     return _object;
284   }
285
286 // ----------------------------------------------------------------------------
287
// ClassProxy/ImplInstanceExtenderRequiredAttributes
288
// ----------------------------------------------------------------------------
289
public AddressGroup extendViewCapable(
290       org.openmdx.compatibility.view1.cci.ViewCapable _base
291     , String JavaDoc name
292     , short accessLevelBrowse
293     , short accessLevelDelete
294     , short accessLevelUpdate
295     , boolean disabled
296   ) {
297     AddressGroupImpl _object = (AddressGroupImpl)getAddressGroup(_base);
298     _object.setName(name);
299     _object.setAccessLevelBrowse(accessLevelBrowse);
300     _object.setAccessLevelDelete(accessLevelDelete);
301     _object.setAccessLevelUpdate(accessLevelUpdate);
302     _object.setDisabled(disabled);
303     return _object;
304   }
305
306 // ----------------------------------------------------------------------------
307
// ClassProxy/ImplEnd.vm
308
// ----------------------------------------------------------------------------
309
}
310
Popular Tags