KickJava   Java API By Example, From Geeks To Geeks.

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


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 EmploymentContractClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements EmploymentContractClass {
18
19   public EmploymentContractClassImpl(
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:EmploymentContract";
28   }
29
30   public EmploymentContract getEmploymentContract(
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         EmploymentContract target = (EmploymentContract)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (EmploymentContract)((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 EmploymentContract createEmploymentContract(
55   ) {
56     EmploymentContract target = (EmploymentContract)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public EmploymentContract createEmploymentContract(
65       org.opencrx.kernel.account1.cci.Contact contact
66     , java.util.Date JavaDoc effectiveOn
67     , short employmentContractState
68     , short employmentPosition
69     , short accessLevelBrowse
70     , short accessLevelDelete
71     , short accessLevelUpdate
72     , boolean disabled
73   ) {
74     EmploymentContractImpl _object = (EmploymentContractImpl)createEmploymentContract();
75     _object.setContact(contact);
76     _object.setEffectiveOn(effectiveOn);
77     _object.setEmploymentContractState(employmentContractState);
78     _object.setEmploymentPosition(employmentPosition);
79     _object.setAccessLevelBrowse(accessLevelBrowse);
80     _object.setAccessLevelDelete(accessLevelDelete);
81     _object.setAccessLevelUpdate(accessLevelUpdate);
82     _object.setDisabled(disabled);
83     return _object;
84   }
85
86 // ----------------------------------------------------------------------------
87
// ClassProxy/ImplInstanceExtenderRequiredAttributes
88
// ----------------------------------------------------------------------------
89
public EmploymentContract extendContactMembership(
90       org.opencrx.kernel.account1.cci.ContactMembership _base
91     , short employmentContractState
92     , short employmentPosition
93   ) {
94     EmploymentContractImpl _object = (EmploymentContractImpl)getEmploymentContract(_base);
95     _object.setEmploymentContractState(employmentContractState);
96     _object.setEmploymentPosition(employmentPosition);
97     return _object;
98   }
99
100 // ----------------------------------------------------------------------------
101
// ClassProxy/ImplInstanceExtenderRequiredAttributes
102
// ----------------------------------------------------------------------------
103
public EmploymentContract extendAuditee(
104       org.opencrx.kernel.base.cci.Auditee _base
105     , org.opencrx.kernel.account1.cci.Contact contact
106     , java.util.Date JavaDoc effectiveOn
107     , short employmentContractState
108     , short employmentPosition
109     , short accessLevelBrowse
110     , short accessLevelDelete
111     , short accessLevelUpdate
112     , boolean disabled
113   ) {
114     EmploymentContractImpl _object = (EmploymentContractImpl)getEmploymentContract(_base);
115     _object.setContact(contact);
116     _object.setEffectiveOn(effectiveOn);
117     _object.setEmploymentContractState(employmentContractState);
118     _object.setEmploymentPosition(employmentPosition);
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 EmploymentContract extendBookmarkable(
130       org.opencrx.kernel.base.cci.Bookmarkable _base
131     , org.opencrx.kernel.account1.cci.Contact contact
132     , java.util.Date JavaDoc effectiveOn
133     , short employmentContractState
134     , short employmentPosition
135     , short accessLevelBrowse
136     , short accessLevelDelete
137     , short accessLevelUpdate
138     , boolean disabled
139   ) {
140     EmploymentContractImpl _object = (EmploymentContractImpl)getEmploymentContract(_base);
141     _object.setContact(contact);
142     _object.setEffectiveOn(effectiveOn);
143     _object.setEmploymentContractState(employmentContractState);
144     _object.setEmploymentPosition(employmentPosition);
145     _object.setAccessLevelBrowse(accessLevelBrowse);
146     _object.setAccessLevelDelete(accessLevelDelete);
147     _object.setAccessLevelUpdate(accessLevelUpdate);
148     _object.setDisabled(disabled);
149     return _object;
150   }
151
152 // ----------------------------------------------------------------------------
153
// ClassProxy/ImplInstanceExtenderRequiredAttributes
154
// ----------------------------------------------------------------------------
155
public EmploymentContract extendCloneable(
156       org.opencrx.kernel.base.cci.Cloneable _base
157     , org.opencrx.kernel.account1.cci.Contact contact
158     , java.util.Date JavaDoc effectiveOn
159     , short employmentContractState
160     , short employmentPosition
161     , short accessLevelBrowse
162     , short accessLevelDelete
163     , short accessLevelUpdate
164     , boolean disabled
165   ) {
166     EmploymentContractImpl _object = (EmploymentContractImpl)getEmploymentContract(_base);
167     _object.setContact(contact);
168     _object.setEffectiveOn(effectiveOn);
169     _object.setEmploymentContractState(employmentContractState);
170     _object.setEmploymentPosition(employmentPosition);
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 EmploymentContract extendImporter(
182       org.opencrx.kernel.base.cci.Importer _base
183     , org.opencrx.kernel.account1.cci.Contact contact
184     , java.util.Date JavaDoc effectiveOn
185     , short employmentContractState
186     , short employmentPosition
187     , short accessLevelBrowse
188     , short accessLevelDelete
189     , short accessLevelUpdate
190     , boolean disabled
191   ) {
192     EmploymentContractImpl _object = (EmploymentContractImpl)getEmploymentContract(_base);
193     _object.setContact(contact);
194     _object.setEffectiveOn(effectiveOn);
195     _object.setEmploymentContractState(employmentContractState);
196     _object.setEmploymentPosition(employmentPosition);
197     _object.setAccessLevelBrowse(accessLevelBrowse);
198     _object.setAccessLevelDelete(accessLevelDelete);
199     _object.setAccessLevelUpdate(accessLevelUpdate);
200     _object.setDisabled(disabled);
201     return _object;
202   }
203
204 // ----------------------------------------------------------------------------
205
// ClassProxy/ImplInstanceExtenderRequiredAttributes
206
// ----------------------------------------------------------------------------
207
public EmploymentContract extendSecureObject(
208       org.opencrx.kernel.base.cci.SecureObject _base
209     , org.opencrx.kernel.account1.cci.Contact contact
210     , java.util.Date JavaDoc effectiveOn
211     , short employmentContractState
212     , short employmentPosition
213     , boolean disabled
214   ) {
215     EmploymentContractImpl _object = (EmploymentContractImpl)getEmploymentContract(_base);
216     _object.setContact(contact);
217     _object.setEffectiveOn(effectiveOn);
218     _object.setEmploymentContractState(employmentContractState);
219     _object.setEmploymentPosition(employmentPosition);
220     _object.setDisabled(disabled);
221     return _object;
222   }
223
224 // ----------------------------------------------------------------------------
225
// ClassProxy/ImplInstanceExtenderRequiredAttributes
226
// ----------------------------------------------------------------------------
227
public EmploymentContract extendSubscriptionTarget(
228       org.opencrx.kernel.base.cci.SubscriptionTarget _base
229     , org.opencrx.kernel.account1.cci.Contact contact
230     , java.util.Date JavaDoc effectiveOn
231     , short employmentContractState
232     , short employmentPosition
233     , short accessLevelBrowse
234     , short accessLevelDelete
235     , short accessLevelUpdate
236     , boolean disabled
237   ) {
238     EmploymentContractImpl _object = (EmploymentContractImpl)getEmploymentContract(_base);
239     _object.setContact(contact);
240     _object.setEffectiveOn(effectiveOn);
241     _object.setEmploymentContractState(employmentContractState);
242     _object.setEmploymentPosition(employmentPosition);
243     _object.setAccessLevelBrowse(accessLevelBrowse);
244     _object.setAccessLevelDelete(accessLevelDelete);
245     _object.setAccessLevelUpdate(accessLevelUpdate);
246     _object.setDisabled(disabled);
247     return _object;
248   }
249
250 // ----------------------------------------------------------------------------
251
// ClassProxy/ImplInstanceExtenderRequiredAttributes
252
// ----------------------------------------------------------------------------
253
public EmploymentContract extendXmlExporter(
254       org.opencrx.kernel.base.cci.XmlExporter _base
255     , org.opencrx.kernel.account1.cci.Contact contact
256     , java.util.Date JavaDoc effectiveOn
257     , short employmentContractState
258     , short employmentPosition
259     , short accessLevelBrowse
260     , short accessLevelDelete
261     , short accessLevelUpdate
262     , boolean disabled
263   ) {
264     EmploymentContractImpl _object = (EmploymentContractImpl)getEmploymentContract(_base);
265     _object.setContact(contact);
266     _object.setEffectiveOn(effectiveOn);
267     _object.setEmploymentContractState(employmentContractState);
268     _object.setEmploymentPosition(employmentPosition);
269     _object.setAccessLevelBrowse(accessLevelBrowse);
270     _object.setAccessLevelDelete(accessLevelDelete);
271     _object.setAccessLevelUpdate(accessLevelUpdate);
272     _object.setDisabled(disabled);
273     return _object;
274   }
275
276 // ----------------------------------------------------------------------------
277
// ClassProxy/ImplInstanceExtenderRequiredAttributes
278
// ----------------------------------------------------------------------------
279
public EmploymentContract extendCrxObject(
280       org.opencrx.kernel.generic.cci.CrxObject _base
281     , org.opencrx.kernel.account1.cci.Contact contact
282     , java.util.Date JavaDoc effectiveOn
283     , short employmentContractState
284     , short employmentPosition
285   ) {
286     EmploymentContractImpl _object = (EmploymentContractImpl)getEmploymentContract(_base);
287     _object.setContact(contact);
288     _object.setEffectiveOn(effectiveOn);
289     _object.setEmploymentContractState(employmentContractState);
290     _object.setEmploymentPosition(employmentPosition);
291     return _object;
292   }
293
294 // ----------------------------------------------------------------------------
295
// ClassProxy/ImplInstanceExtenderRequiredAttributes
296
// ----------------------------------------------------------------------------
297
public EmploymentContract extendBasicObject(
298       org.openmdx.base.cci.BasicObject _base
299     , org.opencrx.kernel.account1.cci.Contact contact
300     , java.util.Date JavaDoc effectiveOn
301     , short employmentContractState
302     , short employmentPosition
303     , short accessLevelBrowse
304     , short accessLevelDelete
305     , short accessLevelUpdate
306     , boolean disabled
307   ) {
308     EmploymentContractImpl _object = (EmploymentContractImpl)getEmploymentContract(_base);
309     _object.setContact(contact);
310     _object.setEffectiveOn(effectiveOn);
311     _object.setEmploymentContractState(employmentContractState);
312     _object.setEmploymentPosition(employmentPosition);
313     _object.setAccessLevelBrowse(accessLevelBrowse);
314     _object.setAccessLevelDelete(accessLevelDelete);
315     _object.setAccessLevelUpdate(accessLevelUpdate);
316     _object.setDisabled(disabled);
317     return _object;
318   }
319
320 // ----------------------------------------------------------------------------
321
// ClassProxy/ImplInstanceExtenderRequiredAttributes
322
// ----------------------------------------------------------------------------
323
public EmploymentContract extendContextCapable(
324       org.openmdx.base.cci.ContextCapable _base
325     , org.opencrx.kernel.account1.cci.Contact contact
326     , java.util.Date JavaDoc effectiveOn
327     , short employmentContractState
328     , short employmentPosition
329     , short accessLevelBrowse
330     , short accessLevelDelete
331     , short accessLevelUpdate
332     , boolean disabled
333   ) {
334     EmploymentContractImpl _object = (EmploymentContractImpl)getEmploymentContract(_base);
335     _object.setContact(contact);
336     _object.setEffectiveOn(effectiveOn);
337     _object.setEmploymentContractState(employmentContractState);
338     _object.setEmploymentPosition(employmentPosition);
339     _object.setAccessLevelBrowse(accessLevelBrowse);
340     _object.setAccessLevelDelete(accessLevelDelete);
341     _object.setAccessLevelUpdate(accessLevelUpdate);
342     _object.setDisabled(disabled);
343     return _object;
344   }
345
346 // ----------------------------------------------------------------------------
347
// ClassProxy/ImplInstanceExtenderRequiredAttributes
348
// ----------------------------------------------------------------------------
349
public EmploymentContract extendExtentCapable(
350       org.openmdx.base.cci.ExtentCapable _base
351     , org.opencrx.kernel.account1.cci.Contact contact
352     , java.util.Date JavaDoc effectiveOn
353     , short employmentContractState
354     , short employmentPosition
355     , short accessLevelBrowse
356     , short accessLevelDelete
357     , short accessLevelUpdate
358     , boolean disabled
359   ) {
360     EmploymentContractImpl _object = (EmploymentContractImpl)getEmploymentContract(_base);
361     _object.setContact(contact);
362     _object.setEffectiveOn(effectiveOn);
363     _object.setEmploymentContractState(employmentContractState);
364     _object.setEmploymentPosition(employmentPosition);
365     _object.setAccessLevelBrowse(accessLevelBrowse);
366     _object.setAccessLevelDelete(accessLevelDelete);
367     _object.setAccessLevelUpdate(accessLevelUpdate);
368     _object.setDisabled(disabled);
369     return _object;
370   }
371
372 // ----------------------------------------------------------------------------
373
// ClassProxy/ImplInstanceExtenderRequiredAttributes
374
// ----------------------------------------------------------------------------
375
public EmploymentContract extendViewCapable(
376       org.openmdx.compatibility.view1.cci.ViewCapable _base
377     , org.opencrx.kernel.account1.cci.Contact contact
378     , java.util.Date JavaDoc effectiveOn
379     , short employmentContractState
380     , short employmentPosition
381     , short accessLevelBrowse
382     , short accessLevelDelete
383     , short accessLevelUpdate
384     , boolean disabled
385   ) {
386     EmploymentContractImpl _object = (EmploymentContractImpl)getEmploymentContract(_base);
387     _object.setContact(contact);
388     _object.setEffectiveOn(effectiveOn);
389     _object.setEmploymentContractState(employmentContractState);
390     _object.setEmploymentPosition(employmentPosition);
391     _object.setAccessLevelBrowse(accessLevelBrowse);
392     _object.setAccessLevelDelete(accessLevelDelete);
393     _object.setAccessLevelUpdate(accessLevelUpdate);
394     _object.setDisabled(disabled);
395     return _object;
396   }
397
398 // ----------------------------------------------------------------------------
399
// ClassProxy/ImplEnd.vm
400
// ----------------------------------------------------------------------------
401
}
402
Popular Tags