KickJava   Java API By Example, From Geeks To Geeks.

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


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 MemberClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements MemberClass {
18
19   public MemberClassImpl(
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:Member";
28   }
29
30   public Member getMember(
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         Member target = (Member)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (Member)((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 Member createMember(
55   ) {
56     Member target = (Member)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public Member createMember(
65       short accessLevelBrowse
66     , short accessLevelDelete
67     , short accessLevelUpdate
68     , boolean disabled
69   ) {
70     MemberImpl _object = (MemberImpl)createMember();
71     _object.setAccessLevelBrowse(accessLevelBrowse);
72     _object.setAccessLevelDelete(accessLevelDelete);
73     _object.setAccessLevelUpdate(accessLevelUpdate);
74     _object.setDisabled(disabled);
75     return _object;
76   }
77
78 // ----------------------------------------------------------------------------
79
// ClassProxy/ImplInstanceExtenderRequiredAttributes
80
// ----------------------------------------------------------------------------
81
public Member extendAccountAssignment(
82       org.opencrx.kernel.account1.cci.AccountAssignment _base
83     , short accessLevelBrowse
84     , short accessLevelDelete
85     , short accessLevelUpdate
86     , boolean disabled
87   ) {
88     MemberImpl _object = (MemberImpl)getMember(_base);
89     _object.setAccessLevelBrowse(accessLevelBrowse);
90     _object.setAccessLevelDelete(accessLevelDelete);
91     _object.setAccessLevelUpdate(accessLevelUpdate);
92     _object.setDisabled(disabled);
93     return _object;
94   }
95
96 // ----------------------------------------------------------------------------
97
// ClassProxy/ImplInstanceExtenderRequiredAttributes
98
// ----------------------------------------------------------------------------
99
public Member extendAuditee(
100       org.opencrx.kernel.base.cci.Auditee _base
101     , short accessLevelBrowse
102     , short accessLevelDelete
103     , short accessLevelUpdate
104     , boolean disabled
105   ) {
106     MemberImpl _object = (MemberImpl)getMember(_base);
107     _object.setAccessLevelBrowse(accessLevelBrowse);
108     _object.setAccessLevelDelete(accessLevelDelete);
109     _object.setAccessLevelUpdate(accessLevelUpdate);
110     _object.setDisabled(disabled);
111     return _object;
112   }
113
114 // ----------------------------------------------------------------------------
115
// ClassProxy/ImplInstanceExtenderRequiredAttributes
116
// ----------------------------------------------------------------------------
117
public Member extendBookmarkable(
118       org.opencrx.kernel.base.cci.Bookmarkable _base
119     , short accessLevelBrowse
120     , short accessLevelDelete
121     , short accessLevelUpdate
122     , boolean disabled
123   ) {
124     MemberImpl _object = (MemberImpl)getMember(_base);
125     _object.setAccessLevelBrowse(accessLevelBrowse);
126     _object.setAccessLevelDelete(accessLevelDelete);
127     _object.setAccessLevelUpdate(accessLevelUpdate);
128     _object.setDisabled(disabled);
129     return _object;
130   }
131
132 // ----------------------------------------------------------------------------
133
// ClassProxy/ImplInstanceExtenderRequiredAttributes
134
// ----------------------------------------------------------------------------
135
public Member extendCloneable(
136       org.opencrx.kernel.base.cci.Cloneable _base
137     , short accessLevelBrowse
138     , short accessLevelDelete
139     , short accessLevelUpdate
140     , boolean disabled
141   ) {
142     MemberImpl _object = (MemberImpl)getMember(_base);
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 Member extendImporter(
154       org.opencrx.kernel.base.cci.Importer _base
155     , short accessLevelBrowse
156     , short accessLevelDelete
157     , short accessLevelUpdate
158     , boolean disabled
159   ) {
160     MemberImpl _object = (MemberImpl)getMember(_base);
161     _object.setAccessLevelBrowse(accessLevelBrowse);
162     _object.setAccessLevelDelete(accessLevelDelete);
163     _object.setAccessLevelUpdate(accessLevelUpdate);
164     _object.setDisabled(disabled);
165     return _object;
166   }
167
168 // ----------------------------------------------------------------------------
169
// ClassProxy/ImplInstanceExtenderRequiredAttributes
170
// ----------------------------------------------------------------------------
171
public Member extendSecureObject(
172       org.opencrx.kernel.base.cci.SecureObject _base
173     , boolean disabled
174   ) {
175     MemberImpl _object = (MemberImpl)getMember(_base);
176     _object.setDisabled(disabled);
177     return _object;
178   }
179
180 // ----------------------------------------------------------------------------
181
// ClassProxy/ImplInstanceExtenderRequiredAttributes
182
// ----------------------------------------------------------------------------
183
public Member extendSubscriptionTarget(
184       org.opencrx.kernel.base.cci.SubscriptionTarget _base
185     , short accessLevelBrowse
186     , short accessLevelDelete
187     , short accessLevelUpdate
188     , boolean disabled
189   ) {
190     MemberImpl _object = (MemberImpl)getMember(_base);
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 Member extendXmlExporter(
202       org.opencrx.kernel.base.cci.XmlExporter _base
203     , short accessLevelBrowse
204     , short accessLevelDelete
205     , short accessLevelUpdate
206     , boolean disabled
207   ) {
208     MemberImpl _object = (MemberImpl)getMember(_base);
209     _object.setAccessLevelBrowse(accessLevelBrowse);
210     _object.setAccessLevelDelete(accessLevelDelete);
211     _object.setAccessLevelUpdate(accessLevelUpdate);
212     _object.setDisabled(disabled);
213     return _object;
214   }
215
216 // ----------------------------------------------------------------------------
217
// ClassProxy/ImplInstanceExtenderRequiredAttributes
218
// ----------------------------------------------------------------------------
219
public Member extendBasicObject(
220       org.openmdx.base.cci.BasicObject _base
221     , short accessLevelBrowse
222     , short accessLevelDelete
223     , short accessLevelUpdate
224     , boolean disabled
225   ) {
226     MemberImpl _object = (MemberImpl)getMember(_base);
227     _object.setAccessLevelBrowse(accessLevelBrowse);
228     _object.setAccessLevelDelete(accessLevelDelete);
229     _object.setAccessLevelUpdate(accessLevelUpdate);
230     _object.setDisabled(disabled);
231     return _object;
232   }
233
234 // ----------------------------------------------------------------------------
235
// ClassProxy/ImplInstanceExtenderRequiredAttributes
236
// ----------------------------------------------------------------------------
237
public Member extendContextCapable(
238       org.openmdx.base.cci.ContextCapable _base
239     , short accessLevelBrowse
240     , short accessLevelDelete
241     , short accessLevelUpdate
242     , boolean disabled
243   ) {
244     MemberImpl _object = (MemberImpl)getMember(_base);
245     _object.setAccessLevelBrowse(accessLevelBrowse);
246     _object.setAccessLevelDelete(accessLevelDelete);
247     _object.setAccessLevelUpdate(accessLevelUpdate);
248     _object.setDisabled(disabled);
249     return _object;
250   }
251
252 // ----------------------------------------------------------------------------
253
// ClassProxy/ImplInstanceExtenderRequiredAttributes
254
// ----------------------------------------------------------------------------
255
public Member extendExtentCapable(
256       org.openmdx.base.cci.ExtentCapable _base
257     , short accessLevelBrowse
258     , short accessLevelDelete
259     , short accessLevelUpdate
260     , boolean disabled
261   ) {
262     MemberImpl _object = (MemberImpl)getMember(_base);
263     _object.setAccessLevelBrowse(accessLevelBrowse);
264     _object.setAccessLevelDelete(accessLevelDelete);
265     _object.setAccessLevelUpdate(accessLevelUpdate);
266     _object.setDisabled(disabled);
267     return _object;
268   }
269
270 // ----------------------------------------------------------------------------
271
// ClassProxy/ImplInstanceExtenderRequiredAttributes
272
// ----------------------------------------------------------------------------
273
public Member extendViewCapable(
274       org.openmdx.compatibility.view1.cci.ViewCapable _base
275     , short accessLevelBrowse
276     , short accessLevelDelete
277     , short accessLevelUpdate
278     , boolean disabled
279   ) {
280     MemberImpl _object = (MemberImpl)getMember(_base);
281     _object.setAccessLevelBrowse(accessLevelBrowse);
282     _object.setAccessLevelDelete(accessLevelDelete);
283     _object.setAccessLevelUpdate(accessLevelUpdate);
284     _object.setDisabled(disabled);
285     return _object;
286   }
287
288 // ----------------------------------------------------------------------------
289
// ClassProxy/ImplEnd.vm
290
// ----------------------------------------------------------------------------
291
}
292
Popular Tags