KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openmdx > security > realm1 > cci > Role


1 // ----------------------------------------------------------------------------
2
// Instance/IntfBegin
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:05 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.openmdx.security.realm1.cci;
14
15 public interface Role
16   extends
17  org.openmdx.base.cci.BasicObject {
18 // ----------------------------------------------------------------------------
19
// Instance/IntfAttributeGet0_1
20
// ----------------------------------------------------------------------------
21
/**
22    * @return The possibly null value for attribute <code>description</code>.
23    * @exception JmiException If the value cannot be retrieved for some reason.
24    */

25   public String JavaDoc getDescription(
26   );
27
28 // ----------------------------------------------------------------------------
29
// Instance/IntfAttributeSet0_1
30
// ----------------------------------------------------------------------------
31

32
33   /**
34    * Sets a new value for the attribute <code>description</code>.
35    * @param newValue The possibly null new value for attribute <code>description</code>.
36    * @exception JmiException If the value cannot be set for some reason.
37    */

38   public void setDescription(
39     String JavaDoc newValue
40   );
41
42 // ----------------------------------------------------------------------------
43
// Instance/IntfAttributeGet1_1
44
// ----------------------------------------------------------------------------
45
/**
46    * Retrieves the value for the attribute <code>disabled</code>.
47    * @return The non-null value for attribute <code>disabled</code>.
48    * @exception JmiException If the value cannot be retrieved for some reason.
49    */

50   public boolean isDisabled(
51   );
52
53 // ----------------------------------------------------------------------------
54
// Instance/IntfAttributeSet1_1
55
// ----------------------------------------------------------------------------
56
/**
57    * Sets a new value for the attribute <code>disabled</code>.
58    * @param newValue The non-null new value for attribute <code>disabled</code>.
59    * @exception JmiException If the value cannot be set for some reason.
60    */

61   public void setDisabled(
62     boolean newValue
63   );
64
65 // ----------------------------------------------------------------------------
66
// Instance/IntfAttributeGet1_1
67
// ----------------------------------------------------------------------------
68
/**
69    * Retrieves the value for the attribute <code>name</code>.
70    * @return The non-null value for attribute <code>name</code>.
71    * @exception JmiException If the value cannot be retrieved for some reason.
72    */

73   public String JavaDoc getName(
74   );
75
76 // ----------------------------------------------------------------------------
77
// Instance/IntfReferenceGet0_1WithQualifier
78
// ----------------------------------------------------------------------------
79
/**
80    * Retrieves the value for the reference <code>permission</code> for the
81    * specified qualifier attribute value.
82    * @param id The value for the qualifier attribute that qualifies this reference.
83    * @return The possibly null value for this reference.
84    * @exception JmiException If the value cannot be retrieved for some reason.
85    */

86   public org.openmdx.security.realm1.cci.Permission getPermission(
87     String JavaDoc id
88   );
89
90 // ----------------------------------------------------------------------------
91
// Instance/IntfReferenceGet0_nWithFilter
92
// ----------------------------------------------------------------------------
93
/**
94    * Retrieves a collection containing all the elements for the reference
95    * <code>permission</code>.
96    * @return A collection containing all the elements for this reference.
97    * @exception JmiException If the values cannot be retrieved for some reason.
98    */

99   public java.util.Collection JavaDoc getPermission(
100   );
101
102   /**
103    * Retrieves the value for the reference <code>permission</code> for the
104    * specified filter.
105    * @param filter filter which is applied to the set of referenced objects.
106    * @return The filtered collection of referenced objects.
107    * @exception JmiException If the value cannot be retrieved for some reason.
108    */

109   public java.util.List JavaDoc getPermission(
110     org.openmdx.security.realm1.cci.PermissionFilter filter
111   );
112
113 // ----------------------------------------------------------------------------
114
// Instance/IntfReferenceAddWithQualifier
115
// ----------------------------------------------------------------------------
116
/**
117    * @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
118    * @param newValue The element to be appended.
119    * @exception JmiException If the value cannot be appended for some reason.
120    */

121   public void addPermission (
122     String JavaDoc id,
123     org.openmdx.security.realm1.cci.Permission newValue
124   );
125
126 // ----------------------------------------------------------------------------
127
// Instance/IntfReferenceAddWithoutQualifier
128
// ----------------------------------------------------------------------------
129
/**
130    * @param newValue The element to be appended.
131    * @exception JmiException If the value cannot be appended for some reason.
132    */

133   public void addPermission (
134     org.openmdx.security.realm1.cci.Permission newValue
135   );
136
137 // ----------------------------------------------------------------------------
138
// Instance/IntfReferenceRemoveWithQualifier
139
// ----------------------------------------------------------------------------
140
/**
141    * @exception JmiException If the value cannot be removed for some reason.
142    */

143   public void removePermission (
144     String JavaDoc id
145   );
146 // ----------------------------------------------------------------------------
147
// Instance/IntfReferenceGet1_1NoQualifier
148
// ----------------------------------------------------------------------------
149
/**
150    * Retrieves the value for the reference <code>policy</code>.
151    * @return The non-null value for this reference.
152    * @exception JmiException If the value cannot be retrieved for some reason.
153    */

154   public org.openmdx.security.realm1.cci.Policy getPolicy(
155   );
156
157 // ----------------------------------------------------------------------------
158
// Instance/IntfEnd.vm
159
// ----------------------------------------------------------------------------
160
}
161
Popular Tags