KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > contract1 > cci > ContractReferenceHolder


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:00 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.contract1.cci;
14
15 public interface ContractReferenceHolder
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>contract</code> for the
23    * specified qualifier attribute value.
24    * @param index 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.opencrx.kernel.contract1.cci.AbstractContract getContract(
29     int index
30   );
31
32 // ----------------------------------------------------------------------------
33
// Instance/IntfReferenceGet0_nNoFilter
34
// ----------------------------------------------------------------------------
35
/**
36    * Retrieves the objects referenced by <code>contract</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 getContract(
41   );
42
43 // ----------------------------------------------------------------------------
44
// Instance/IntfReferenceAddWithQualifier
45
// ----------------------------------------------------------------------------
46
/**
47    * @param index 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 addContract (
52     int index,
53     org.opencrx.kernel.contract1.cci.AbstractContract 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 addContract (
64     org.opencrx.kernel.contract1.cci.AbstractContract 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 removeContract (
74     int index
75   );
76 // ----------------------------------------------------------------------------
77
// Instance/IntfReferenceGet0_1WithQualifier
78
// ----------------------------------------------------------------------------
79
/**
80    * Retrieves the value for the reference <code>contractRole</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.opencrx.kernel.contract1.cci.ContractRole getContractRole(
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>contractRole</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 getContractRole(
100   );
101
102   /**
103    * Retrieves the value for the reference <code>contractRole</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 getContractRole(
110     org.opencrx.kernel.contract1.cci.ContractRoleFilter filter
111   );
112
113 // ----------------------------------------------------------------------------
114
// Instance/IntfEnd.vm
115
// ----------------------------------------------------------------------------
116
}
117
Popular Tags