KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > activity1 > cci > ResourceAssignment


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:03 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.activity1.cci;
14
15 public interface ResourceAssignment
16   extends
17  org.opencrx.kernel.base.cci.SecureObject,
18  org.openmdx.base.cci.BasicObject {
19 // ----------------------------------------------------------------------------
20
// Instance/IntfReferenceGet0_1NoQualifier
21
// ----------------------------------------------------------------------------
22
/**
23    * Retrieves the value for the optional reference <code>calendar</code>.
24    * @return The possibly null value for this reference.
25    * @exception JmiException If the value cannot be retrieved for some reason.
26    */

27   public org.opencrx.kernel.activity1.cci.Calendar getCalendar(
28   );
29
30 // ----------------------------------------------------------------------------
31
// Instance/IntfReferenceSetNoQualifier
32
// ----------------------------------------------------------------------------
33
/**
34    * Sets a new value for the reference <code>calendar</code>.
35    * @param newValue The non-null new value for this reference.
36    * @exception JmiException If the value cannot be set for some reason.
37    */

38   public void setCalendar(
39     org.opencrx.kernel.activity1.cci.Calendar newValue
40   );
41
42 // ----------------------------------------------------------------------------
43
// Instance/IntfReferenceRemoveOptional
44
// ----------------------------------------------------------------------------
45
/**
46    * Removes the value for the optional reference <code>calendar</code>.
47    * @exception JmiException If the value cannot be removed for some reason.
48    */

49   public void removeCalendar (
50   );
51
52 // ----------------------------------------------------------------------------
53
// Instance/IntfAttributeGet0_1
54
// ----------------------------------------------------------------------------
55
/**
56    * @return The possibly null value for attribute <code>description</code>.
57    * @exception JmiException If the value cannot be retrieved for some reason.
58    */

59   public String JavaDoc getDescription(
60   );
61
62 // ----------------------------------------------------------------------------
63
// Instance/IntfAttributeSet0_1
64
// ----------------------------------------------------------------------------
65

66
67   /**
68    * Sets a new value for the attribute <code>description</code>.
69    * @param newValue The possibly null new value for attribute <code>description</code>.
70    * @exception JmiException If the value cannot be set for some reason.
71    */

72   public void setDescription(
73     String JavaDoc newValue
74   );
75
76 // ----------------------------------------------------------------------------
77
// Instance/IntfAttributeGet1_1
78
// ----------------------------------------------------------------------------
79
/**
80    * Retrieves the value for the attribute <code>name</code>.
81    * @return The non-null value for attribute <code>name</code>.
82    * @exception JmiException If the value cannot be retrieved for some reason.
83    */

84   public String JavaDoc getName(
85   );
86
87 // ----------------------------------------------------------------------------
88
// Instance/IntfAttributeSet1_1
89
// ----------------------------------------------------------------------------
90
/**
91    * Sets a new value for the attribute <code>name</code>.
92    * @param newValue The non-null new value for attribute <code>name</code>.
93    * @exception JmiException If the value cannot be set for some reason.
94    */

95   public void setName(
96     String JavaDoc newValue
97   );
98
99 // ----------------------------------------------------------------------------
100
// Instance/IntfReferenceGet0_1NoQualifier
101
// ----------------------------------------------------------------------------
102
/**
103    * Retrieves the value for the optional reference <code>resource</code>.
104    * @return The possibly null value for this reference.
105    * @exception JmiException If the value cannot be retrieved for some reason.
106    */

107   public org.opencrx.kernel.activity1.cci.Resource getResource(
108   );
109
110 // ----------------------------------------------------------------------------
111
// Instance/IntfReferenceSetNoQualifier
112
// ----------------------------------------------------------------------------
113
/**
114    * Sets a new value for the reference <code>resource</code>.
115    * @param newValue The non-null new value for this reference.
116    * @exception JmiException If the value cannot be set for some reason.
117    */

118   public void setResource(
119     org.opencrx.kernel.activity1.cci.Resource newValue
120   );
121
122 // ----------------------------------------------------------------------------
123
// Instance/IntfReferenceRemoveOptional
124
// ----------------------------------------------------------------------------
125
/**
126    * Removes the value for the optional reference <code>resource</code>.
127    * @exception JmiException If the value cannot be removed for some reason.
128    */

129   public void removeResource (
130   );
131
132 // ----------------------------------------------------------------------------
133
// Instance/IntfAttributeGet0_1
134
// ----------------------------------------------------------------------------
135
/**
136    * @return The possibly null value for attribute <code>resourceOrder</code>.
137    * @exception JmiException If the value cannot be retrieved for some reason.
138    */

139   public Short JavaDoc getResourceOrder(
140   );
141
142 // ----------------------------------------------------------------------------
143
// Instance/IntfAttributeSet0_1
144
// ----------------------------------------------------------------------------
145

146
147   /**
148    * Sets a new value for the attribute <code>resourceOrder</code>.
149    * @param newValue The possibly null new value for attribute <code>resourceOrder</code>.
150    * @exception JmiException If the value cannot be set for some reason.
151    */

152   public void setResourceOrder(
153     Short JavaDoc newValue
154   );
155
156 // ----------------------------------------------------------------------------
157
// Instance/IntfAttributeGet1_1
158
// ----------------------------------------------------------------------------
159
/**
160    * Retrieves the value for the attribute <code>resourceRole</code>.
161    * @return The non-null value for attribute <code>resourceRole</code>.
162    * @exception JmiException If the value cannot be retrieved for some reason.
163    */

164   public short getResourceRole(
165   );
166
167 // ----------------------------------------------------------------------------
168
// Instance/IntfAttributeSet1_1
169
// ----------------------------------------------------------------------------
170
/**
171    * Sets a new value for the attribute <code>resourceRole</code>.
172    * @param newValue The non-null new value for attribute <code>resourceRole</code>.
173    * @exception JmiException If the value cannot be set for some reason.
174    */

175   public void setResourceRole(
176     short newValue
177   );
178
179 // ----------------------------------------------------------------------------
180
// Instance/IntfAttributeGet0_1
181
// ----------------------------------------------------------------------------
182
/**
183    * @return The possibly null value for attribute <code>workDurationPercentage</code>.
184    * @exception JmiException If the value cannot be retrieved for some reason.
185    */

186   public Short JavaDoc getWorkDurationPercentage(
187   );
188
189 // ----------------------------------------------------------------------------
190
// Instance/IntfAttributeSet0_1
191
// ----------------------------------------------------------------------------
192

193
194   /**
195    * Sets a new value for the attribute <code>workDurationPercentage</code>.
196    * @param newValue The possibly null new value for attribute <code>workDurationPercentage</code>.
197    * @exception JmiException If the value cannot be set for some reason.
198    */

199   public void setWorkDurationPercentage(
200     Short JavaDoc newValue
201   );
202
203 // ----------------------------------------------------------------------------
204
// Instance/IntfReferenceGet0_1WithQualifier
205
// ----------------------------------------------------------------------------
206
/**
207    * Retrieves the value for the reference <code>workRecord</code> for the
208    * specified qualifier attribute value.
209    * @param id The value for the qualifier attribute that qualifies this reference.
210    * @return The possibly null value for this reference.
211    * @exception JmiException If the value cannot be retrieved for some reason.
212    */

213   public org.opencrx.kernel.activity1.cci.ActivityWorkRecord getWorkRecord(
214     String JavaDoc id
215   );
216
217 // ----------------------------------------------------------------------------
218
// Instance/IntfReferenceGet0_nWithFilter
219
// ----------------------------------------------------------------------------
220
/**
221    * Retrieves a collection containing all the elements for the reference
222    * <code>workRecord</code>.
223    * @return A collection containing all the elements for this reference.
224    * @exception JmiException If the values cannot be retrieved for some reason.
225    */

226   public java.util.Collection JavaDoc getWorkRecord(
227   );
228
229   /**
230    * Retrieves the value for the reference <code>workRecord</code> for the
231    * specified filter.
232    * @param filter filter which is applied to the set of referenced objects.
233    * @return The filtered collection of referenced objects.
234    * @exception JmiException If the value cannot be retrieved for some reason.
235    */

236   public java.util.List JavaDoc getWorkRecord(
237     org.opencrx.kernel.activity1.cci.ActivityWorkRecordFilter filter
238   );
239
240 // ----------------------------------------------------------------------------
241
// Instance/IntfReferenceAddWithQualifier
242
// ----------------------------------------------------------------------------
243
/**
244    * @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
245    * @param newValue The element to be appended.
246    * @exception JmiException If the value cannot be appended for some reason.
247    */

248   public void addWorkRecord (
249     String JavaDoc id,
250     org.opencrx.kernel.activity1.cci.ActivityWorkRecord newValue
251   );
252
253 // ----------------------------------------------------------------------------
254
// Instance/IntfReferenceAddWithoutQualifier
255
// ----------------------------------------------------------------------------
256
/**
257    * @param newValue The element to be appended.
258    * @exception JmiException If the value cannot be appended for some reason.
259    */

260   public void addWorkRecord (
261     org.opencrx.kernel.activity1.cci.ActivityWorkRecord newValue
262   );
263
264 // ----------------------------------------------------------------------------
265
// Instance/IntfReferenceRemoveWithQualifier
266
// ----------------------------------------------------------------------------
267
/**
268    * @exception JmiException If the value cannot be removed for some reason.
269    */

270   public void removeWorkRecord (
271     String JavaDoc id
272   );
273 // ----------------------------------------------------------------------------
274
// Instance/IntfEnd.vm
275
// ----------------------------------------------------------------------------
276
}
277
Popular Tags