KickJava   Java API By Example, From Geeks To Geeks.

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


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 Policy
16   extends org.openmdx.base.accessor.jmi.cci.RefObject_1_0
17  {
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>name</code>.
47    * @return The non-null value for attribute <code>name</code>.
48    * @exception JmiException If the value cannot be retrieved for some reason.
49    */

50   public String JavaDoc getName(
51   );
52
53 // ----------------------------------------------------------------------------
54
// Instance/IntfReferenceGet0_1WithQualifier
55
// ----------------------------------------------------------------------------
56
/**
57    * Retrieves the value for the reference <code>privilege</code> for the
58    * specified qualifier attribute value.
59    * @param id The value for the qualifier attribute that qualifies this reference.
60    * @return The possibly null value for this reference.
61    * @exception JmiException If the value cannot be retrieved for some reason.
62    */

63   public org.openmdx.security.realm1.cci.Privilege getPrivilege(
64     String JavaDoc id
65   );
66
67 // ----------------------------------------------------------------------------
68
// Instance/IntfReferenceGet0_nWithFilter
69
// ----------------------------------------------------------------------------
70
/**
71    * Retrieves a collection containing all the elements for the reference
72    * <code>privilege</code>.
73    * @return A collection containing all the elements for this reference.
74    * @exception JmiException If the values cannot be retrieved for some reason.
75    */

76   public java.util.Collection JavaDoc getPrivilege(
77   );
78
79   /**
80    * Retrieves the value for the reference <code>privilege</code> for the
81    * specified filter.
82    * @param filter filter which is applied to the set of referenced objects.
83    * @return The filtered collection of referenced objects.
84    * @exception JmiException If the value cannot be retrieved for some reason.
85    */

86   public java.util.List JavaDoc getPrivilege(
87     org.openmdx.security.realm1.cci.PrivilegeFilter filter
88   );
89
90 // ----------------------------------------------------------------------------
91
// Instance/IntfReferenceAddWithQualifier
92
// ----------------------------------------------------------------------------
93
/**
94    * @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
95    * @param newValue The element to be appended.
96    * @exception JmiException If the value cannot be appended for some reason.
97    */

98   public void addPrivilege (
99     String JavaDoc id,
100     org.openmdx.security.realm1.cci.Privilege newValue
101   );
102
103 // ----------------------------------------------------------------------------
104
// Instance/IntfReferenceAddWithoutQualifier
105
// ----------------------------------------------------------------------------
106
/**
107    * @param newValue The element to be appended.
108    * @exception JmiException If the value cannot be appended for some reason.
109    */

110   public void addPrivilege (
111     org.openmdx.security.realm1.cci.Privilege newValue
112   );
113
114 // ----------------------------------------------------------------------------
115
// Instance/IntfReferenceRemoveWithQualifier
116
// ----------------------------------------------------------------------------
117
/**
118    * @exception JmiException If the value cannot be removed for some reason.
119    */

120   public void removePrivilege (
121     String JavaDoc id
122   );
123 // ----------------------------------------------------------------------------
124
// Instance/IntfReferenceGet0_1WithQualifier
125
// ----------------------------------------------------------------------------
126
/**
127    * Retrieves the value for the reference <code>role</code> for the
128    * specified qualifier attribute value.
129    * @param name The value for the qualifier attribute that qualifies this reference.
130    * @return The possibly null value for this reference.
131    * @exception JmiException If the value cannot be retrieved for some reason.
132    */

133   public org.openmdx.security.realm1.cci.Role getRole(
134     String JavaDoc name
135   );
136
137 // ----------------------------------------------------------------------------
138
// Instance/IntfReferenceGet0_nWithFilter
139
// ----------------------------------------------------------------------------
140
/**
141    * Retrieves a collection containing all the elements for the reference
142    * <code>role</code>.
143    * @return A collection containing all the elements for this reference.
144    * @exception JmiException If the values cannot be retrieved for some reason.
145    */

146   public java.util.Collection JavaDoc getRole(
147   );
148
149   /**
150    * Retrieves the value for the reference <code>role</code> for the
151    * specified filter.
152    * @param filter filter which is applied to the set of referenced objects.
153    * @return The filtered collection of referenced objects.
154    * @exception JmiException If the value cannot be retrieved for some reason.
155    */

156   public java.util.List JavaDoc getRole(
157     org.openmdx.security.realm1.cci.RoleFilter filter
158   );
159
160 // ----------------------------------------------------------------------------
161
// Instance/IntfReferenceAddWithQualifier
162
// ----------------------------------------------------------------------------
163
/**
164    * @param name The qualifier attribute value that qualifies the reference to get the element to be appended.
165    * @param newValue The element to be appended.
166    * @exception JmiException If the value cannot be appended for some reason.
167    */

168   public void addRole (
169     String JavaDoc name,
170     org.openmdx.security.realm1.cci.Role newValue
171   );
172
173 // ----------------------------------------------------------------------------
174
// Instance/IntfReferenceAddWithoutQualifier
175
// ----------------------------------------------------------------------------
176
/**
177    * @param newValue The element to be appended.
178    * @exception JmiException If the value cannot be appended for some reason.
179    */

180   public void addRole (
181     org.openmdx.security.realm1.cci.Role newValue
182   );
183
184 // ----------------------------------------------------------------------------
185
// Instance/IntfReferenceRemoveWithQualifier
186
// ----------------------------------------------------------------------------
187
/**
188    * @exception JmiException If the value cannot be removed for some reason.
189    */

190   public void removeRole (
191     String JavaDoc name
192   );
193 // ----------------------------------------------------------------------------
194
// Instance/IntfEnd.vm
195
// ----------------------------------------------------------------------------
196
}
197
Popular Tags