KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openmdx > security > authorization1 > cci > Segment


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:02 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.openmdx.security.authorization1.cci;
14
15 public interface Segment
16   extends
17  org.openmdx.base.cci.Segment {
18 // ----------------------------------------------------------------------------
19
// Instance/IntfReferenceGet0_1WithQualifier
20
// ----------------------------------------------------------------------------
21
/**
22    * Retrieves the value for the reference <code>policy</code> for the
23    * specified qualifier attribute value.
24    * @param id The value for the qualifier attribute that qualifies this reference.
25    * @return The possibly null value for this reference.
26    * @exception JmiException If the value cannot be retrieved for some reason.
27    */

28   public org.openmdx.security.authorization1.cci.Policy getPolicy(
29     String JavaDoc id
30   );
31
32 // ----------------------------------------------------------------------------
33
// Instance/IntfReferenceGet0_nWithFilter
34
// ----------------------------------------------------------------------------
35
/**
36    * Retrieves a collection containing all the elements for the reference
37    * <code>policy</code>.
38    * @return A collection containing all the elements for this reference.
39    * @exception JmiException If the values cannot be retrieved for some reason.
40    */

41   public java.util.Collection JavaDoc getPolicy(
42   );
43
44   /**
45    * Retrieves the value for the reference <code>policy</code> for the
46    * specified filter.
47    * @param filter filter which is applied to the set of referenced objects.
48    * @return The filtered collection of referenced objects.
49    * @exception JmiException If the value cannot be retrieved for some reason.
50    */

51   public java.util.List JavaDoc getPolicy(
52     org.openmdx.security.authorization1.cci.PolicyFilter filter
53   );
54
55 // ----------------------------------------------------------------------------
56
// Instance/IntfReferenceAddWithQualifier
57
// ----------------------------------------------------------------------------
58
/**
59    * @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
60    * @param newValue The element to be appended.
61    * @exception JmiException If the value cannot be appended for some reason.
62    */

63   public void addPolicy (
64     String JavaDoc id,
65     org.openmdx.security.authorization1.cci.Policy newValue
66   );
67
68 // ----------------------------------------------------------------------------
69
// Instance/IntfReferenceAddWithoutQualifier
70
// ----------------------------------------------------------------------------
71
/**
72    * @param newValue The element to be appended.
73    * @exception JmiException If the value cannot be appended for some reason.
74    */

75   public void addPolicy (
76     org.openmdx.security.authorization1.cci.Policy newValue
77   );
78
79 // ----------------------------------------------------------------------------
80
// Instance/IntfReferenceRemoveWithQualifier
81
// ----------------------------------------------------------------------------
82
/**
83    * @exception JmiException If the value cannot be removed for some reason.
84    */

85   public void removePolicy (
86     String JavaDoc id
87   );
88 // ----------------------------------------------------------------------------
89
// Instance/IntfEnd.vm
90
// ----------------------------------------------------------------------------
91
}
92
Popular Tags