KickJava   Java API By Example, From Geeks To Geeks.

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


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:39:07 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.openmdx.base.cci;
14
15 public class ContextCapableImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements ContextCapable {
18
19   public ContextCapableImpl(
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/ImplReferenceSetWithQualifier
28
// ----------------------------------------------------------------------------
29
protected void setContext(
30     java.util.List JavaDoc newValue
31   ) {
32     refSetValue("org:openmdx:base:ContextCapable:context", newValue);
33   }
34
35   protected void setContext(
36     org.openmdx.base.cci.Context[] newValue
37   ) {
38     refSetValue("org:openmdx:base:ContextCapable:context", newValue);
39   }
40
41 // ----------------------------------------------------------------------------
42
// Instance/ImplReferenceGet0_1WithQualifier
43
// ----------------------------------------------------------------------------
44
public org.openmdx.base.cci.Context getContext(
45     String JavaDoc id
46   ) {
47     return (org.openmdx.base.cci.Context)refGetValue(
48       "org:openmdx:base:ContextCapable:context",
49       id
50     );
51   }
52
53 // ----------------------------------------------------------------------------
54
// Instance/ImplReferenceGet0_nNoFilter
55
// ----------------------------------------------------------------------------
56
public java.util.Collection JavaDoc getContext(
57   ) {
58     return (java.util.Collection JavaDoc)refGetValue(
59       "org:openmdx:base:ContextCapable:context"
60     );
61   }
62
63 // ----------------------------------------------------------------------------
64
// Instance/ImplReferenceAddWithQualifier
65
// ----------------------------------------------------------------------------
66
protected void addContext (
67     String JavaDoc id,
68     org.openmdx.base.cci.Context newValue
69   ) {
70     refAddValue(
71       "org:openmdx:base:ContextCapable:context",
72       id,
73       newValue
74     );
75   }
76
77 // ----------------------------------------------------------------------------
78
// Instance/ImplReferenceAddWithoutQualifier
79
// ----------------------------------------------------------------------------
80
protected void addContext (
81     org.openmdx.base.cci.Context newValue
82   ) {
83     refAddValue(
84       "org:openmdx:base:ContextCapable:context",
85       newValue
86     );
87   }
88
89 // ----------------------------------------------------------------------------
90
// Instance/ImplReferenceRemoveWithQualifier
91
// ----------------------------------------------------------------------------
92
protected void removeContext (
93     String JavaDoc id
94   ) {
95     refRemoveValue(
96       "org:openmdx:base:ContextCapable:context",
97       id
98     );
99   }
100
101 // ----------------------------------------------------------------------------
102
// Instance/ImplEnd
103
// ----------------------------------------------------------------------------
104
}
105
Popular Tags