KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > account1 > cci > AbstractOrganizationalUnitFilterImpl


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