KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > model1 > cci > ConstraintClassImpl


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:53 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.model1.cci;
14
15 public class ConstraintClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements ConstraintClass {
18
19   public ConstraintClassImpl(
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:model1:Constraint";
28   }
29
30   public Constraint getConstraint(
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         Constraint target = (Constraint)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (Constraint)((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 Constraint createConstraint(
55   ) {
56     Constraint target = (Constraint)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public Constraint createConstraint(
65       short accessLevelBrowse
66     , short accessLevelDelete
67     , short accessLevelUpdate
68     , boolean disabled
69     , short evaluationPolicy
70     , String JavaDoc expression
71     , String JavaDoc language
72     , String JavaDoc name
73     , String JavaDoc qualifiedName
74   ) {
75     ConstraintImpl _object = (ConstraintImpl)createConstraint();
76     _object.setAccessLevelBrowse(accessLevelBrowse);
77     _object.setAccessLevelDelete(accessLevelDelete);
78     _object.setAccessLevelUpdate(accessLevelUpdate);
79     _object.setDisabled(disabled);
80     _object.setEvaluationPolicy(evaluationPolicy);
81     _object.setExpression(expression);
82     _object.setLanguage(language);
83     _object.setName(name);
84     _object.setQualifiedName(qualifiedName);
85     return _object;
86   }
87
88 // ----------------------------------------------------------------------------
89
// ClassProxy/ImplInstanceExtenderRequiredAttributes
90
// ----------------------------------------------------------------------------
91
public Constraint extendAuditee(
92       org.opencrx.kernel.base.cci.Auditee _base
93     , short accessLevelBrowse
94     , short accessLevelDelete
95     , short accessLevelUpdate
96     , boolean disabled
97     , short evaluationPolicy
98     , String JavaDoc expression
99     , String JavaDoc language
100     , String JavaDoc name
101     , String JavaDoc qualifiedName
102   ) {
103     ConstraintImpl _object = (ConstraintImpl)getConstraint(_base);
104     _object.setAccessLevelBrowse(accessLevelBrowse);
105     _object.setAccessLevelDelete(accessLevelDelete);
106     _object.setAccessLevelUpdate(accessLevelUpdate);
107     _object.setDisabled(disabled);
108     _object.setEvaluationPolicy(evaluationPolicy);
109     _object.setExpression(expression);
110     _object.setLanguage(language);
111     _object.setName(name);
112     _object.setQualifiedName(qualifiedName);
113     return _object;
114   }
115
116 // ----------------------------------------------------------------------------
117
// ClassProxy/ImplInstanceExtenderRequiredAttributes
118
// ----------------------------------------------------------------------------
119
public Constraint extendBookmarkable(
120       org.opencrx.kernel.base.cci.Bookmarkable _base
121     , short accessLevelBrowse
122     , short accessLevelDelete
123     , short accessLevelUpdate
124     , boolean disabled
125     , short evaluationPolicy
126     , String JavaDoc expression
127     , String JavaDoc language
128     , String JavaDoc name
129     , String JavaDoc qualifiedName
130   ) {
131     ConstraintImpl _object = (ConstraintImpl)getConstraint(_base);
132     _object.setAccessLevelBrowse(accessLevelBrowse);
133     _object.setAccessLevelDelete(accessLevelDelete);
134     _object.setAccessLevelUpdate(accessLevelUpdate);
135     _object.setDisabled(disabled);
136     _object.setEvaluationPolicy(evaluationPolicy);
137     _object.setExpression(expression);
138     _object.setLanguage(language);
139     _object.setName(name);
140     _object.setQualifiedName(qualifiedName);
141     return _object;
142   }
143
144 // ----------------------------------------------------------------------------
145
// ClassProxy/ImplInstanceExtenderRequiredAttributes
146
// ----------------------------------------------------------------------------
147
public Constraint extendCloneable(
148       org.opencrx.kernel.base.cci.Cloneable _base
149     , short accessLevelBrowse
150     , short accessLevelDelete
151     , short accessLevelUpdate
152     , boolean disabled
153     , short evaluationPolicy
154     , String JavaDoc expression
155     , String JavaDoc language
156     , String JavaDoc name
157     , String JavaDoc qualifiedName
158   ) {
159     ConstraintImpl _object = (ConstraintImpl)getConstraint(_base);
160     _object.setAccessLevelBrowse(accessLevelBrowse);
161     _object.setAccessLevelDelete(accessLevelDelete);
162     _object.setAccessLevelUpdate(accessLevelUpdate);
163     _object.setDisabled(disabled);
164     _object.setEvaluationPolicy(evaluationPolicy);
165     _object.setExpression(expression);
166     _object.setLanguage(language);
167     _object.setName(name);
168     _object.setQualifiedName(qualifiedName);
169     return _object;
170   }
171
172 // ----------------------------------------------------------------------------
173
// ClassProxy/ImplInstanceExtenderRequiredAttributes
174
// ----------------------------------------------------------------------------
175
public Constraint extendImporter(
176       org.opencrx.kernel.base.cci.Importer _base
177     , short accessLevelBrowse
178     , short accessLevelDelete
179     , short accessLevelUpdate
180     , boolean disabled
181     , short evaluationPolicy
182     , String JavaDoc expression
183     , String JavaDoc language
184     , String JavaDoc name
185     , String JavaDoc qualifiedName
186   ) {
187     ConstraintImpl _object = (ConstraintImpl)getConstraint(_base);
188     _object.setAccessLevelBrowse(accessLevelBrowse);
189     _object.setAccessLevelDelete(accessLevelDelete);
190     _object.setAccessLevelUpdate(accessLevelUpdate);
191     _object.setDisabled(disabled);
192     _object.setEvaluationPolicy(evaluationPolicy);
193     _object.setExpression(expression);
194     _object.setLanguage(language);
195     _object.setName(name);
196     _object.setQualifiedName(qualifiedName);
197     return _object;
198   }
199
200 // ----------------------------------------------------------------------------
201
// ClassProxy/ImplInstanceExtenderRequiredAttributes
202
// ----------------------------------------------------------------------------
203
public Constraint extendSecureObject(
204       org.opencrx.kernel.base.cci.SecureObject _base
205     , boolean disabled
206     , short evaluationPolicy
207     , String JavaDoc expression
208     , String JavaDoc language
209     , String JavaDoc name
210     , String JavaDoc qualifiedName
211   ) {
212     ConstraintImpl _object = (ConstraintImpl)getConstraint(_base);
213     _object.setDisabled(disabled);
214     _object.setEvaluationPolicy(evaluationPolicy);
215     _object.setExpression(expression);
216     _object.setLanguage(language);
217     _object.setName(name);
218     _object.setQualifiedName(qualifiedName);
219     return _object;
220   }
221
222 // ----------------------------------------------------------------------------
223
// ClassProxy/ImplInstanceExtenderRequiredAttributes
224
// ----------------------------------------------------------------------------
225
public Constraint extendSubscriptionTarget(
226       org.opencrx.kernel.base.cci.SubscriptionTarget _base
227     , short accessLevelBrowse
228     , short accessLevelDelete
229     , short accessLevelUpdate
230     , boolean disabled
231     , short evaluationPolicy
232     , String JavaDoc expression
233     , String JavaDoc language
234     , String JavaDoc name
235     , String JavaDoc qualifiedName
236   ) {
237     ConstraintImpl _object = (ConstraintImpl)getConstraint(_base);
238     _object.setAccessLevelBrowse(accessLevelBrowse);
239     _object.setAccessLevelDelete(accessLevelDelete);
240     _object.setAccessLevelUpdate(accessLevelUpdate);
241     _object.setDisabled(disabled);
242     _object.setEvaluationPolicy(evaluationPolicy);
243     _object.setExpression(expression);
244     _object.setLanguage(language);
245     _object.setName(name);
246     _object.setQualifiedName(qualifiedName);
247     return _object;
248   }
249
250 // ----------------------------------------------------------------------------
251
// ClassProxy/ImplInstanceExtenderRequiredAttributes
252
// ----------------------------------------------------------------------------
253
public Constraint extendXmlExporter(
254       org.opencrx.kernel.base.cci.XmlExporter _base
255     , short accessLevelBrowse
256     , short accessLevelDelete
257     , short accessLevelUpdate
258     , boolean disabled
259     , short evaluationPolicy
260     , String JavaDoc expression
261     , String JavaDoc language
262     , String JavaDoc name
263     , String JavaDoc qualifiedName
264   ) {
265     ConstraintImpl _object = (ConstraintImpl)getConstraint(_base);
266     _object.setAccessLevelBrowse(accessLevelBrowse);
267     _object.setAccessLevelDelete(accessLevelDelete);
268     _object.setAccessLevelUpdate(accessLevelUpdate);
269     _object.setDisabled(disabled);
270     _object.setEvaluationPolicy(evaluationPolicy);
271     _object.setExpression(expression);
272     _object.setLanguage(language);
273     _object.setName(name);
274     _object.setQualifiedName(qualifiedName);
275     return _object;
276   }
277
278 // ----------------------------------------------------------------------------
279
// ClassProxy/ImplInstanceExtenderRequiredAttributes
280
// ----------------------------------------------------------------------------
281
public Constraint extendCrxObject(
282       org.opencrx.kernel.generic.cci.CrxObject _base
283     , short evaluationPolicy
284     , String JavaDoc expression
285     , String JavaDoc language
286     , String JavaDoc name
287     , String JavaDoc qualifiedName
288   ) {
289     ConstraintImpl _object = (ConstraintImpl)getConstraint(_base);
290     _object.setEvaluationPolicy(evaluationPolicy);
291     _object.setExpression(expression);
292     _object.setLanguage(language);
293     _object.setName(name);
294     _object.setQualifiedName(qualifiedName);
295     return _object;
296   }
297
298 // ----------------------------------------------------------------------------
299
// ClassProxy/ImplInstanceExtenderRequiredAttributes
300
// ----------------------------------------------------------------------------
301
public Constraint extendElement(
302       org.opencrx.kernel.model1.cci.Element _base
303     , short evaluationPolicy
304     , String JavaDoc expression
305     , String JavaDoc language
306   ) {
307     ConstraintImpl _object = (ConstraintImpl)getConstraint(_base);
308     _object.setEvaluationPolicy(evaluationPolicy);
309     _object.setExpression(expression);
310     _object.setLanguage(language);
311     return _object;
312   }
313
314 // ----------------------------------------------------------------------------
315
// ClassProxy/ImplInstanceExtenderRequiredAttributes
316
// ----------------------------------------------------------------------------
317
public Constraint extendBasicObject(
318       org.openmdx.base.cci.BasicObject _base
319     , short accessLevelBrowse
320     , short accessLevelDelete
321     , short accessLevelUpdate
322     , boolean disabled
323     , short evaluationPolicy
324     , String JavaDoc expression
325     , String JavaDoc language
326     , String JavaDoc name
327     , String JavaDoc qualifiedName
328   ) {
329     ConstraintImpl _object = (ConstraintImpl)getConstraint(_base);
330     _object.setAccessLevelBrowse(accessLevelBrowse);
331     _object.setAccessLevelDelete(accessLevelDelete);
332     _object.setAccessLevelUpdate(accessLevelUpdate);
333     _object.setDisabled(disabled);
334     _object.setEvaluationPolicy(evaluationPolicy);
335     _object.setExpression(expression);
336     _object.setLanguage(language);
337     _object.setName(name);
338     _object.setQualifiedName(qualifiedName);
339     return _object;
340   }
341
342 // ----------------------------------------------------------------------------
343
// ClassProxy/ImplInstanceExtenderRequiredAttributes
344
// ----------------------------------------------------------------------------
345
public Constraint extendContextCapable(
346       org.openmdx.base.cci.ContextCapable _base
347     , short accessLevelBrowse
348     , short accessLevelDelete
349     , short accessLevelUpdate
350     , boolean disabled
351     , short evaluationPolicy
352     , String JavaDoc expression
353     , String JavaDoc language
354     , String JavaDoc name
355     , String JavaDoc qualifiedName
356   ) {
357     ConstraintImpl _object = (ConstraintImpl)getConstraint(_base);
358     _object.setAccessLevelBrowse(accessLevelBrowse);
359     _object.setAccessLevelDelete(accessLevelDelete);
360     _object.setAccessLevelUpdate(accessLevelUpdate);
361     _object.setDisabled(disabled);
362     _object.setEvaluationPolicy(evaluationPolicy);
363     _object.setExpression(expression);
364     _object.setLanguage(language);
365     _object.setName(name);
366     _object.setQualifiedName(qualifiedName);
367     return _object;
368   }
369
370 // ----------------------------------------------------------------------------
371
// ClassProxy/ImplInstanceExtenderRequiredAttributes
372
// ----------------------------------------------------------------------------
373
public Constraint extendExtentCapable(
374       org.openmdx.base.cci.ExtentCapable _base
375     , short accessLevelBrowse
376     , short accessLevelDelete
377     , short accessLevelUpdate
378     , boolean disabled
379     , short evaluationPolicy
380     , String JavaDoc expression
381     , String JavaDoc language
382     , String JavaDoc name
383     , String JavaDoc qualifiedName
384   ) {
385     ConstraintImpl _object = (ConstraintImpl)getConstraint(_base);
386     _object.setAccessLevelBrowse(accessLevelBrowse);
387     _object.setAccessLevelDelete(accessLevelDelete);
388     _object.setAccessLevelUpdate(accessLevelUpdate);
389     _object.setDisabled(disabled);
390     _object.setEvaluationPolicy(evaluationPolicy);
391     _object.setExpression(expression);
392     _object.setLanguage(language);
393     _object.setName(name);
394     _object.setQualifiedName(qualifiedName);
395     return _object;
396   }
397
398 // ----------------------------------------------------------------------------
399
// ClassProxy/ImplInstanceExtenderRequiredAttributes
400
// ----------------------------------------------------------------------------
401
public Constraint extendViewCapable(
402       org.openmdx.compatibility.view1.cci.ViewCapable _base
403     , short accessLevelBrowse
404     , short accessLevelDelete
405     , short accessLevelUpdate
406     , boolean disabled
407     , short evaluationPolicy
408     , String JavaDoc expression
409     , String JavaDoc language
410     , String JavaDoc name
411     , String JavaDoc qualifiedName
412   ) {
413     ConstraintImpl _object = (ConstraintImpl)getConstraint(_base);
414     _object.setAccessLevelBrowse(accessLevelBrowse);
415     _object.setAccessLevelDelete(accessLevelDelete);
416     _object.setAccessLevelUpdate(accessLevelUpdate);
417     _object.setDisabled(disabled);
418     _object.setEvaluationPolicy(evaluationPolicy);
419     _object.setExpression(expression);
420     _object.setLanguage(language);
421     _object.setName(name);
422     _object.setQualifiedName(qualifiedName);
423     return _object;
424   }
425
426 // ----------------------------------------------------------------------------
427
// ClassProxy/ImplEnd.vm
428
// ----------------------------------------------------------------------------
429
}
430
Popular Tags