KickJava   Java API By Example, From Geeks To Geeks.

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


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 EditableParameterClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements EditableParameterClass {
18
19   public EditableParameterClassImpl(
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:EditableParameter";
28   }
29
30   public EditableParameter getEditableParameter(
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         EditableParameter target = (EditableParameter)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (EditableParameter)((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 EditableParameter createEditableParameter(
55   ) {
56     EditableParameter target = (EditableParameter)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public EditableParameter createEditableParameter(
65       short accessLevelBrowse
66     , short accessLevelDelete
67     , short accessLevelUpdate
68     , String JavaDoc name
69     , short direction
70     , short multiplicity
71     , int upperBound
72   ) {
73     EditableParameterImpl _object = (EditableParameterImpl)createEditableParameter();
74     _object.setAccessLevelBrowse(accessLevelBrowse);
75     _object.setAccessLevelDelete(accessLevelDelete);
76     _object.setAccessLevelUpdate(accessLevelUpdate);
77     _object.setName(name);
78     _object.setDirection(direction);
79     _object.setMultiplicity(multiplicity);
80     _object.setUpperBound(upperBound);
81     return _object;
82   }
83
84 // ----------------------------------------------------------------------------
85
// ClassProxy/ImplInstanceExtenderRequiredAttributes
86
// ----------------------------------------------------------------------------
87
public EditableParameter extendSecureObject(
88       org.opencrx.kernel.base.cci.SecureObject _base
89     , String JavaDoc name
90     , short direction
91     , short multiplicity
92     , int upperBound
93   ) {
94     EditableParameterImpl _object = (EditableParameterImpl)getEditableParameter(_base);
95     _object.setName(name);
96     _object.setDirection(direction);
97     _object.setMultiplicity(multiplicity);
98     _object.setUpperBound(upperBound);
99     return _object;
100   }
101
102 // ----------------------------------------------------------------------------
103
// ClassProxy/ImplInstanceExtenderRequiredAttributes
104
// ----------------------------------------------------------------------------
105
public EditableParameter extendEditableElement(
106       org.opencrx.kernel.model1.cci.EditableElement _base
107     , short accessLevelBrowse
108     , short accessLevelDelete
109     , short accessLevelUpdate
110     , short direction
111     , short multiplicity
112     , int upperBound
113   ) {
114     EditableParameterImpl _object = (EditableParameterImpl)getEditableParameter(_base);
115     _object.setAccessLevelBrowse(accessLevelBrowse);
116     _object.setAccessLevelDelete(accessLevelDelete);
117     _object.setAccessLevelUpdate(accessLevelUpdate);
118     _object.setDirection(direction);
119     _object.setMultiplicity(multiplicity);
120     _object.setUpperBound(upperBound);
121     return _object;
122   }
123
124 // ----------------------------------------------------------------------------
125
// ClassProxy/ImplInstanceExtenderRequiredAttributes
126
// ----------------------------------------------------------------------------
127
public EditableParameter extendEditableTypedElement(
128       org.opencrx.kernel.model1.cci.EditableTypedElement _base
129     , short accessLevelBrowse
130     , short accessLevelDelete
131     , short accessLevelUpdate
132     , short direction
133     , short multiplicity
134     , int upperBound
135   ) {
136     EditableParameterImpl _object = (EditableParameterImpl)getEditableParameter(_base);
137     _object.setAccessLevelBrowse(accessLevelBrowse);
138     _object.setAccessLevelDelete(accessLevelDelete);
139     _object.setAccessLevelUpdate(accessLevelUpdate);
140     _object.setDirection(direction);
141     _object.setMultiplicity(multiplicity);
142     _object.setUpperBound(upperBound);
143     return _object;
144   }
145
146 // ----------------------------------------------------------------------------
147
// ClassProxy/ImplInstanceExtenderRequiredAttributes
148
// ----------------------------------------------------------------------------
149
public EditableParameter extendBasicObject(
150       org.openmdx.base.cci.BasicObject _base
151     , short accessLevelBrowse
152     , short accessLevelDelete
153     , short accessLevelUpdate
154     , String JavaDoc name
155     , short direction
156     , short multiplicity
157     , int upperBound
158   ) {
159     EditableParameterImpl _object = (EditableParameterImpl)getEditableParameter(_base);
160     _object.setAccessLevelBrowse(accessLevelBrowse);
161     _object.setAccessLevelDelete(accessLevelDelete);
162     _object.setAccessLevelUpdate(accessLevelUpdate);
163     _object.setName(name);
164     _object.setDirection(direction);
165     _object.setMultiplicity(multiplicity);
166     _object.setUpperBound(upperBound);
167     return _object;
168   }
169
170 // ----------------------------------------------------------------------------
171
// ClassProxy/ImplInstanceExtenderRequiredAttributes
172
// ----------------------------------------------------------------------------
173
public EditableParameter extendContextCapable(
174       org.openmdx.base.cci.ContextCapable _base
175     , short accessLevelBrowse
176     , short accessLevelDelete
177     , short accessLevelUpdate
178     , String JavaDoc name
179     , short direction
180     , short multiplicity
181     , int upperBound
182   ) {
183     EditableParameterImpl _object = (EditableParameterImpl)getEditableParameter(_base);
184     _object.setAccessLevelBrowse(accessLevelBrowse);
185     _object.setAccessLevelDelete(accessLevelDelete);
186     _object.setAccessLevelUpdate(accessLevelUpdate);
187     _object.setName(name);
188     _object.setDirection(direction);
189     _object.setMultiplicity(multiplicity);
190     _object.setUpperBound(upperBound);
191     return _object;
192   }
193
194 // ----------------------------------------------------------------------------
195
// ClassProxy/ImplInstanceExtenderRequiredAttributes
196
// ----------------------------------------------------------------------------
197
public EditableParameter extendExtentCapable(
198       org.openmdx.base.cci.ExtentCapable _base
199     , short accessLevelBrowse
200     , short accessLevelDelete
201     , short accessLevelUpdate
202     , String JavaDoc name
203     , short direction
204     , short multiplicity
205     , int upperBound
206   ) {
207     EditableParameterImpl _object = (EditableParameterImpl)getEditableParameter(_base);
208     _object.setAccessLevelBrowse(accessLevelBrowse);
209     _object.setAccessLevelDelete(accessLevelDelete);
210     _object.setAccessLevelUpdate(accessLevelUpdate);
211     _object.setName(name);
212     _object.setDirection(direction);
213     _object.setMultiplicity(multiplicity);
214     _object.setUpperBound(upperBound);
215     return _object;
216   }
217
218 // ----------------------------------------------------------------------------
219
// ClassProxy/ImplInstanceExtenderRequiredAttributes
220
// ----------------------------------------------------------------------------
221
public EditableParameter extendViewCapable(
222       org.openmdx.compatibility.view1.cci.ViewCapable _base
223     , short accessLevelBrowse
224     , short accessLevelDelete
225     , short accessLevelUpdate
226     , String JavaDoc name
227     , short direction
228     , short multiplicity
229     , int upperBound
230   ) {
231     EditableParameterImpl _object = (EditableParameterImpl)getEditableParameter(_base);
232     _object.setAccessLevelBrowse(accessLevelBrowse);
233     _object.setAccessLevelDelete(accessLevelDelete);
234     _object.setAccessLevelUpdate(accessLevelUpdate);
235     _object.setName(name);
236     _object.setDirection(direction);
237     _object.setMultiplicity(multiplicity);
238     _object.setUpperBound(upperBound);
239     return _object;
240   }
241
242 // ----------------------------------------------------------------------------
243
// ClassProxy/ImplEnd.vm
244
// ----------------------------------------------------------------------------
245
}
246
Popular Tags