KickJava   Java API By Example, From Geeks To Geeks.

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


1 // ----------------------------------------------------------------------------
2
// Instance/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 SearchIndexEntryImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements SearchIndexEntry {
18
19   public SearchIndexEntryImpl(
20     org.openmdx.base.accessor.generic.cci.Object_1_0 object,
21     javax.jmi.reflect.RefClass refClass
22   ) {
23     super(object, refClass);
24   }
25
26 // ----------------------------------------------------------------------------
27
// Instance/ImplReferenceGet1_1NoQualifier
28
// ----------------------------------------------------------------------------
29
public org.opencrx.kernel.account1.cci.Account getAccount(
30   ) {
31     return (org.opencrx.kernel.account1.cci.Account)refGetValue(
32       "org:opencrx:kernel:account1:SearchIndexEntry:account"
33     );
34   }
35
36 // ----------------------------------------------------------------------------
37
// Instance/ImplReferenceSetNoQualifier
38
// ----------------------------------------------------------------------------
39
public void setAccount(
40     org.opencrx.kernel.account1.cci.Account newValue
41   ) {
42     refSetValue(
43       "org:opencrx:kernel:account1:SearchIndexEntry:account",
44       newValue
45     );
46   }
47
48 // ----------------------------------------------------------------------------
49
// Instance/ImplAttributeGet1_1
50
// ----------------------------------------------------------------------------
51
public String JavaDoc getAccountAddressIndex(
52   ) {
53     return getAccountAddressIndex(0);
54   }
55
56   protected String JavaDoc getAccountAddressIndex(
57     int index
58   ) {
59     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:account1:SearchIndexEntry:accountAddressIndex", index);
60   }
61
62 // ----------------------------------------------------------------------------
63
// Instance/ImplAttributeSet1_1
64
// ----------------------------------------------------------------------------
65
protected void setAccountAddressIndex(
66     String JavaDoc newValue
67   ) {
68     setAccountAddressIndex(0, newValue);
69   }
70
71   protected void setAccountAddressIndex(
72     int index,
73     String JavaDoc newValue
74   ) {
75     refSetValue("org:opencrx:kernel:account1:SearchIndexEntry:accountAddressIndex", index, newValue);
76   }
77 // ----------------------------------------------------------------------------
78
// Instance/ImplAttributeGet1_1
79
// ----------------------------------------------------------------------------
80
public java.util.Date JavaDoc getCreatedAt(
81   ) {
82     return getCreatedAt(0);
83   }
84
85   protected java.util.Date JavaDoc getCreatedAt(
86     int index
87   ) {
88     return (java.util.Date JavaDoc)this.refGetValue("org:openmdx:base:BasicObject:createdAt", index);
89   }
90
91 // ----------------------------------------------------------------------------
92
// Instance/ImplAttributeSet1_1
93
// ----------------------------------------------------------------------------
94
protected void setCreatedAt(
95     java.util.Date JavaDoc newValue
96   ) {
97     setCreatedAt(0, newValue);
98   }
99
100   protected void setCreatedAt(
101     int index,
102     java.util.Date JavaDoc newValue
103   ) {
104     refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue);
105   }
106 // ----------------------------------------------------------------------------
107
// Instance/ImplAttributeGetSet
108
// ----------------------------------------------------------------------------
109
public java.util.Set JavaDoc getCreatedBy (
110   ) {
111     return (java.util.Set JavaDoc)this.refGetValue("createdBy");
112   }
113 // ----------------------------------------------------------------------------
114
// Instance/ImplAttributeSetSet
115
// ----------------------------------------------------------------------------
116
protected void setCreatedBy(
117     java.util.Set JavaDoc newValue
118   ) {
119     refSetValue("org:openmdx:base:BasicObject:createdBy", newValue);
120   }
121
122   protected void setCreatedBy(
123     String JavaDoc[] newValue
124   ) {
125     refSetValue("org:openmdx:base:BasicObject:createdBy", newValue);
126   }
127
128 // ----------------------------------------------------------------------------
129
// Instance/ImplAttributeGet1_1
130
// ----------------------------------------------------------------------------
131
public java.util.Date JavaDoc getModifiedAt(
132   ) {
133     return getModifiedAt(0);
134   }
135
136   protected java.util.Date JavaDoc getModifiedAt(
137     int index
138   ) {
139     return (java.util.Date JavaDoc)this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index);
140   }
141
142 // ----------------------------------------------------------------------------
143
// Instance/ImplAttributeSet1_1
144
// ----------------------------------------------------------------------------
145
protected void setModifiedAt(
146     java.util.Date JavaDoc newValue
147   ) {
148     setModifiedAt(0, newValue);
149   }
150
151   protected void setModifiedAt(
152     int index,
153     java.util.Date JavaDoc newValue
154   ) {
155     refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue);
156   }
157 // ----------------------------------------------------------------------------
158
// Instance/ImplAttributeGetSet
159
// ----------------------------------------------------------------------------
160
public java.util.Set JavaDoc getModifiedBy (
161   ) {
162     return (java.util.Set JavaDoc)this.refGetValue("modifiedBy");
163   }
164 // ----------------------------------------------------------------------------
165
// Instance/ImplAttributeSetSet
166
// ----------------------------------------------------------------------------
167
protected void setModifiedBy(
168     java.util.Set JavaDoc newValue
169   ) {
170     refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue);
171   }
172
173   protected void setModifiedBy(
174     String JavaDoc[] newValue
175   ) {
176     refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue);
177   }
178
179 // ----------------------------------------------------------------------------
180
// Instance/ImplReferenceSetWithQualifier
181
// ----------------------------------------------------------------------------
182
protected void setContext(
183     java.util.List JavaDoc newValue
184   ) {
185     refSetValue("org:openmdx:base:ContextCapable:context", newValue);
186   }
187
188   protected void setContext(
189     org.openmdx.base.cci.Context[] newValue
190   ) {
191     refSetValue("org:openmdx:base:ContextCapable:context", newValue);
192   }
193
194 // ----------------------------------------------------------------------------
195
// Instance/ImplReferenceGet0_1WithQualifier
196
// ----------------------------------------------------------------------------
197
public org.openmdx.base.cci.Context getContext(
198     String JavaDoc id
199   ) {
200     return (org.openmdx.base.cci.Context)refGetValue(
201       "org:openmdx:base:ContextCapable:context",
202       id
203     );
204   }
205
206 // ----------------------------------------------------------------------------
207
// Instance/ImplReferenceGet0_nNoFilter
208
// ----------------------------------------------------------------------------
209
public java.util.Collection JavaDoc getContext(
210   ) {
211     return (java.util.Collection JavaDoc)refGetValue(
212       "org:openmdx:base:ContextCapable:context"
213     );
214   }
215
216 // ----------------------------------------------------------------------------
217
// Instance/ImplReferenceAddWithQualifier
218
// ----------------------------------------------------------------------------
219
protected void addContext (
220     String JavaDoc id,
221     org.openmdx.base.cci.Context newValue
222   ) {
223     refAddValue(
224       "org:openmdx:base:ContextCapable:context",
225       id,
226       newValue
227     );
228   }
229
230 // ----------------------------------------------------------------------------
231
// Instance/ImplReferenceAddWithoutQualifier
232
// ----------------------------------------------------------------------------
233
protected void addContext (
234     org.openmdx.base.cci.Context newValue
235   ) {
236     refAddValue(
237       "org:openmdx:base:ContextCapable:context",
238       newValue
239     );
240   }
241
242 // ----------------------------------------------------------------------------
243
// Instance/ImplReferenceRemoveWithQualifier
244
// ----------------------------------------------------------------------------
245
protected void removeContext (
246     String JavaDoc id
247   ) {
248     refRemoveValue(
249       "org:openmdx:base:ContextCapable:context",
250       id
251     );
252   }
253
254 // ----------------------------------------------------------------------------
255
// Instance/ImplAttributeGet1_1
256
// ----------------------------------------------------------------------------
257
public String JavaDoc getIdentity(
258   ) {
259     return getIdentity(0);
260   }
261
262   protected String JavaDoc getIdentity(
263     int index
264   ) {
265     return (String JavaDoc)this.refGetValue("org:openmdx:base:ExtentCapable:identity", index);
266   }
267
268 // ----------------------------------------------------------------------------
269
// Instance/ImplAttributeSet1_1
270
// ----------------------------------------------------------------------------
271
protected void setIdentity(
272     String JavaDoc newValue
273   ) {
274     setIdentity(0, newValue);
275   }
276
277   protected void setIdentity(
278     int index,
279     String JavaDoc newValue
280   ) {
281     refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue);
282   }
283 // ----------------------------------------------------------------------------
284
// Instance/ImplReferenceSetWithQualifier
285
// ----------------------------------------------------------------------------
286
protected void setView(
287     java.util.List JavaDoc newValue
288   ) {
289     refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue);
290   }
291
292   protected void setView(
293     org.openmdx.compatibility.view1.cci.View[] newValue
294   ) {
295     refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue);
296   }
297
298 // ----------------------------------------------------------------------------
299
// Instance/ImplReferenceGet0_1WithQualifier
300
// ----------------------------------------------------------------------------
301
public org.openmdx.compatibility.view1.cci.View getView(
302     String JavaDoc namespace
303   ) {
304     return (org.openmdx.compatibility.view1.cci.View)refGetValue(
305       "org:openmdx:compatibility:view1:ViewCapable:view",
306       namespace
307     );
308   }
309
310 // ----------------------------------------------------------------------------
311
// Instance/ImplReferenceGet0_nWithFilter
312
// ----------------------------------------------------------------------------
313
public java.util.Collection JavaDoc getView(
314   ) {
315     return (java.util.Collection JavaDoc)refGetValue(
316       "org:openmdx:compatibility:view1:ViewCapable:view"
317     );
318   }
319
320   public java.util.List JavaDoc getView(
321     org.openmdx.compatibility.view1.cci.ViewFilter filter
322   ) {
323     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
324       "org:openmdx:compatibility:view1:ViewCapable:view"
325     )).toList(filter);
326   }
327
328 // ----------------------------------------------------------------------------
329
// Instance/ImplReferenceAddWithQualifier
330
// ----------------------------------------------------------------------------
331
protected void addView (
332     String JavaDoc namespace,
333     org.openmdx.compatibility.view1.cci.View newValue
334   ) {
335     refAddValue(
336       "org:openmdx:compatibility:view1:ViewCapable:view",
337       namespace,
338       newValue
339     );
340   }
341
342 // ----------------------------------------------------------------------------
343
// Instance/ImplReferenceAddWithoutQualifier
344
// ----------------------------------------------------------------------------
345
protected void addView (
346     org.openmdx.compatibility.view1.cci.View newValue
347   ) {
348     refAddValue(
349       "org:openmdx:compatibility:view1:ViewCapable:view",
350       newValue
351     );
352   }
353
354 // ----------------------------------------------------------------------------
355
// Instance/ImplReferenceRemoveWithQualifier
356
// ----------------------------------------------------------------------------
357
protected void removeView (
358     String JavaDoc namespace
359   ) {
360     refRemoveValue(
361       "org:openmdx:compatibility:view1:ViewCapable:view",
362       namespace
363     );
364   }
365
366 // ----------------------------------------------------------------------------
367
// Instance/ImplEnd
368
// ----------------------------------------------------------------------------
369
}
370
Popular Tags