KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > product1 > cci > AbstractProduct


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:38:52 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.product1.cci;
14
15 public interface AbstractProduct
16   extends
17  org.opencrx.kernel.generic.cci.CrxObject {
18 // ----------------------------------------------------------------------------
19
// Instance/IntfReferenceGet0_1WithQualifier
20
// ----------------------------------------------------------------------------
21
/**
22    * Retrieves the value for the reference <code>basePrice</code> for the
23    * specified qualifier attribute value.
24    * @param id 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.product1.cci.ProductBasePrice getBasePrice(
29     String JavaDoc id
30   );
31
32 // ----------------------------------------------------------------------------
33
// Instance/IntfReferenceGet0_nWithFilter
34
// ----------------------------------------------------------------------------
35
/**
36    * Retrieves a collection containing all the elements for the reference
37    * <code>basePrice</code>.
38    * @return A collection containing all the elements for this reference.
39    * @exception JmiException If the values cannot be retrieved for some reason.
40    */

41   public java.util.Collection JavaDoc getBasePrice(
42   );
43
44   /**
45    * Retrieves the value for the reference <code>basePrice</code> for the
46    * specified filter.
47    * @param filter filter which is applied to the set of referenced objects.
48    * @return The filtered collection of referenced objects.
49    * @exception JmiException If the value cannot be retrieved for some reason.
50    */

51   public java.util.List JavaDoc getBasePrice(
52     org.opencrx.kernel.product1.cci.ProductBasePriceFilter filter
53   );
54
55 // ----------------------------------------------------------------------------
56
// Instance/IntfReferenceAddWithQualifier
57
// ----------------------------------------------------------------------------
58
/**
59    * @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
60    * @param newValue The element to be appended.
61    * @exception JmiException If the value cannot be appended for some reason.
62    */

63   public void addBasePrice (
64     String JavaDoc id,
65     org.opencrx.kernel.product1.cci.ProductBasePrice newValue
66   );
67
68 // ----------------------------------------------------------------------------
69
// Instance/IntfReferenceAddWithoutQualifier
70
// ----------------------------------------------------------------------------
71
/**
72    * @param newValue The element to be appended.
73    * @exception JmiException If the value cannot be appended for some reason.
74    */

75   public void addBasePrice (
76     org.opencrx.kernel.product1.cci.ProductBasePrice newValue
77   );
78
79 // ----------------------------------------------------------------------------
80
// Instance/IntfReferenceRemoveWithQualifier
81
// ----------------------------------------------------------------------------
82
/**
83    * @exception JmiException If the value cannot be removed for some reason.
84    */

85   public void removeBasePrice (
86     String JavaDoc id
87   );
88 // ----------------------------------------------------------------------------
89
// Instance/IntfReferenceGet0_1NoQualifier
90
// ----------------------------------------------------------------------------
91
/**
92    * Retrieves the value for the optional reference <code>competitor</code>.
93    * @return The possibly null value for this reference.
94    * @exception JmiException If the value cannot be retrieved for some reason.
95    */

96   public org.opencrx.kernel.account1.cci.Competitor getCompetitor(
97   );
98
99 // ----------------------------------------------------------------------------
100
// Instance/IntfReferenceSetNoQualifier
101
// ----------------------------------------------------------------------------
102
/**
103    * Sets a new value for the reference <code>competitor</code>.
104    * @param newValue The non-null new value for this reference.
105    * @exception JmiException If the value cannot be set for some reason.
106    */

107   public void setCompetitor(
108     org.opencrx.kernel.account1.cci.Competitor newValue
109   );
110
111 // ----------------------------------------------------------------------------
112
// Instance/IntfReferenceRemoveOptional
113
// ----------------------------------------------------------------------------
114
/**
115    * Removes the value for the optional reference <code>competitor</code>.
116    * @exception JmiException If the value cannot be removed for some reason.
117    */

118   public void removeCompetitor (
119   );
120
121 // ----------------------------------------------------------------------------
122
// Instance/IntfReferenceGet0_1NoQualifier
123
// ----------------------------------------------------------------------------
124
/**
125    * Retrieves the value for the optional reference <code>defaultPriceLevel</code>.
126    * @return The possibly null value for this reference.
127    * @exception JmiException If the value cannot be retrieved for some reason.
128    */

129   public org.opencrx.kernel.product1.cci.PriceLevel getDefaultPriceLevel(
130   );
131
132 // ----------------------------------------------------------------------------
133
// Instance/IntfReferenceSetNoQualifier
134
// ----------------------------------------------------------------------------
135
/**
136    * Sets a new value for the reference <code>defaultPriceLevel</code>.
137    * @param newValue The non-null new value for this reference.
138    * @exception JmiException If the value cannot be set for some reason.
139    */

140   public void setDefaultPriceLevel(
141     org.opencrx.kernel.product1.cci.PriceLevel newValue
142   );
143
144 // ----------------------------------------------------------------------------
145
// Instance/IntfReferenceRemoveOptional
146
// ----------------------------------------------------------------------------
147
/**
148    * Removes the value for the optional reference <code>defaultPriceLevel</code>.
149    * @exception JmiException If the value cannot be removed for some reason.
150    */

151   public void removeDefaultPriceLevel (
152   );
153
154 // ----------------------------------------------------------------------------
155
// Instance/IntfReferenceGet0_1NoQualifier
156
// ----------------------------------------------------------------------------
157
/**
158    * Retrieves the value for the optional reference <code>defaultUom</code>.
159    * @return The possibly null value for this reference.
160    * @exception JmiException If the value cannot be retrieved for some reason.
161    */

162   public org.opencrx.kernel.uom1.cci.Uom getDefaultUom(
163   );
164
165 // ----------------------------------------------------------------------------
166
// Instance/IntfReferenceSetNoQualifier
167
// ----------------------------------------------------------------------------
168
/**
169    * Sets a new value for the reference <code>defaultUom</code>.
170    * @param newValue The non-null new value for this reference.
171    * @exception JmiException If the value cannot be set for some reason.
172    */

173   public void setDefaultUom(
174     org.opencrx.kernel.uom1.cci.Uom newValue
175   );
176
177 // ----------------------------------------------------------------------------
178
// Instance/IntfReferenceRemoveOptional
179
// ----------------------------------------------------------------------------
180
/**
181    * Removes the value for the optional reference <code>defaultUom</code>.
182    * @exception JmiException If the value cannot be removed for some reason.
183    */

184   public void removeDefaultUom (
185   );
186
187 // ----------------------------------------------------------------------------
188
// Instance/IntfAttributeGet0_1
189
// ----------------------------------------------------------------------------
190
/**
191    * @return The possibly null value for attribute <code>description</code>.
192    * @exception JmiException If the value cannot be retrieved for some reason.
193    */

194   public String JavaDoc getDescription(
195   );
196
197 // ----------------------------------------------------------------------------
198
// Instance/IntfAttributeSet0_1
199
// ----------------------------------------------------------------------------
200

201
202   /**
203    * Sets a new value for the attribute <code>description</code>.
204    * @param newValue The possibly null new value for attribute <code>description</code>.
205    * @exception JmiException If the value cannot be set for some reason.
206    */

207   public void setDescription(
208     String JavaDoc newValue
209   );
210
211 // ----------------------------------------------------------------------------
212
// Instance/IntfAttributeGet0_1
213
// ----------------------------------------------------------------------------
214
/**
215    * @return The possibly null value for attribute <code>detailedDescription</code>.
216    * @exception JmiException If the value cannot be retrieved for some reason.
217    */

218   public String JavaDoc getDetailedDescription(
219   );
220
221 // ----------------------------------------------------------------------------
222
// Instance/IntfAttributeSet0_1
223
// ----------------------------------------------------------------------------
224

225
226   /**
227    * Sets a new value for the attribute <code>detailedDescription</code>.
228    * @param newValue The possibly null new value for attribute <code>detailedDescription</code>.
229    * @exception JmiException If the value cannot be set for some reason.
230    */

231   public void setDetailedDescription(
232     String JavaDoc newValue
233   );
234
235 // ----------------------------------------------------------------------------
236
// Instance/IntfAttributeGet1_1
237
// ----------------------------------------------------------------------------
238
/**
239    * Retrieves the value for the attribute <code>name</code>.
240    * @return The non-null value for attribute <code>name</code>.
241    * @exception JmiException If the value cannot be retrieved for some reason.
242    */

243   public String JavaDoc getName(
244   );
245
246 // ----------------------------------------------------------------------------
247
// Instance/IntfAttributeSet1_1
248
// ----------------------------------------------------------------------------
249
/**
250    * Sets a new value for the attribute <code>name</code>.
251    * @param newValue The non-null new value for attribute <code>name</code>.
252    * @exception JmiException If the value cannot be set for some reason.
253    */

254   public void setName(
255     String JavaDoc newValue
256   );
257
258 // ----------------------------------------------------------------------------
259
// Instance/IntfReferenceGet0_1WithQualifier
260
// ----------------------------------------------------------------------------
261
/**
262    * Retrieves the value for the reference <code>priceUom</code> for the
263    * specified qualifier attribute value.
264    * @param index The value for the qualifier attribute that qualifies this reference.
265    * @return The possibly null value for this reference.
266    * @exception JmiException If the value cannot be retrieved for some reason.
267    */

268   public org.opencrx.kernel.uom1.cci.Uom getPriceUom(
269     int index
270   );
271
272 // ----------------------------------------------------------------------------
273
// Instance/IntfReferenceGet0_nNoFilter
274
// ----------------------------------------------------------------------------
275
/**
276    * Retrieves the objects referenced by <code>priceUom</code>.
277    * @return The collection of referenced objects.
278    * @exception JmiException If the value cannot be retrieved for some reason.
279    */

280   public java.util.Collection JavaDoc getPriceUom(
281   );
282
283 // ----------------------------------------------------------------------------
284
// Instance/IntfReferenceAddWithQualifier
285
// ----------------------------------------------------------------------------
286
/**
287    * @param index The qualifier attribute value that qualifies the reference to get the element to be appended.
288    * @param newValue The element to be appended.
289    * @exception JmiException If the value cannot be appended for some reason.
290    */

291   public void addPriceUom (
292     int index,
293     org.opencrx.kernel.uom1.cci.Uom newValue
294   );
295
296 // ----------------------------------------------------------------------------
297
// Instance/IntfReferenceAddWithoutQualifier
298
// ----------------------------------------------------------------------------
299
/**
300    * @param newValue The element to be appended.
301    * @exception JmiException If the value cannot be appended for some reason.
302    */

303   public void addPriceUom (
304     org.opencrx.kernel.uom1.cci.Uom newValue
305   );
306
307 // ----------------------------------------------------------------------------
308
// Instance/IntfReferenceRemoveWithQualifier
309
// ----------------------------------------------------------------------------
310
/**
311    * @exception JmiException If the value cannot be removed for some reason.
312    */

313   public void removePriceUom (
314     int index
315   );
316 // ----------------------------------------------------------------------------
317
// Instance/IntfAttributeGet1_1
318
// ----------------------------------------------------------------------------
319
/**
320    * Retrieves the value for the attribute <code>productNumber</code>.
321    * @return The non-null value for attribute <code>productNumber</code>.
322    * @exception JmiException If the value cannot be retrieved for some reason.
323    */

324   public String JavaDoc getProductNumber(
325   );
326
327 // ----------------------------------------------------------------------------
328
// Instance/IntfAttributeSet1_1
329
// ----------------------------------------------------------------------------
330
/**
331    * Sets a new value for the attribute <code>productNumber</code>.
332    * @param newValue The non-null new value for attribute <code>productNumber</code>.
333    * @exception JmiException If the value cannot be set for some reason.
334    */

335   public void setProductNumber(
336     String JavaDoc newValue
337   );
338
339 // ----------------------------------------------------------------------------
340
// Instance/IntfAttributeGet1_1
341
// ----------------------------------------------------------------------------
342
/**
343    * Retrieves the value for the attribute <code>productState</code>.
344    * @return The non-null value for attribute <code>productState</code>.
345    * @exception JmiException If the value cannot be retrieved for some reason.
346    */

347   public short getProductState(
348   );
349
350 // ----------------------------------------------------------------------------
351
// Instance/IntfAttributeSet1_1
352
// ----------------------------------------------------------------------------
353
/**
354    * Sets a new value for the attribute <code>productState</code>.
355    * @param newValue The non-null new value for attribute <code>productState</code>.
356    * @exception JmiException If the value cannot be set for some reason.
357    */

358   public void setProductState(
359     short newValue
360   );
361
362 // ----------------------------------------------------------------------------
363
// Instance/IntfAttributeGet1_1
364
// ----------------------------------------------------------------------------
365
/**
366    * Retrieves the value for the attribute <code>productType</code>.
367    * @return The non-null value for attribute <code>productType</code>.
368    * @exception JmiException If the value cannot be retrieved for some reason.
369    */

370   public short getProductType(
371   );
372
373 // ----------------------------------------------------------------------------
374
// Instance/IntfAttributeSet1_1
375
// ----------------------------------------------------------------------------
376
/**
377    * Sets a new value for the attribute <code>productType</code>.
378    * @param newValue The non-null new value for attribute <code>productType</code>.
379    * @exception JmiException If the value cannot be set for some reason.
380    */

381   public void setProductType(
382     short newValue
383   );
384
385 // ----------------------------------------------------------------------------
386
// Instance/IntfReferenceGet0_1NoQualifier
387
// ----------------------------------------------------------------------------
388
/**
389    * Retrieves the value for the optional reference <code>productUsage</code>.
390    * @return The possibly null value for this reference.
391    * @exception JmiException If the value cannot be retrieved for some reason.
392    */

393   public org.opencrx.kernel.activity1.cci.ActivityTracker getProductUsage(
394   );
395
396 // ----------------------------------------------------------------------------
397
// Instance/IntfReferenceSetNoQualifier
398
// ----------------------------------------------------------------------------
399
/**
400    * Sets a new value for the reference <code>productUsage</code>.
401    * @param newValue The non-null new value for this reference.
402    * @exception JmiException If the value cannot be set for some reason.
403    */

404   public void setProductUsage(
405     org.opencrx.kernel.activity1.cci.ActivityTracker newValue
406   );
407
408 // ----------------------------------------------------------------------------
409
// Instance/IntfReferenceRemoveOptional
410
// ----------------------------------------------------------------------------
411
/**
412    * Removes the value for the optional reference <code>productUsage</code>.
413    * @exception JmiException If the value cannot be removed for some reason.
414    */

415   public void removeProductUsage (
416   );
417
418 // ----------------------------------------------------------------------------
419
// Instance/IntfReferenceGet0_1NoQualifier
420
// ----------------------------------------------------------------------------
421
/**
422    * Retrieves the value for the optional reference <code>salesTaxType</code>.
423    * @return The possibly null value for this reference.
424    * @exception JmiException If the value cannot be retrieved for some reason.
425    */

426   public org.opencrx.kernel.product1.cci.SalesTaxType getSalesTaxType(
427   );
428
429 // ----------------------------------------------------------------------------
430
// Instance/IntfReferenceSetNoQualifier
431
// ----------------------------------------------------------------------------
432
/**
433    * Sets a new value for the reference <code>salesTaxType</code>.
434    * @param newValue The non-null new value for this reference.
435    * @exception JmiException If the value cannot be set for some reason.
436    */

437   public void setSalesTaxType(
438     org.opencrx.kernel.product1.cci.SalesTaxType newValue
439   );
440
441 // ----------------------------------------------------------------------------
442
// Instance/IntfReferenceRemoveOptional
443
// ----------------------------------------------------------------------------
444
/**
445    * Removes the value for the optional reference <code>salesTaxType</code>.
446    * @exception JmiException If the value cannot be removed for some reason.
447    */

448   public void removeSalesTaxType (
449   );
450
451 // ----------------------------------------------------------------------------
452
// Instance/IntfReferenceGet0_1WithQualifier
453
// ----------------------------------------------------------------------------
454
/**
455    * Retrieves the value for the reference <code>supplier</code> for the
456    * specified qualifier attribute value.
457    * @param index The value for the qualifier attribute that qualifies this reference.
458    * @return The possibly null value for this reference.
459    * @exception JmiException If the value cannot be retrieved for some reason.
460    */

461   public org.opencrx.kernel.account1.cci.Account getSupplier(
462     int index
463   );
464
465 // ----------------------------------------------------------------------------
466
// Instance/IntfReferenceGet0_nNoFilter
467
// ----------------------------------------------------------------------------
468
/**
469    * Retrieves the objects referenced by <code>supplier</code>.
470    * @return The collection of referenced objects.
471    * @exception JmiException If the value cannot be retrieved for some reason.
472    */

473   public java.util.Collection JavaDoc getSupplier(
474   );
475
476 // ----------------------------------------------------------------------------
477
// Instance/IntfReferenceAddWithQualifier
478
// ----------------------------------------------------------------------------
479
/**
480    * @param index The qualifier attribute value that qualifies the reference to get the element to be appended.
481    * @param newValue The element to be appended.
482    * @exception JmiException If the value cannot be appended for some reason.
483    */

484   public void addSupplier (
485     int index,
486     org.opencrx.kernel.account1.cci.Account newValue
487   );
488
489 // ----------------------------------------------------------------------------
490
// Instance/IntfReferenceAddWithoutQualifier
491
// ----------------------------------------------------------------------------
492
/**
493    * @param newValue The element to be appended.
494    * @exception JmiException If the value cannot be appended for some reason.
495    */

496   public void addSupplier (
497     org.opencrx.kernel.account1.cci.Account newValue
498   );
499
500 // ----------------------------------------------------------------------------
501
// Instance/IntfReferenceRemoveWithQualifier
502
// ----------------------------------------------------------------------------
503
/**
504    * @exception JmiException If the value cannot be removed for some reason.
505    */

506   public void removeSupplier (
507     int index
508   );
509 // ----------------------------------------------------------------------------
510
// Instance/IntfEnd.vm
511
// ----------------------------------------------------------------------------
512
}
513
Popular Tags