KickJava   Java API By Example, From Geeks To Geeks.

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


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:07 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.openmdx.base.cci;
14
15 public interface RoleCapable
16   extends org.openmdx.base.accessor.jmi.cci.RefObject_1_0
17  {
18 // ----------------------------------------------------------------------------
19
// Instance/IntfReferenceGet0_1WithQualifier
20
// ----------------------------------------------------------------------------
21
/**
22    * Retrieves the value for the reference <code>role</code> for the
23    * specified qualifier attribute value.
24    * @param roleId 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.base.cci.RoleCapable getRole(
29     String JavaDoc roleId
30   );
31
32 // ----------------------------------------------------------------------------
33
// Instance/IntfReferenceGet0_nNoFilter
34
// ----------------------------------------------------------------------------
35
/**
36    * Retrieves the objects referenced by <code>role</code>.
37    * @return The collection of referenced objects.
38    * @exception JmiException If the value cannot be retrieved for some reason.
39    */

40   public java.util.Collection JavaDoc getRole(
41   );
42
43 // ----------------------------------------------------------------------------
44
// Instance/IntfReferenceAddWithQualifier
45
// ----------------------------------------------------------------------------
46
/**
47    * @param roleId The qualifier attribute value that qualifies the reference to get the element to be appended.
48    * @param newValue The element to be appended.
49    * @exception JmiException If the value cannot be appended for some reason.
50    */

51   public void addRole (
52     String JavaDoc roleId,
53     org.openmdx.base.cci.RoleCapable newValue
54   );
55
56 // ----------------------------------------------------------------------------
57
// Instance/IntfReferenceAddWithoutQualifier
58
// ----------------------------------------------------------------------------
59
/**
60    * @param newValue The element to be appended.
61    * @exception JmiException If the value cannot be appended for some reason.
62    */

63   public void addRole (
64     org.openmdx.base.cci.RoleCapable newValue
65   );
66
67 // ----------------------------------------------------------------------------
68
// Instance/IntfReferenceRemoveWithQualifier
69
// ----------------------------------------------------------------------------
70
/**
71    * @exception JmiException If the value cannot be removed for some reason.
72    */

73   public void removeRole (
74     String JavaDoc roleId
75   );
76 // ----------------------------------------------------------------------------
77
// Instance/IntfAttributeGet0_1
78
// ----------------------------------------------------------------------------
79
/**
80    * @return The possibly null value for attribute <code>roleId</code>.
81    * @exception JmiException If the value cannot be retrieved for some reason.
82    */

83   public String JavaDoc getRoleId(
84   );
85
86 // ----------------------------------------------------------------------------
87
// Instance/IntfEnd.vm
88
// ----------------------------------------------------------------------------
89
}
90
Popular Tags