KickJava   Java API By Example, From Geeks To Geeks.

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


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:04 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.activity1.cci;
14
15 public interface ActivityCreator
16   extends
17  org.opencrx.kernel.depot1.cci.DepotReferenceHolder,
18  org.opencrx.kernel.generic.cci.CrxObject {
19 // ----------------------------------------------------------------------------
20
// Instance/IntfReferenceGet0_1WithQualifier
21
// ----------------------------------------------------------------------------
22
/**
23    * Retrieves the value for the reference <code>activityGroup</code> for
24    * the specified qualifier attribute value.
25    * @param index The value for the qualifier attribute that qualifies this reference.
26    * @return The possibly null value for this reference.
27    * @exception JmiException If the value cannot be retrieved for some reason.
28    */

29   public org.opencrx.kernel.activity1.cci.ActivityGroup getActivityGroup(
30     int index
31   );
32
33 // ----------------------------------------------------------------------------
34
// Instance/IntfReferenceGet0_nNoFilter
35
// ----------------------------------------------------------------------------
36
/**
37    * Retrieves the objects referenced by <code>activityGroup</code>.
38    * @return The collection of referenced objects.
39    * @exception JmiException If the value cannot be retrieved for some reason.
40    */

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

52   public void addActivityGroup (
53     int index,
54     org.opencrx.kernel.activity1.cci.ActivityGroup newValue
55   );
56
57 // ----------------------------------------------------------------------------
58
// Instance/IntfReferenceAddWithoutQualifier
59
// ----------------------------------------------------------------------------
60
/**
61    * @param newValue The element to be appended.
62    * @exception JmiException If the value cannot be appended for some reason.
63    */

64   public void addActivityGroup (
65     org.opencrx.kernel.activity1.cci.ActivityGroup newValue
66   );
67
68 // ----------------------------------------------------------------------------
69
// Instance/IntfReferenceRemoveWithQualifier
70
// ----------------------------------------------------------------------------
71
/**
72    * @exception JmiException If the value cannot be removed for some reason.
73    */

74   public void removeActivityGroup (
75     int index
76   );
77 // ----------------------------------------------------------------------------
78
// Instance/IntfReferenceGet0_1NoQualifier
79
// ----------------------------------------------------------------------------
80
/**
81    * Retrieves the value for the optional reference <code>activityType</code>.
82    * @return The possibly null value for this reference.
83    * @exception JmiException If the value cannot be retrieved for some reason.
84    */

85   public org.opencrx.kernel.activity1.cci.ActivityType getActivityType(
86   );
87
88 // ----------------------------------------------------------------------------
89
// Instance/IntfReferenceSetNoQualifier
90
// ----------------------------------------------------------------------------
91
/**
92    * Sets a new value for the reference <code>activityType</code>.
93    * @param newValue The non-null new value for this reference.
94    * @exception JmiException If the value cannot be set for some reason.
95    */

96   public void setActivityType(
97     org.opencrx.kernel.activity1.cci.ActivityType newValue
98   );
99
100 // ----------------------------------------------------------------------------
101
// Instance/IntfReferenceRemoveOptional
102
// ----------------------------------------------------------------------------
103
/**
104    * Removes the value for the optional reference <code>activityType</code>.
105    * @exception JmiException If the value cannot be removed for some reason.
106    */

107   public void removeActivityType (
108   );
109
110 // ----------------------------------------------------------------------------
111
// Instance/IntfAttributeGet0_1
112
// ----------------------------------------------------------------------------
113
/**
114    * @return The possibly null value for attribute <code>baseDate</code>.
115    * @exception JmiException If the value cannot be retrieved for some reason.
116    */

117   public java.util.Date JavaDoc getBaseDate(
118   );
119
120 // ----------------------------------------------------------------------------
121
// Instance/IntfAttributeSet0_1
122
// ----------------------------------------------------------------------------
123

124
125   /**
126    * Sets a new value for the attribute <code>baseDate</code>.
127    * @param newValue The possibly null new value for attribute <code>baseDate</code>.
128    * @exception JmiException If the value cannot be set for some reason.
129    */

130   public void setBaseDate(
131     java.util.Date JavaDoc newValue
132   );
133
134 // ----------------------------------------------------------------------------
135
// Instance/IntfAttributeGet0_1
136
// ----------------------------------------------------------------------------
137
/**
138    * @return The possibly null value for attribute <code>description</code>.
139    * @exception JmiException If the value cannot be retrieved for some reason.
140    */

141   public String JavaDoc getDescription(
142   );
143
144 // ----------------------------------------------------------------------------
145
// Instance/IntfAttributeSet0_1
146
// ----------------------------------------------------------------------------
147

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

154   public void setDescription(
155     String JavaDoc newValue
156   );
157
158 // ----------------------------------------------------------------------------
159
// Instance/IntfAttributeGet0_1
160
// ----------------------------------------------------------------------------
161
/**
162    * @return The possibly null value for attribute <code>dueBy</code>.
163    * @exception JmiException If the value cannot be retrieved for some reason.
164    */

165   public java.util.Date JavaDoc getDueBy(
166   );
167
168 // ----------------------------------------------------------------------------
169
// Instance/IntfAttributeSet0_1
170
// ----------------------------------------------------------------------------
171

172
173   /**
174    * Sets a new value for the attribute <code>dueBy</code>.
175    * @param newValue The possibly null new value for attribute <code>dueBy</code>.
176    * @exception JmiException If the value cannot be set for some reason.
177    */

178   public void setDueBy(
179     java.util.Date JavaDoc newValue
180   );
181
182 // ----------------------------------------------------------------------------
183
// Instance/IntfAttributeGet1_1
184
// ----------------------------------------------------------------------------
185
/**
186    * Retrieves the value for the attribute <code>name</code>.
187    * @return The non-null value for attribute <code>name</code>.
188    * @exception JmiException If the value cannot be retrieved for some reason.
189    */

190   public String JavaDoc getName(
191   );
192
193 // ----------------------------------------------------------------------------
194
// Instance/IntfAttributeSet1_1
195
// ----------------------------------------------------------------------------
196
/**
197    * Sets a new value for the attribute <code>name</code>.
198    * @param newValue The non-null new value for attribute <code>name</code>.
199    * @exception JmiException If the value cannot be set for some reason.
200    */

201   public void setName(
202     String JavaDoc newValue
203   );
204
205 // ----------------------------------------------------------------------------
206
// Instance/IntfOperation
207
// ----------------------------------------------------------------------------
208

209   public org.opencrx.kernel.activity1.cci.NewActivityResult newActivity(
210       org.opencrx.kernel.activity1.cci.NewActivityParams params
211   ) throws javax.jmi.reflect.RefException ;
212
213   /**
214    */

215   public org.opencrx.kernel.activity1.cci.NewActivityResult newActivity(
216       String JavaDoc description
217     , String JavaDoc detailedDescription
218     , java.util.Date JavaDoc dueBy
219     , String JavaDoc name
220     , short priority
221     , org.opencrx.kernel.account1.cci.Contact reportingContact
222     , java.util.Date JavaDoc scheduledEnd
223     , java.util.Date JavaDoc scheduledStart
224   ) throws javax.jmi.reflect.RefException ;
225
226 // ----------------------------------------------------------------------------
227
// Instance/IntfAttributeGet1_1
228
// ----------------------------------------------------------------------------
229
/**
230    * Retrieves the value for the attribute <code>priority</code>.
231    * @return The non-null value for attribute <code>priority</code>.
232    * @exception JmiException If the value cannot be retrieved for some reason.
233    */

234   public short getPriority(
235   );
236
237 // ----------------------------------------------------------------------------
238
// Instance/IntfAttributeSet1_1
239
// ----------------------------------------------------------------------------
240
/**
241    * Sets a new value for the attribute <code>priority</code>.
242    * @param newValue The non-null new value for attribute <code>priority</code>.
243    * @exception JmiException If the value cannot be set for some reason.
244    */

245   public void setPriority(
246     short newValue
247   );
248
249 // ----------------------------------------------------------------------------
250
// Instance/IntfReferenceGet0_1WithQualifier
251
// ----------------------------------------------------------------------------
252
/**
253    * Retrieves the value for the reference <code>resource</code> for the
254    * specified qualifier attribute value.
255    * @param index The value for the qualifier attribute that qualifies this reference.
256    * @return The possibly null value for this reference.
257    * @exception JmiException If the value cannot be retrieved for some reason.
258    */

259   public org.opencrx.kernel.activity1.cci.Resource getResource(
260     int index
261   );
262
263 // ----------------------------------------------------------------------------
264
// Instance/IntfReferenceGet0_nNoFilter
265
// ----------------------------------------------------------------------------
266
/**
267    * Retrieves the objects referenced by <code>resource</code>.
268    * @return The collection of referenced objects.
269    * @exception JmiException If the value cannot be retrieved for some reason.
270    */

271   public java.util.Collection JavaDoc getResource(
272   );
273
274 // ----------------------------------------------------------------------------
275
// Instance/IntfReferenceAddWithQualifier
276
// ----------------------------------------------------------------------------
277
/**
278    * @param index The qualifier attribute value that qualifies the reference to get the element to be appended.
279    * @param newValue The element to be appended.
280    * @exception JmiException If the value cannot be appended for some reason.
281    */

282   public void addResource (
283     int index,
284     org.opencrx.kernel.activity1.cci.Resource newValue
285   );
286
287 // ----------------------------------------------------------------------------
288
// Instance/IntfReferenceAddWithoutQualifier
289
// ----------------------------------------------------------------------------
290
/**
291    * @param newValue The element to be appended.
292    * @exception JmiException If the value cannot be appended for some reason.
293    */

294   public void addResource (
295     org.opencrx.kernel.activity1.cci.Resource newValue
296   );
297
298 // ----------------------------------------------------------------------------
299
// Instance/IntfReferenceRemoveWithQualifier
300
// ----------------------------------------------------------------------------
301
/**
302    * @exception JmiException If the value cannot be removed for some reason.
303    */

304   public void removeResource (
305     int index
306   );
307 // ----------------------------------------------------------------------------
308
// Instance/IntfAttributeGet0_1
309
// ----------------------------------------------------------------------------
310
/**
311    * @return The possibly null value for attribute <code>scheduledEnd</code>.
312    * @exception JmiException If the value cannot be retrieved for some reason.
313    */

314   public java.util.Date JavaDoc getScheduledEnd(
315   );
316
317 // ----------------------------------------------------------------------------
318
// Instance/IntfAttributeSet0_1
319
// ----------------------------------------------------------------------------
320

321
322   /**
323    * Sets a new value for the attribute <code>scheduledEnd</code>.
324    * @param newValue The possibly null new value for attribute <code>scheduledEnd</code>.
325    * @exception JmiException If the value cannot be set for some reason.
326    */

327   public void setScheduledEnd(
328     java.util.Date JavaDoc newValue
329   );
330
331 // ----------------------------------------------------------------------------
332
// Instance/IntfAttributeGet0_1
333
// ----------------------------------------------------------------------------
334
/**
335    * @return The possibly null value for attribute <code>scheduledStart</code>.
336    * @exception JmiException If the value cannot be retrieved for some reason.
337    */

338   public java.util.Date JavaDoc getScheduledStart(
339   );
340
341 // ----------------------------------------------------------------------------
342
// Instance/IntfAttributeSet0_1
343
// ----------------------------------------------------------------------------
344

345
346   /**
347    * Sets a new value for the attribute <code>scheduledStart</code>.
348    * @param newValue The possibly null new value for attribute <code>scheduledStart</code>.
349    * @exception JmiException If the value cannot be set for some reason.
350    */

351   public void setScheduledStart(
352     java.util.Date JavaDoc newValue
353   );
354
355 // ----------------------------------------------------------------------------
356
// Instance/IntfEnd.vm
357
// ----------------------------------------------------------------------------
358
}
359
Popular Tags