KickJava   Java API By Example, From Geeks To Geeks.

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


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