KickJava   Java API By Example, From Geeks To Geeks.

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


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:03 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.activity1.cci;
14
15 public class ResourceFilterPropertyClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements ResourceFilterPropertyClass {
18
19   public ResourceFilterPropertyClassImpl(
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:ResourceFilterProperty";
28   }
29
30   public ResourceFilterProperty getResourceFilterProperty(
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         ResourceFilterProperty target = (ResourceFilterProperty)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (ResourceFilterProperty)((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 ResourceFilterProperty createResourceFilterProperty(
55   ) {
56     ResourceFilterProperty target = (ResourceFilterProperty)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public ResourceFilterProperty createResourceFilterProperty(
65       short filterOperator
66     , short filterQuantor
67     , String JavaDoc name
68     , short accessLevelBrowse
69     , short accessLevelDelete
70     , short accessLevelUpdate
71   ) {
72     ResourceFilterPropertyImpl _object = (ResourceFilterPropertyImpl)createResourceFilterProperty();
73     _object.setFilterOperator(filterOperator);
74     _object.setFilterQuantor(filterQuantor);
75     _object.setName(name);
76     _object.setAccessLevelBrowse(accessLevelBrowse);
77     _object.setAccessLevelDelete(accessLevelDelete);
78     _object.setAccessLevelUpdate(accessLevelUpdate);
79     return _object;
80   }
81
82 // ----------------------------------------------------------------------------
83
// ClassProxy/ImplInstanceExtenderRequiredAttributes
84
// ----------------------------------------------------------------------------
85
public ResourceFilterProperty extendAbstractFilterProperty(
86       org.opencrx.kernel.base.cci.AbstractFilterProperty _base
87     , short accessLevelBrowse
88     , short accessLevelDelete
89     , short accessLevelUpdate
90   ) {
91     ResourceFilterPropertyImpl _object = (ResourceFilterPropertyImpl)getResourceFilterProperty(_base);
92     _object.setAccessLevelBrowse(accessLevelBrowse);
93     _object.setAccessLevelDelete(accessLevelDelete);
94     _object.setAccessLevelUpdate(accessLevelUpdate);
95     return _object;
96   }
97
98 // ----------------------------------------------------------------------------
99
// ClassProxy/ImplInstanceExtenderRequiredAttributes
100
// ----------------------------------------------------------------------------
101
public ResourceFilterProperty extendSecureObject(
102       org.opencrx.kernel.base.cci.SecureObject _base
103     , short filterOperator
104     , short filterQuantor
105     , String JavaDoc name
106   ) {
107     ResourceFilterPropertyImpl _object = (ResourceFilterPropertyImpl)getResourceFilterProperty(_base);
108     _object.setFilterOperator(filterOperator);
109     _object.setFilterQuantor(filterQuantor);
110     _object.setName(name);
111     return _object;
112   }
113
114 // ----------------------------------------------------------------------------
115
// ClassProxy/ImplInstanceExtenderRequiredAttributes
116
// ----------------------------------------------------------------------------
117
public ResourceFilterProperty extendBasicObject(
118       org.openmdx.base.cci.BasicObject _base
119     , short filterOperator
120     , short filterQuantor
121     , String JavaDoc name
122     , short accessLevelBrowse
123     , short accessLevelDelete
124     , short accessLevelUpdate
125   ) {
126     ResourceFilterPropertyImpl _object = (ResourceFilterPropertyImpl)getResourceFilterProperty(_base);
127     _object.setFilterOperator(filterOperator);
128     _object.setFilterQuantor(filterQuantor);
129     _object.setName(name);
130     _object.setAccessLevelBrowse(accessLevelBrowse);
131     _object.setAccessLevelDelete(accessLevelDelete);
132     _object.setAccessLevelUpdate(accessLevelUpdate);
133     return _object;
134   }
135
136 // ----------------------------------------------------------------------------
137
// ClassProxy/ImplInstanceExtenderRequiredAttributes
138
// ----------------------------------------------------------------------------
139
public ResourceFilterProperty extendContextCapable(
140       org.openmdx.base.cci.ContextCapable _base
141     , short filterOperator
142     , short filterQuantor
143     , String JavaDoc name
144     , short accessLevelBrowse
145     , short accessLevelDelete
146     , short accessLevelUpdate
147   ) {
148     ResourceFilterPropertyImpl _object = (ResourceFilterPropertyImpl)getResourceFilterProperty(_base);
149     _object.setFilterOperator(filterOperator);
150     _object.setFilterQuantor(filterQuantor);
151     _object.setName(name);
152     _object.setAccessLevelBrowse(accessLevelBrowse);
153     _object.setAccessLevelDelete(accessLevelDelete);
154     _object.setAccessLevelUpdate(accessLevelUpdate);
155     return _object;
156   }
157
158 // ----------------------------------------------------------------------------
159
// ClassProxy/ImplInstanceExtenderRequiredAttributes
160
// ----------------------------------------------------------------------------
161
public ResourceFilterProperty extendExtentCapable(
162       org.openmdx.base.cci.ExtentCapable _base
163     , short filterOperator
164     , short filterQuantor
165     , String JavaDoc name
166     , short accessLevelBrowse
167     , short accessLevelDelete
168     , short accessLevelUpdate
169   ) {
170     ResourceFilterPropertyImpl _object = (ResourceFilterPropertyImpl)getResourceFilterProperty(_base);
171     _object.setFilterOperator(filterOperator);
172     _object.setFilterQuantor(filterQuantor);
173     _object.setName(name);
174     _object.setAccessLevelBrowse(accessLevelBrowse);
175     _object.setAccessLevelDelete(accessLevelDelete);
176     _object.setAccessLevelUpdate(accessLevelUpdate);
177     return _object;
178   }
179
180 // ----------------------------------------------------------------------------
181
// ClassProxy/ImplInstanceExtenderRequiredAttributes
182
// ----------------------------------------------------------------------------
183
public ResourceFilterProperty extendViewCapable(
184       org.openmdx.compatibility.view1.cci.ViewCapable _base
185     , short filterOperator
186     , short filterQuantor
187     , String JavaDoc name
188     , short accessLevelBrowse
189     , short accessLevelDelete
190     , short accessLevelUpdate
191   ) {
192     ResourceFilterPropertyImpl _object = (ResourceFilterPropertyImpl)getResourceFilterProperty(_base);
193     _object.setFilterOperator(filterOperator);
194     _object.setFilterQuantor(filterQuantor);
195     _object.setName(name);
196     _object.setAccessLevelBrowse(accessLevelBrowse);
197     _object.setAccessLevelDelete(accessLevelDelete);
198     _object.setAccessLevelUpdate(accessLevelUpdate);
199     return _object;
200   }
201
202 // ----------------------------------------------------------------------------
203
// ClassProxy/ImplEnd.vm
204
// ----------------------------------------------------------------------------
205
}
206
Popular Tags