KickJava   Java API By Example, From Geeks To Geeks.

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


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 RoleCapableImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements RoleCapable {
18
19   public RoleCapableImpl(
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
public void setRole(
30     java.util.List JavaDoc newValue
31   ) {
32     refSetValue("org:openmdx:base:RoleCapable:role", newValue);
33   }
34
35   public void setRole(
36     org.openmdx.base.cci.RoleCapable[] newValue
37   ) {
38     refSetValue("org:openmdx:base:RoleCapable:role", newValue);
39   }
40
41 // ----------------------------------------------------------------------------
42
// Instance/ImplReferenceGet0_1WithQualifier
43
// ----------------------------------------------------------------------------
44
public org.openmdx.base.cci.RoleCapable getRole(
45     String JavaDoc roleId
46   ) {
47     return (org.openmdx.base.cci.RoleCapable)refGetValue(
48       "org:openmdx:base:RoleCapable:role",
49       roleId
50     );
51   }
52
53 // ----------------------------------------------------------------------------
54
// Instance/ImplReferenceGet0_nNoFilter
55
// ----------------------------------------------------------------------------
56
public java.util.Collection JavaDoc getRole(
57   ) {
58     return (java.util.Collection JavaDoc)refGetValue(
59       "org:openmdx:base:RoleCapable:role"
60     );
61   }
62
63 // ----------------------------------------------------------------------------
64
// Instance/ImplReferenceAddWithQualifier
65
// ----------------------------------------------------------------------------
66
public void addRole (
67     String JavaDoc roleId,
68     org.openmdx.base.cci.RoleCapable newValue
69   ) {
70     refAddValue(
71       "org:openmdx:base:RoleCapable:role",
72       roleId,
73       newValue
74     );
75   }
76
77 // ----------------------------------------------------------------------------
78
// Instance/ImplReferenceAddWithoutQualifier
79
// ----------------------------------------------------------------------------
80
public void addRole (
81     org.openmdx.base.cci.RoleCapable newValue
82   ) {
83     refAddValue(
84       "org:openmdx:base:RoleCapable:role",
85       newValue
86     );
87   }
88
89 // ----------------------------------------------------------------------------
90
// Instance/ImplReferenceRemoveWithQualifier
91
// ----------------------------------------------------------------------------
92
public void removeRole (
93     String JavaDoc roleId
94   ) {
95     refRemoveValue(
96       "org:openmdx:base:RoleCapable:role",
97       roleId
98     );
99   }
100
101 // ----------------------------------------------------------------------------
102
// Instance/ImplAttributeGet0_1
103
// ----------------------------------------------------------------------------
104
public String JavaDoc getRoleId (
105   ) {
106     return (String JavaDoc)this.refGetValue("roleId", 0);
107   }
108 // ----------------------------------------------------------------------------
109
// Instance/ImplAttributeSet0_1
110
// ----------------------------------------------------------------------------
111
protected void setRoleId(
112     String JavaDoc newValue
113   ) {
114     refSetValue("org:openmdx:base:RoleCapable:roleId", 0, newValue);
115   }
116
117 // ----------------------------------------------------------------------------
118
// Instance/ImplEnd
119
// ----------------------------------------------------------------------------
120
}
121
Popular Tags