KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > depot1 > cci > RoomImpl


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:56 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.depot1.cci;
14
15 public class RoomImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements Room {
18
19   public RoomImpl(
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/ImplAttributeGet0_1
28
// ----------------------------------------------------------------------------
29
public String JavaDoc getRoomNumber (
30   ) {
31     return (String JavaDoc)this.refGetValue("roomNumber", 0);
32   }
33 // ----------------------------------------------------------------------------
34
// Instance/ImplAttributeSet0_1
35
// ----------------------------------------------------------------------------
36
public void setRoomNumber(
37     String JavaDoc newValue
38   ) {
39     refSetValue("org:opencrx:kernel:address1:RoomAddressable:roomNumber", 0, newValue);
40   }
41
42 // ----------------------------------------------------------------------------
43
// Instance/ImplAttributeGet1_1
44
// ----------------------------------------------------------------------------
45
public short getAccessLevelBrowse(
46   ) {
47     return getAccessLevelBrowse(0);
48   }
49
50   protected short getAccessLevelBrowse(
51     int index
52   ) {
53     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index)).shortValue();
54   }
55
56 // ----------------------------------------------------------------------------
57
// Instance/ImplAttributeSet1_1
58
// ----------------------------------------------------------------------------
59
public void setAccessLevelBrowse(
60     short newValue
61   ) {
62     setAccessLevelBrowse(0, newValue);
63   }
64
65   protected void setAccessLevelBrowse(
66     int index,
67     short newValue
68   ) {
69     refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelBrowse", index, new Short JavaDoc(newValue));
70   }
71 // ----------------------------------------------------------------------------
72
// Instance/ImplAttributeGet1_1
73
// ----------------------------------------------------------------------------
74
public short getAccessLevelDelete(
75   ) {
76     return getAccessLevelDelete(0);
77   }
78
79   protected short getAccessLevelDelete(
80     int index
81   ) {
82     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index)).shortValue();
83   }
84
85 // ----------------------------------------------------------------------------
86
// Instance/ImplAttributeSet1_1
87
// ----------------------------------------------------------------------------
88
public void setAccessLevelDelete(
89     short newValue
90   ) {
91     setAccessLevelDelete(0, newValue);
92   }
93
94   protected void setAccessLevelDelete(
95     int index,
96     short newValue
97   ) {
98     refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelDelete", index, new Short JavaDoc(newValue));
99   }
100 // ----------------------------------------------------------------------------
101
// Instance/ImplAttributeGet1_1
102
// ----------------------------------------------------------------------------
103
public short getAccessLevelUpdate(
104   ) {
105     return getAccessLevelUpdate(0);
106   }
107
108   protected short getAccessLevelUpdate(
109     int index
110   ) {
111     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index)).shortValue();
112   }
113
114 // ----------------------------------------------------------------------------
115
// Instance/ImplAttributeSet1_1
116
// ----------------------------------------------------------------------------
117
public void setAccessLevelUpdate(
118     short newValue
119   ) {
120     setAccessLevelUpdate(0, newValue);
121   }
122
123   protected void setAccessLevelUpdate(
124     int index,
125     short newValue
126   ) {
127     refSetValue("org:opencrx:kernel:base:SecureObject:accessLevelUpdate", index, new Short JavaDoc(newValue));
128   }
129 // ----------------------------------------------------------------------------
130
// Instance/ImplOperation
131
// ----------------------------------------------------------------------------
132
public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup(
133       org.opencrx.kernel.base.cci.ModifyOwningGroupParams params
134   ) throws javax.jmi.reflect.RefException {
135     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
136     args.add(params);
137     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
138       "org:opencrx:kernel:base:SecureObject:addOwningGroup",
139       args
140     );
141   }
142
143   public org.opencrx.kernel.base.cci.ModifySecureObjectResult addOwningGroup(
144       org.opencrx.security.realm1.cci.PrincipalGroup group
145     , short mode
146   ) throws javax.jmi.reflect.RefException {
147     return addOwningGroup(
148       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams(
149         group
150     , mode
151       )
152     );
153   }
154
155 // ----------------------------------------------------------------------------
156
// Instance/ImplAttributeGetList
157
// ----------------------------------------------------------------------------
158
public java.util.List JavaDoc getOwner (
159   ) {
160     return (java.util.List JavaDoc)this.refGetValue("owner");
161   }
162   public String JavaDoc getOwner(
163     int index
164   ) {
165     return (String JavaDoc)this.refGetValue("org:opencrx:kernel:base:SecureObject:owner", index);
166   }
167
168 // ----------------------------------------------------------------------------
169
// Instance/ImplAttributeSetList
170
// ----------------------------------------------------------------------------
171
protected void setOwner(
172     java.util.List JavaDoc newValue
173   ) {
174     refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue);
175   }
176
177   protected void setOwner(
178     String JavaDoc[] newValue
179   ) {
180     refSetValue("org:opencrx:kernel:base:SecureObject:owner", newValue);
181   }
182
183 // ----------------------------------------------------------------------------
184
// Instance/ImplReferenceSetWithQualifier
185
// ----------------------------------------------------------------------------
186
public void setOwningGroup(
187     java.util.List JavaDoc newValue
188   ) {
189     refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue);
190   }
191
192   public void setOwningGroup(
193     org.opencrx.security.realm1.cci.PrincipalGroup[] newValue
194   ) {
195     refSetValue("org:opencrx:kernel:base:SecureObject:owningGroup", newValue);
196   }
197
198 // ----------------------------------------------------------------------------
199
// Instance/ImplReferenceGet0_1WithQualifier
200
// ----------------------------------------------------------------------------
201
public org.opencrx.security.realm1.cci.PrincipalGroup getOwningGroup(
202     int index
203   ) {
204     return (org.opencrx.security.realm1.cci.PrincipalGroup)refGetValue(
205       "org:opencrx:kernel:base:SecureObject:owningGroup",
206       new Integer JavaDoc(index)
207     );
208   }
209
210 // ----------------------------------------------------------------------------
211
// Instance/ImplReferenceGet0_nNoFilter
212
// ----------------------------------------------------------------------------
213
public java.util.Collection JavaDoc getOwningGroup(
214   ) {
215     return (java.util.Collection JavaDoc)refGetValue(
216       "org:opencrx:kernel:base:SecureObject:owningGroup"
217     );
218   }
219
220 // ----------------------------------------------------------------------------
221
// Instance/ImplReferenceAddWithQualifier
222
// ----------------------------------------------------------------------------
223
public void addOwningGroup (
224     int index,
225     org.opencrx.security.realm1.cci.PrincipalGroup newValue
226   ) {
227     refAddValue(
228       "org:opencrx:kernel:base:SecureObject:owningGroup",
229       new Integer JavaDoc(index),
230       newValue
231     );
232   }
233
234 // ----------------------------------------------------------------------------
235
// Instance/ImplReferenceAddWithoutQualifier
236
// ----------------------------------------------------------------------------
237
public void addOwningGroup (
238     org.opencrx.security.realm1.cci.PrincipalGroup newValue
239   ) {
240     refAddValue(
241       "org:opencrx:kernel:base:SecureObject:owningGroup",
242       newValue
243     );
244   }
245
246 // ----------------------------------------------------------------------------
247
// Instance/ImplReferenceRemoveWithQualifier
248
// ----------------------------------------------------------------------------
249
public void removeOwningGroup (
250     int index
251   ) {
252     refRemoveValue(
253       "org:opencrx:kernel:base:SecureObject:owningGroup",
254       new Integer JavaDoc(index)
255     );
256   }
257
258 // ----------------------------------------------------------------------------
259
// Instance/ImplReferenceGet0_1NoQualifier
260
// ----------------------------------------------------------------------------
261
public org.opencrx.security.realm1.cci.User getOwningUser(
262   ) {
263     return (org.opencrx.security.realm1.cci.User)refGetValue(
264       "org:opencrx:kernel:base:SecureObject:owningUser"
265     );
266   }
267
268 // ----------------------------------------------------------------------------
269
// Instance/ImplReferenceSetNoQualifier
270
// ----------------------------------------------------------------------------
271
public void setOwningUser(
272     org.opencrx.security.realm1.cci.User newValue
273   ) {
274     refSetValue(
275       "org:opencrx:kernel:base:SecureObject:owningUser",
276       newValue
277     );
278   }
279
280 // ----------------------------------------------------------------------------
281
// Instance/ImplReferenceRemoveOptional
282
// ----------------------------------------------------------------------------
283
public void removeOwningUser (
284   ) {
285     refRemoveValue(
286       "org:opencrx:kernel:base:SecureObject:owningUser"
287     );
288   }
289 // ----------------------------------------------------------------------------
290
// Instance/ImplOperation
291
// ----------------------------------------------------------------------------
292
public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup(
293       org.opencrx.kernel.base.cci.RemoveAllOwningGroupParams params
294   ) throws javax.jmi.reflect.RefException {
295     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
296     args.add(params);
297     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
298       "org:opencrx:kernel:base:SecureObject:removeAllOwningGroup",
299       args
300     );
301   }
302
303   public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeAllOwningGroup(
304       short mode
305   ) throws javax.jmi.reflect.RefException {
306     return removeAllOwningGroup(
307       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createRemoveAllOwningGroupParams(
308         mode
309       )
310     );
311   }
312
313 // ----------------------------------------------------------------------------
314
// Instance/ImplOperation
315
// ----------------------------------------------------------------------------
316
public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup(
317       org.opencrx.kernel.base.cci.ModifyOwningGroupParams params
318   ) throws javax.jmi.reflect.RefException {
319     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
320     args.add(params);
321     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
322       "org:opencrx:kernel:base:SecureObject:removeOwningGroup",
323       args
324     );
325   }
326
327   public org.opencrx.kernel.base.cci.ModifySecureObjectResult removeOwningGroup(
328       org.opencrx.security.realm1.cci.PrincipalGroup group
329     , short mode
330   ) throws javax.jmi.reflect.RefException {
331     return removeOwningGroup(
332       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createModifyOwningGroupParams(
333         group
334     , mode
335       )
336     );
337   }
338
339 // ----------------------------------------------------------------------------
340
// Instance/ImplOperation
341
// ----------------------------------------------------------------------------
342
public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel(
343       org.opencrx.kernel.base.cci.SetAccessLevelParams params
344   ) throws javax.jmi.reflect.RefException {
345     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
346     args.add(params);
347     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
348       "org:opencrx:kernel:base:SecureObject:setAccessLevel",
349       args
350     );
351   }
352
353   public org.opencrx.kernel.base.cci.ModifySecureObjectResult setAccessLevel(
354       short accessLevelBrowse
355     , short accessLevelDelete
356     , short accessLevelUpdate
357     , short mode
358   ) throws javax.jmi.reflect.RefException {
359     return setAccessLevel(
360       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetAccessLevelParams(
361         accessLevelBrowse
362     , accessLevelDelete
363     , accessLevelUpdate
364     , mode
365       )
366     );
367   }
368
369 // ----------------------------------------------------------------------------
370
// Instance/ImplOperation
371
// ----------------------------------------------------------------------------
372
public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser(
373       org.opencrx.kernel.base.cci.SetOwningUserParams params
374   ) throws javax.jmi.reflect.RefException {
375     java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
376     args.add(params);
377     return (org.opencrx.kernel.base.cci.ModifySecureObjectResult)refInvokeOperation(
378       "org:opencrx:kernel:base:SecureObject:setOwningUser",
379       args
380     );
381   }
382
383   public org.opencrx.kernel.base.cci.ModifySecureObjectResult setOwningUser(
384       short mode
385     , org.opencrx.security.realm1.cci.User user
386   ) throws javax.jmi.reflect.RefException {
387     return setOwningUser(
388       ((org.opencrx.kernel.base.cci.basePackage)refOutermostPackage().refPackage("org:opencrx:kernel:base")).createSetOwningUserParams(
389         mode
390     , user
391       )
392     );
393   }
394
395 // ----------------------------------------------------------------------------
396
// Instance/ImplAttributeGet1_1
397
// ----------------------------------------------------------------------------
398
public java.util.Date JavaDoc getCreatedAt(
399   ) {
400     return getCreatedAt(0);
401   }
402
403   protected java.util.Date JavaDoc getCreatedAt(
404     int index
405   ) {
406     return (java.util.Date JavaDoc)this.refGetValue("org:openmdx:base:BasicObject:createdAt", index);
407   }
408
409 // ----------------------------------------------------------------------------
410
// Instance/ImplAttributeSet1_1
411
// ----------------------------------------------------------------------------
412
protected void setCreatedAt(
413     java.util.Date JavaDoc newValue
414   ) {
415     setCreatedAt(0, newValue);
416   }
417
418   protected void setCreatedAt(
419     int index,
420     java.util.Date JavaDoc newValue
421   ) {
422     refSetValue("org:openmdx:base:BasicObject:createdAt", index, newValue);
423   }
424 // ----------------------------------------------------------------------------
425
// Instance/ImplAttributeGetSet
426
// ----------------------------------------------------------------------------
427
public java.util.Set JavaDoc getCreatedBy (
428   ) {
429     return (java.util.Set JavaDoc)this.refGetValue("createdBy");
430   }
431 // ----------------------------------------------------------------------------
432
// Instance/ImplAttributeSetSet
433
// ----------------------------------------------------------------------------
434
protected void setCreatedBy(
435     java.util.Set JavaDoc newValue
436   ) {
437     refSetValue("org:openmdx:base:BasicObject:createdBy", newValue);
438   }
439
440   protected void setCreatedBy(
441     String JavaDoc[] newValue
442   ) {
443     refSetValue("org:openmdx:base:BasicObject:createdBy", newValue);
444   }
445
446 // ----------------------------------------------------------------------------
447
// Instance/ImplAttributeGet1_1
448
// ----------------------------------------------------------------------------
449
public java.util.Date JavaDoc getModifiedAt(
450   ) {
451     return getModifiedAt(0);
452   }
453
454   protected java.util.Date JavaDoc getModifiedAt(
455     int index
456   ) {
457     return (java.util.Date JavaDoc)this.refGetValue("org:openmdx:base:BasicObject:modifiedAt", index);
458   }
459
460 // ----------------------------------------------------------------------------
461
// Instance/ImplAttributeSet1_1
462
// ----------------------------------------------------------------------------
463
protected void setModifiedAt(
464     java.util.Date JavaDoc newValue
465   ) {
466     setModifiedAt(0, newValue);
467   }
468
469   protected void setModifiedAt(
470     int index,
471     java.util.Date JavaDoc newValue
472   ) {
473     refSetValue("org:openmdx:base:BasicObject:modifiedAt", index, newValue);
474   }
475 // ----------------------------------------------------------------------------
476
// Instance/ImplAttributeGetSet
477
// ----------------------------------------------------------------------------
478
public java.util.Set JavaDoc getModifiedBy (
479   ) {
480     return (java.util.Set JavaDoc)this.refGetValue("modifiedBy");
481   }
482 // ----------------------------------------------------------------------------
483
// Instance/ImplAttributeSetSet
484
// ----------------------------------------------------------------------------
485
protected void setModifiedBy(
486     java.util.Set JavaDoc newValue
487   ) {
488     refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue);
489   }
490
491   protected void setModifiedBy(
492     String JavaDoc[] newValue
493   ) {
494     refSetValue("org:openmdx:base:BasicObject:modifiedBy", newValue);
495   }
496
497 // ----------------------------------------------------------------------------
498
// Instance/ImplReferenceSetWithQualifier
499
// ----------------------------------------------------------------------------
500
protected void setContext(
501     java.util.List JavaDoc newValue
502   ) {
503     refSetValue("org:openmdx:base:ContextCapable:context", newValue);
504   }
505
506   protected void setContext(
507     org.openmdx.base.cci.Context[] newValue
508   ) {
509     refSetValue("org:openmdx:base:ContextCapable:context", newValue);
510   }
511
512 // ----------------------------------------------------------------------------
513
// Instance/ImplReferenceGet0_1WithQualifier
514
// ----------------------------------------------------------------------------
515
public org.openmdx.base.cci.Context getContext(
516     String JavaDoc id
517   ) {
518     return (org.openmdx.base.cci.Context)refGetValue(
519       "org:openmdx:base:ContextCapable:context",
520       id
521     );
522   }
523
524 // ----------------------------------------------------------------------------
525
// Instance/ImplReferenceGet0_nNoFilter
526
// ----------------------------------------------------------------------------
527
public java.util.Collection JavaDoc getContext(
528   ) {
529     return (java.util.Collection JavaDoc)refGetValue(
530       "org:openmdx:base:ContextCapable:context"
531     );
532   }
533
534 // ----------------------------------------------------------------------------
535
// Instance/ImplReferenceAddWithQualifier
536
// ----------------------------------------------------------------------------
537
protected void addContext (
538     String JavaDoc id,
539     org.openmdx.base.cci.Context newValue
540   ) {
541     refAddValue(
542       "org:openmdx:base:ContextCapable:context",
543       id,
544       newValue
545     );
546   }
547
548 // ----------------------------------------------------------------------------
549
// Instance/ImplReferenceAddWithoutQualifier
550
// ----------------------------------------------------------------------------
551
protected void addContext (
552     org.openmdx.base.cci.Context newValue
553   ) {
554     refAddValue(
555       "org:openmdx:base:ContextCapable:context",
556       newValue
557     );
558   }
559
560 // ----------------------------------------------------------------------------
561
// Instance/ImplReferenceRemoveWithQualifier
562
// ----------------------------------------------------------------------------
563
protected void removeContext (
564     String JavaDoc id
565   ) {
566     refRemoveValue(
567       "org:openmdx:base:ContextCapable:context",
568       id
569     );
570   }
571
572 // ----------------------------------------------------------------------------
573
// Instance/ImplAttributeGet1_1
574
// ----------------------------------------------------------------------------
575
public String JavaDoc getIdentity(
576   ) {
577     return getIdentity(0);
578   }
579
580   protected String JavaDoc getIdentity(
581     int index
582   ) {
583     return (String JavaDoc)this.refGetValue("org:openmdx:base:ExtentCapable:identity", index);
584   }
585
586 // ----------------------------------------------------------------------------
587
// Instance/ImplAttributeSet1_1
588
// ----------------------------------------------------------------------------
589
protected void setIdentity(
590     String JavaDoc newValue
591   ) {
592     setIdentity(0, newValue);
593   }
594
595   protected void setIdentity(
596     int index,
597     String JavaDoc newValue
598   ) {
599     refSetValue("org:openmdx:base:ExtentCapable:identity", index, newValue);
600   }
601 // ----------------------------------------------------------------------------
602
// Instance/ImplReferenceSetWithQualifier
603
// ----------------------------------------------------------------------------
604
protected void setView(
605     java.util.List JavaDoc newValue
606   ) {
607     refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue);
608   }
609
610   protected void setView(
611     org.openmdx.compatibility.view1.cci.View[] newValue
612   ) {
613     refSetValue("org:openmdx:compatibility:view1:ViewCapable:view", newValue);
614   }
615
616 // ----------------------------------------------------------------------------
617
// Instance/ImplReferenceGet0_1WithQualifier
618
// ----------------------------------------------------------------------------
619
public org.openmdx.compatibility.view1.cci.View getView(
620     String JavaDoc namespace
621   ) {
622     return (org.openmdx.compatibility.view1.cci.View)refGetValue(
623       "org:openmdx:compatibility:view1:ViewCapable:view",
624       namespace
625     );
626   }
627
628 // ----------------------------------------------------------------------------
629
// Instance/ImplReferenceGet0_nWithFilter
630
// ----------------------------------------------------------------------------
631
public java.util.Collection JavaDoc getView(
632   ) {
633     return (java.util.Collection JavaDoc)refGetValue(
634       "org:openmdx:compatibility:view1:ViewCapable:view"
635     );
636   }
637
638   public java.util.List JavaDoc getView(
639     org.openmdx.compatibility.view1.cci.ViewFilter filter
640   ) {
641     return ((org.openmdx.compatibility.base.collection.Container)refGetValue(
642       "org:openmdx:compatibility:view1:ViewCapable:view"
643     )).toList(filter);
644   }
645
646 // ----------------------------------------------------------------------------
647
// Instance/ImplReferenceAddWithQualifier
648
// ----------------------------------------------------------------------------
649
protected void addView (
650     String JavaDoc namespace,
651     org.openmdx.compatibility.view1.cci.View newValue
652   ) {
653     refAddValue(
654       "org:openmdx:compatibility:view1:ViewCapable:view",
655       namespace,
656       newValue
657     );
658   }
659
660 // ----------------------------------------------------------------------------
661
// Instance/ImplReferenceAddWithoutQualifier
662
// ----------------------------------------------------------------------------
663
protected void addView (
664     org.openmdx.compatibility.view1.cci.View newValue
665   ) {
666     refAddValue(
667       "org:openmdx:compatibility:view1:ViewCapable:view",
668       newValue
669     );
670   }
671
672 // ----------------------------------------------------------------------------
673
// Instance/ImplReferenceRemoveWithQualifier
674
// ----------------------------------------------------------------------------
675
protected void removeView (
676     String JavaDoc namespace
677   ) {
678     refRemoveValue(
679       "org:openmdx:compatibility:view1:ViewCapable:view",
680       namespace
681     );
682   }
683
684 // ----------------------------------------------------------------------------
685
// Instance/ImplEnd
686
// ----------------------------------------------------------------------------
687
}
688
Popular Tags