KickJava   Java API By Example, From Geeks To Geeks.

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


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 Resource
16   extends
17  org.opencrx.kernel.depot1.cci.DepotReferenceHolder,
18  org.opencrx.kernel.generic.cci.CrxObject {
19 // ----------------------------------------------------------------------------
20
// Instance/IntfOperation
21
// ----------------------------------------------------------------------------
22

23   public org.opencrx.kernel.activity1.cci.AddWorkRecordResult addWorkRecordByCalendar(
24       org.opencrx.kernel.activity1.cci.ResourceAddWorkRecordByCalendarParams params
25   ) throws javax.jmi.reflect.RefException ;
26
27   /**
28    */

29   public org.opencrx.kernel.activity1.cci.AddWorkRecordResult addWorkRecordByCalendar(
30       org.opencrx.kernel.activity1.cci.Activity activity
31     , String JavaDoc description
32     , org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar endAt
33     , String JavaDoc name
34     , short rateType
35     , org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar startAt
36   ) throws javax.jmi.reflect.RefException ;
37
38 // ----------------------------------------------------------------------------
39
// Instance/IntfOperation
40
// ----------------------------------------------------------------------------
41

42   public org.opencrx.kernel.activity1.cci.AddWorkRecordResult addWorkRecordByDuration(
43       org.opencrx.kernel.activity1.cci.ResourceAddWorkRecordByDurationParams params
44   ) throws javax.jmi.reflect.RefException ;
45
46   /**
47    */

48   public org.opencrx.kernel.activity1.cci.AddWorkRecordResult addWorkRecordByDuration(
49       org.opencrx.kernel.activity1.cci.Activity activity
50     , String JavaDoc description
51     , short durationHours
52     , short durationMinutes
53     , org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar endAt
54     , String JavaDoc name
55     , short rateType
56     , org.openmdx.uses.javax.xml.datatype.XMLGregorianCalendar startAt
57   ) throws javax.jmi.reflect.RefException ;
58
59 // ----------------------------------------------------------------------------
60
// Instance/IntfOperation
61
// ----------------------------------------------------------------------------
62

63   public org.opencrx.kernel.activity1.cci.AddWorkRecordResult addWorkRecordByPeriod(
64       org.opencrx.kernel.activity1.cci.ResourceAddWorkRecordByPeriodParams params
65   ) throws javax.jmi.reflect.RefException ;
66
67   /**
68    */

69   public org.opencrx.kernel.activity1.cci.AddWorkRecordResult addWorkRecordByPeriod(
70       org.opencrx.kernel.activity1.cci.Activity activity
71     , String JavaDoc description
72     , java.util.Date JavaDoc endAt
73     , String JavaDoc name
74     , Short JavaDoc pauseDurationHours
75     , Short JavaDoc pauseDurationMinutes
76     , short rateType
77     , java.util.Date JavaDoc startAt
78   ) throws javax.jmi.reflect.RefException ;
79
80 // ----------------------------------------------------------------------------
81
// Instance/IntfReferenceGet0_1WithQualifier
82
// ----------------------------------------------------------------------------
83
/**
84    * Retrieves the value for the reference <code>assignedActivity</code> for
85    * the specified qualifier attribute value.
86    * @param id The value for the qualifier attribute that qualifies this reference.
87    * @return The possibly null value for this reference.
88    * @exception JmiException If the value cannot be retrieved for some reason.
89    */

90   public org.opencrx.kernel.activity1.cci.Activity getAssignedActivity(
91     String JavaDoc id
92   );
93
94 // ----------------------------------------------------------------------------
95
// Instance/IntfReferenceGet0_nWithFilter
96
// ----------------------------------------------------------------------------
97
/**
98    * Retrieves a collection containing all the elements for the reference
99    * <code>assignedActivity</code>.
100    * @return A collection containing all the elements for this reference.
101    * @exception JmiException If the values cannot be retrieved for some reason.
102    */

103   public java.util.Collection JavaDoc getAssignedActivity(
104   );
105
106   /**
107    * Retrieves the value for the reference <code>assignedActivity</code> for
108    * the specified filter.
109    * @param filter filter which is applied to the set of referenced objects.
110    * @return The filtered collection of referenced objects.
111    * @exception JmiException If the value cannot be retrieved for some reason.
112    */

113   public java.util.List JavaDoc getAssignedActivity(
114     org.opencrx.kernel.activity1.cci.ActivityFilter filter
115   );
116
117 // ----------------------------------------------------------------------------
118
// Instance/IntfReferenceGet0_1NoQualifier
119
// ----------------------------------------------------------------------------
120
/**
121    * Retrieves the value for the optional reference <code>calendar</code>.
122    * @return The possibly null value for this reference.
123    * @exception JmiException If the value cannot be retrieved for some reason.
124    */

125   public org.opencrx.kernel.activity1.cci.Calendar getCalendar(
126   );
127
128 // ----------------------------------------------------------------------------
129
// Instance/IntfReferenceSetNoQualifier
130
// ----------------------------------------------------------------------------
131
/**
132    * Sets a new value for the reference <code>calendar</code>.
133    * @param newValue The non-null new value for this reference.
134    * @exception JmiException If the value cannot be set for some reason.
135    */

136   public void setCalendar(
137     org.opencrx.kernel.activity1.cci.Calendar newValue
138   );
139
140 // ----------------------------------------------------------------------------
141
// Instance/IntfReferenceRemoveOptional
142
// ----------------------------------------------------------------------------
143
/**
144    * Removes the value for the optional reference <code>calendar</code>.
145    * @exception JmiException If the value cannot be removed for some reason.
146    */

147   public void removeCalendar (
148   );
149
150 // ----------------------------------------------------------------------------
151
// Instance/IntfReferenceGet0_1NoQualifier
152
// ----------------------------------------------------------------------------
153
/**
154    * Retrieves the value for the optional reference <code>contact</code>.
155    * @return The possibly null value for this reference.
156    * @exception JmiException If the value cannot be retrieved for some reason.
157    */

158   public org.opencrx.kernel.account1.cci.Contact getContact(
159   );
160
161 // ----------------------------------------------------------------------------
162
// Instance/IntfReferenceSetNoQualifier
163
// ----------------------------------------------------------------------------
164
/**
165    * Sets a new value for the reference <code>contact</code>.
166    * @param newValue The non-null new value for this reference.
167    * @exception JmiException If the value cannot be set for some reason.
168    */

169   public void setContact(
170     org.opencrx.kernel.account1.cci.Contact newValue
171   );
172
173 // ----------------------------------------------------------------------------
174
// Instance/IntfReferenceRemoveOptional
175
// ----------------------------------------------------------------------------
176
/**
177    * Removes the value for the optional reference <code>contact</code>.
178    * @exception JmiException If the value cannot be removed for some reason.
179    */

180   public void removeContact (
181   );
182
183 // ----------------------------------------------------------------------------
184
// Instance/IntfAttributeGet0_1
185
// ----------------------------------------------------------------------------
186
/**
187    * @return The possibly null value for attribute <code>description</code>.
188    * @exception JmiException If the value cannot be retrieved for some reason.
189    */

190   public String JavaDoc getDescription(
191   );
192
193 // ----------------------------------------------------------------------------
194
// Instance/IntfAttributeSet0_1
195
// ----------------------------------------------------------------------------
196

197
198   /**
199    * Sets a new value for the attribute <code>description</code>.
200    * @param newValue The possibly null new value for attribute <code>description</code>.
201    * @exception JmiException If the value cannot be set for some reason.
202    */

203   public void setDescription(
204     String JavaDoc newValue
205   );
206
207 // ----------------------------------------------------------------------------
208
// Instance/IntfAttributeGet1_1
209
// ----------------------------------------------------------------------------
210
/**
211    * Retrieves the value for the attribute <code>name</code>.
212    * @return The non-null value for attribute <code>name</code>.
213    * @exception JmiException If the value cannot be retrieved for some reason.
214    */

215   public String JavaDoc getName(
216   );
217
218 // ----------------------------------------------------------------------------
219
// Instance/IntfAttributeSet1_1
220
// ----------------------------------------------------------------------------
221
/**
222    * Sets a new value for the attribute <code>name</code>.
223    * @param newValue The non-null new value for attribute <code>name</code>.
224    * @exception JmiException If the value cannot be set for some reason.
225    */

226   public void setName(
227     String JavaDoc newValue
228   );
229
230 // ----------------------------------------------------------------------------
231
// Instance/IntfAttributeGet1_1
232
// ----------------------------------------------------------------------------
233
/**
234    * Retrieves the value for the attribute <code>overtimeRate</code>.
235    * @return The non-null value for attribute <code>overtimeRate</code>.
236    * @exception JmiException If the value cannot be retrieved for some reason.
237    */

238   public java.math.BigDecimal JavaDoc getOvertimeRate(
239   );
240
241 // ----------------------------------------------------------------------------
242
// Instance/IntfAttributeSet1_1
243
// ----------------------------------------------------------------------------
244
/**
245    * Sets a new value for the attribute <code>overtimeRate</code>.
246    * @param newValue The non-null new value for attribute <code>overtimeRate</code>.
247    * @exception JmiException If the value cannot be set for some reason.
248    */

249   public void setOvertimeRate(
250     java.math.BigDecimal JavaDoc newValue
251   );
252
253 // ----------------------------------------------------------------------------
254
// Instance/IntfAttributeGet1_1
255
// ----------------------------------------------------------------------------
256
/**
257    * Retrieves the value for the attribute <code>rateCurrency</code>.
258    * @return The non-null value for attribute <code>rateCurrency</code>.
259    * @exception JmiException If the value cannot be retrieved for some reason.
260    */

261   public short getRateCurrency(
262   );
263
264 // ----------------------------------------------------------------------------
265
// Instance/IntfAttributeSet1_1
266
// ----------------------------------------------------------------------------
267
/**
268    * Sets a new value for the attribute <code>rateCurrency</code>.
269    * @param newValue The non-null new value for attribute <code>rateCurrency</code>.
270    * @exception JmiException If the value cannot be set for some reason.
271    */

272   public void setRateCurrency(
273     short newValue
274   );
275
276 // ----------------------------------------------------------------------------
277
// Instance/IntfAttributeGet1_1
278
// ----------------------------------------------------------------------------
279
/**
280    * Retrieves the value for the attribute <code>standardRate</code>.
281    * @return The non-null value for attribute <code>standardRate</code>.
282    * @exception JmiException If the value cannot be retrieved for some reason.
283    */

284   public java.math.BigDecimal JavaDoc getStandardRate(
285   );
286
287 // ----------------------------------------------------------------------------
288
// Instance/IntfAttributeSet1_1
289
// ----------------------------------------------------------------------------
290
/**
291    * Sets a new value for the attribute <code>standardRate</code>.
292    * @param newValue The non-null new value for attribute <code>standardRate</code>.
293    * @exception JmiException If the value cannot be set for some reason.
294    */

295   public void setStandardRate(
296     java.math.BigDecimal JavaDoc newValue
297   );
298
299 // ----------------------------------------------------------------------------
300
// Instance/IntfReferenceGet0_1WithQualifier
301
// ----------------------------------------------------------------------------
302
/**
303    * Retrieves the value for the reference <code>workReportEntry</code> for
304    * the specified qualifier attribute value.
305    * @param id The value for the qualifier attribute that qualifies this reference.
306    * @return The possibly null value for this reference.
307    * @exception JmiException If the value cannot be retrieved for some reason.
308    */

309   public org.opencrx.kernel.activity1.cci.WorkReportEntry getWorkReportEntry(
310     String JavaDoc id
311   );
312
313 // ----------------------------------------------------------------------------
314
// Instance/IntfReferenceGet0_nWithFilter
315
// ----------------------------------------------------------------------------
316
/**
317    * Retrieves a collection containing all the elements for the reference
318    * <code>workReportEntry</code>.
319    * @return A collection containing all the elements for this reference.
320    * @exception JmiException If the values cannot be retrieved for some reason.
321    */

322   public java.util.Collection JavaDoc getWorkReportEntry(
323   );
324
325   /**
326    * Retrieves the value for the reference <code>workReportEntry</code> for
327    * the specified filter.
328    * @param filter filter which is applied to the set of referenced objects.
329    * @return The filtered collection of referenced objects.
330    * @exception JmiException If the value cannot be retrieved for some reason.
331    */

332   public java.util.List JavaDoc getWorkReportEntry(
333     org.opencrx.kernel.activity1.cci.WorkReportEntryFilter filter
334   );
335
336 // ----------------------------------------------------------------------------
337
// Instance/IntfEnd.vm
338
// ----------------------------------------------------------------------------
339
}
340
Popular Tags