KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openmdx > base > cci > RoleCapableFilterImpl


1 // ----------------------------------------------------------------------------
2
// Filter/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:07 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.openmdx.base.cci;
14
15 public class RoleCapableFilterImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefFilter_1
17   implements RoleCapableFilter {
18
19   public RoleCapableFilterImpl(
20     org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage
21   ) {
22     super(
23       aPackage,
24       "org:openmdx:base:RoleCapable",
25       null,
26       null
27     );
28   }
29
30   public RoleCapableFilterImpl(
31     org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 aPackage,
32     org.openmdx.compatibility.base.query.FilterProperty[] filterProperties,
33     org.openmdx.compatibility.base.dataprovider.cci.AttributeSpecifier[] attributeSpecifiers
34   ) {
35     super(
36       aPackage,
37       "org:openmdx:base:RoleCapable",
38       filterProperties,
39       attributeSpecifiers
40     );
41   }
42       
43 // ----------------------------------------------------------------------------
44
// Filter/ImplReference
45
// ----------------------------------------------------------------------------
46
public void forAllRole (
47     short operator,
48     org.openmdx.base.cci.RoleCapable[] filterValues
49   ) {
50     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
51     for(int i = 0; i < filterValues.length; i++) {
52       arrayAsList.add(
53         filterValues[i]
54       );
55     }
56     forAllRole (
57       operator,
58       arrayAsList
59     );
60   }
61
62   public void thereExistsRole (
63     short operator,
64     org.openmdx.base.cci.RoleCapable[] filterValues
65   ) {
66     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
67     for(int i = 0; i < filterValues.length; i++) {
68       arrayAsList.add(
69         filterValues[i]
70       );
71     }
72     thereExistsRole (
73       operator,
74       arrayAsList
75     );
76   }
77
78   public void forAllRole (
79     short operator,
80     java.util.Collection JavaDoc values
81   ) {
82     refAddValue(
83       "org:openmdx:base:RoleCapable:role",
84       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
85       operator,
86       values
87     );
88   }
89
90   public void thereExistsRole (
91     short operator,
92     java.util.Collection JavaDoc values
93   ) {
94     refAddValue(
95       "org:openmdx:base:RoleCapable:role",
96       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
97       operator,
98       values
99     );
100   }
101       
102 // ----------------------------------------------------------------------------
103
// Filter/ImplAttributeIsNotStruct
104
// ----------------------------------------------------------------------------
105
public void forAllRoleId (
106     short operator,
107     java.util.Collection JavaDoc values
108   ) {
109     refAddValue(
110       "org:openmdx:base:RoleCapable:roleId",
111       org.openmdx.compatibility.base.query.Quantors.FOR_ALL,
112       operator,
113       values
114     );
115   }
116
117   public void thereExistsRoleId (
118     short operator,
119     java.util.Collection JavaDoc values
120   ) {
121     refAddValue(
122       "org:openmdx:base:RoleCapable:roleId",
123       org.openmdx.compatibility.base.query.Quantors.THERE_EXISTS,
124       operator,
125       values
126     );
127   }
128
129   public void forAllRoleId (
130     short operator,
131     String JavaDoc[] filterValues
132   ) {
133     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
134     for(int i = 0; i < filterValues.length; i++) {
135       arrayAsList.add(
136         filterValues[i]
137       );
138     }
139     forAllRoleId (
140       operator,
141       arrayAsList
142     );
143   }
144
145   public void thereExistsRoleId (
146     short operator,
147     String JavaDoc[] filterValues
148   ) {
149     java.util.List JavaDoc arrayAsList = new java.util.ArrayList JavaDoc();
150     for(int i = 0; i < filterValues.length; i++) {
151       arrayAsList.add(
152         filterValues[i]
153       );
154     }
155     thereExistsRoleId (
156       operator,
157       arrayAsList
158     );
159   }
160
161   public void orderByRoleId (
162     short order
163   ) {
164     refAddValue(
165       "org:openmdx:base:RoleCapable:roleId",
166       order
167     );
168   }
169       
170 // ----------------------------------------------------------------------------
171
// Filter/ImplEnd
172
// ----------------------------------------------------------------------------
173
}
174
Popular Tags