KickJava   Java API By Example, From Geeks To Geeks.

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


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

30   public org.opencrx.kernel.product1.cci.AccountAssignment getAssignedAccount(
31     String JavaDoc id
32   );
33
34 // ----------------------------------------------------------------------------
35
// Instance/IntfReferenceGet0_nWithFilter
36
// ----------------------------------------------------------------------------
37
/**
38    * Retrieves a collection containing all the elements for the reference
39    * <code>assignedAccount</code>.
40    * @return A collection containing all the elements for this reference.
41    * @exception JmiException If the values cannot be retrieved for some reason.
42    */

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

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

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

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

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

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

109   public void setBasedOn(
110     org.opencrx.kernel.product1.cci.PriceLevel newValue
111   );
112
113 // ----------------------------------------------------------------------------
114
// Instance/IntfReferenceRemoveOptional
115
// ----------------------------------------------------------------------------
116
/**
117    * Removes the value for the optional reference <code>basedOn</code>.
118    * @exception JmiException If the value cannot be removed for some reason.
119    */

120   public void removeBasedOn (
121   );
122
123 // ----------------------------------------------------------------------------
124
// Instance/IntfOperation
125
// ----------------------------------------------------------------------------
126

127   public org.opencrx.kernel.product1.cci.ProcessPricesResult clearAssignedPrices(
128       org.opencrx.kernel.product1.cci.ClearAssignedPricesParams params
129   ) throws javax.jmi.reflect.RefException ;
130
131   /**
132    */

133   public org.opencrx.kernel.product1.cci.ProcessPricesResult clearAssignedPrices(
134       Short JavaDoc processingMode
135   ) throws javax.jmi.reflect.RefException ;
136
137 // ----------------------------------------------------------------------------
138
// Instance/IntfOperation
139
// ----------------------------------------------------------------------------
140

141   public org.opencrx.kernel.product1.cci.ProcessPricesResult createInitialPrices(
142       org.opencrx.kernel.product1.cci.CreateInitialPricesParams params
143   ) throws javax.jmi.reflect.RefException ;
144
145   /**
146    */

147   public org.opencrx.kernel.product1.cci.ProcessPricesResult createInitialPrices(
148       org.opencrx.kernel.uom1.cci.Uom priceUom
149     , short processingMode
150   ) throws javax.jmi.reflect.RefException ;
151
152 // ----------------------------------------------------------------------------
153
// Instance/IntfOperation
154
// ----------------------------------------------------------------------------
155

156   public org.opencrx.kernel.product1.cci.ProcessPricesResult createPricesFromBasedOnPriceLevel(
157       org.opencrx.kernel.product1.cci.CreatePricesFromBasedOnPriceLevelParams params
158   ) throws javax.jmi.reflect.RefException ;
159
160   /**
161    */

162   public org.opencrx.kernel.product1.cci.ProcessPricesResult createPricesFromBasedOnPriceLevel(
163       Short JavaDoc processingMode
164   ) throws javax.jmi.reflect.RefException ;
165
166 // ----------------------------------------------------------------------------
167
// Instance/IntfAttributeGet0_1
168
// ----------------------------------------------------------------------------
169
/**
170    * @return The possibly null value for attribute <code>description</code>.
171    * @exception JmiException If the value cannot be retrieved for some reason.
172    */

173   public String JavaDoc getDescription(
174   );
175
176 // ----------------------------------------------------------------------------
177
// Instance/IntfAttributeSet0_1
178
// ----------------------------------------------------------------------------
179

180
181   /**
182    * Sets a new value for the attribute <code>description</code>.
183    * @param newValue The possibly null new value for attribute <code>description</code>.
184    * @exception JmiException If the value cannot be set for some reason.
185    */

186   public void setDescription(
187     String JavaDoc newValue
188   );
189
190 // ----------------------------------------------------------------------------
191
// Instance/IntfAttributeGet0_1
192
// ----------------------------------------------------------------------------
193
/**
194    * @return The possibly null value for attribute <code>isFinal</code>.
195    * @exception JmiException If the value cannot be retrieved for some reason.
196    */

197   public Boolean JavaDoc isFinal(
198   );
199
200 // ----------------------------------------------------------------------------
201
// Instance/IntfAttributeSet0_1
202
// ----------------------------------------------------------------------------
203

204
205   /**
206    * Sets a new value for the attribute <code>isFinal</code>.
207    * @param newValue The possibly null new value for attribute <code>isFinal</code>.
208    * @exception JmiException If the value cannot be set for some reason.
209    */

210   public void setFinal_(
211     Boolean JavaDoc newValue
212   );
213
214 // ----------------------------------------------------------------------------
215
// Instance/IntfOperation
216
// ----------------------------------------------------------------------------
217

218   public org.opencrx.kernel.product1.cci.ProcessPricesResult movePricesFromBasedOnPriceLevel(
219       org.opencrx.kernel.product1.cci.MovePricesFromBasedOnPriceLevelParams params
220   ) throws javax.jmi.reflect.RefException ;
221
222   /**
223    */

224   public org.opencrx.kernel.product1.cci.ProcessPricesResult movePricesFromBasedOnPriceLevel(
225       Short JavaDoc processingMode
226   ) throws javax.jmi.reflect.RefException ;
227
228 // ----------------------------------------------------------------------------
229
// Instance/IntfAttributeGet1_1
230
// ----------------------------------------------------------------------------
231
/**
232    * Retrieves the value for the attribute <code>name</code>.
233    * @return The non-null value for attribute <code>name</code>.
234    * @exception JmiException If the value cannot be retrieved for some reason.
235    */

236   public String JavaDoc getName(
237   );
238
239 // ----------------------------------------------------------------------------
240
// Instance/IntfAttributeSet1_1
241
// ----------------------------------------------------------------------------
242
/**
243    * Sets a new value for the attribute <code>name</code>.
244    * @param newValue The non-null new value for attribute <code>name</code>.
245    * @exception JmiException If the value cannot be set for some reason.
246    */

247   public void setName(
248     String JavaDoc newValue
249   );
250
251 // ----------------------------------------------------------------------------
252
// Instance/IntfAttributeGetList
253
// ----------------------------------------------------------------------------
254
/**
255    * @return A list containing all elements for this attribute.
256    * @exception JmiException If the values cannot be retrieved for some reason.
257    */

258   public java.util.List JavaDoc getPaymentMethod(
259   );
260
261   /**
262    * @param index The index of the element to return.
263    * @return The element at the specified position in the list of all values for this attribute.
264    * @exception JmiException If the value cannot be retrieved for some reason.
265    */

266   public short getPaymentMethod(
267     int index
268   );
269
270 // ----------------------------------------------------------------------------
271
// Instance/IntfAttributeSetList
272
// ----------------------------------------------------------------------------
273
/**
274    * @param newValue A list containing all the new elements for this attribute.
275    * @exception JmiException If the values cannot be set for some reason.
276    */

277   public void setPaymentMethod(
278     java.util.List JavaDoc newValue
279   );
280
281   /**
282    * @param newValue An array containing all the new elements for this attribute.
283    * @exception JmiException If the values cannot be set for some reason.
284    */

285   public void setPaymentMethod(
286     short[] newValue
287   );
288
289 // ----------------------------------------------------------------------------
290
// Instance/IntfAttributeGet1_1
291
// ----------------------------------------------------------------------------
292
/**
293    * Retrieves the value for the attribute <code>priceCurrency</code>.
294    * @return The non-null value for attribute <code>priceCurrency</code>.
295    * @exception JmiException If the value cannot be retrieved for some reason.
296    */

297   public short getPriceCurrency(
298   );
299
300 // ----------------------------------------------------------------------------
301
// Instance/IntfAttributeSet1_1
302
// ----------------------------------------------------------------------------
303
/**
304    * Sets a new value for the attribute <code>priceCurrency</code>.
305    * @param newValue The non-null new value for attribute <code>priceCurrency</code>.
306    * @exception JmiException If the value cannot be set for some reason.
307    */

308   public void setPriceCurrency(
309     short newValue
310   );
311
312 // ----------------------------------------------------------------------------
313
// Instance/IntfReferenceGet0_1WithQualifier
314
// ----------------------------------------------------------------------------
315
/**
316    * Retrieves the value for the reference <code>priceListEntry</code> for
317    * the specified qualifier attribute value.
318    * @param id The value for the qualifier attribute that qualifies this reference.
319    * @return The possibly null value for this reference.
320    * @exception JmiException If the value cannot be retrieved for some reason.
321    */

322   public org.opencrx.kernel.product1.cci.PriceListEntry getPriceListEntry(
323     String JavaDoc id
324   );
325
326 // ----------------------------------------------------------------------------
327
// Instance/IntfReferenceGet0_nWithFilter
328
// ----------------------------------------------------------------------------
329
/**
330    * Retrieves a collection containing all the elements for the reference
331    * <code>priceListEntry</code>.
332    * @return A collection containing all the elements for this reference.
333    * @exception JmiException If the values cannot be retrieved for some reason.
334    */

335   public java.util.Collection JavaDoc getPriceListEntry(
336   );
337
338   /**
339    * Retrieves the value for the reference <code>priceListEntry</code> for
340    * the specified filter.
341    * @param filter filter which is applied to the set of referenced objects.
342    * @return The filtered collection of referenced objects.
343    * @exception JmiException If the value cannot be retrieved for some reason.
344    */

345   public java.util.List JavaDoc getPriceListEntry(
346     org.opencrx.kernel.product1.cci.PriceListEntryFilter filter
347   );
348
349 // ----------------------------------------------------------------------------
350
// Instance/IntfReferenceGet0_1WithQualifier
351
// ----------------------------------------------------------------------------
352
/**
353    * Retrieves the value for the reference <code>priceModifier</code> for
354    * the specified qualifier attribute value.
355    * @param id The value for the qualifier attribute that qualifies this reference.
356    * @return The possibly null value for this reference.
357    * @exception JmiException If the value cannot be retrieved for some reason.
358    */

359   public org.opencrx.kernel.product1.cci.PriceModifier getPriceModifier(
360     String JavaDoc id
361   );
362
363 // ----------------------------------------------------------------------------
364
// Instance/IntfReferenceGet0_nWithFilter
365
// ----------------------------------------------------------------------------
366
/**
367    * Retrieves a collection containing all the elements for the reference
368    * <code>priceModifier</code>.
369    * @return A collection containing all the elements for this reference.
370    * @exception JmiException If the values cannot be retrieved for some reason.
371    */

372   public java.util.Collection JavaDoc getPriceModifier(
373   );
374
375   /**
376    * Retrieves the value for the reference <code>priceModifier</code> for
377    * the specified filter.
378    * @param filter filter which is applied to the set of referenced objects.
379    * @return The filtered collection of referenced objects.
380    * @exception JmiException If the value cannot be retrieved for some reason.
381    */

382   public java.util.List JavaDoc getPriceModifier(
383     org.opencrx.kernel.product1.cci.PriceModifierFilter filter
384   );
385
386 // ----------------------------------------------------------------------------
387
// Instance/IntfReferenceAddWithQualifier
388
// ----------------------------------------------------------------------------
389
/**
390    * @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
391    * @param newValue The element to be appended.
392    * @exception JmiException If the value cannot be appended for some reason.
393    */

394   public void addPriceModifier (
395     String JavaDoc id,
396     org.opencrx.kernel.product1.cci.PriceModifier newValue
397   );
398
399 // ----------------------------------------------------------------------------
400
// Instance/IntfReferenceAddWithoutQualifier
401
// ----------------------------------------------------------------------------
402
/**
403    * @param newValue The element to be appended.
404    * @exception JmiException If the value cannot be appended for some reason.
405    */

406   public void addPriceModifier (
407     org.opencrx.kernel.product1.cci.PriceModifier newValue
408   );
409
410 // ----------------------------------------------------------------------------
411
// Instance/IntfReferenceRemoveWithQualifier
412
// ----------------------------------------------------------------------------
413
/**
414    * @exception JmiException If the value cannot be removed for some reason.
415    */

416   public void removePriceModifier (
417     String JavaDoc id
418   );
419 // ----------------------------------------------------------------------------
420
// Instance/IntfAttributeGetList
421
// ----------------------------------------------------------------------------
422
/**
423    * @return A list containing all elements for this attribute.
424    * @exception JmiException If the values cannot be retrieved for some reason.
425    */

426   public java.util.List JavaDoc getPriceUsage(
427   );
428
429   /**
430    * @param index The index of the element to return.
431    * @return The element at the specified position in the list of all values for this attribute.
432    * @exception JmiException If the value cannot be retrieved for some reason.
433    */

434   public short getPriceUsage(
435     int index
436   );
437
438 // ----------------------------------------------------------------------------
439
// Instance/IntfAttributeSetList
440
// ----------------------------------------------------------------------------
441
/**
442    * @param newValue A list containing all the new elements for this attribute.
443    * @exception JmiException If the values cannot be set for some reason.
444    */

445   public void setPriceUsage(
446     java.util.List JavaDoc newValue
447   );
448
449   /**
450    * @param newValue An array containing all the new elements for this attribute.
451    * @exception JmiException If the values cannot be set for some reason.
452    */

453   public void setPriceUsage(
454     short[] newValue
455   );
456
457 // ----------------------------------------------------------------------------
458
// Instance/IntfAttributeGetList
459
// ----------------------------------------------------------------------------
460
/**
461    * @return A list containing all elements for this attribute.
462    * @exception JmiException If the values cannot be retrieved for some reason.
463    */

464   public java.util.List JavaDoc getShippingMethod(
465   );
466
467   /**
468    * @param index The index of the element to return.
469    * @return The element at the specified position in the list of all values for this attribute.
470    * @exception JmiException If the value cannot be retrieved for some reason.
471    */

472   public short getShippingMethod(
473     int index
474   );
475
476 // ----------------------------------------------------------------------------
477
// Instance/IntfAttributeSetList
478
// ----------------------------------------------------------------------------
479
/**
480    * @param newValue A list containing all the new elements for this attribute.
481    * @exception JmiException If the values cannot be set for some reason.
482    */

483   public void setShippingMethod(
484     java.util.List JavaDoc newValue
485   );
486
487   /**
488    * @param newValue An array containing all the new elements for this attribute.
489    * @exception JmiException If the values cannot be set for some reason.
490    */

491   public void setShippingMethod(
492     short[] newValue
493   );
494
495 // ----------------------------------------------------------------------------
496
// Instance/IntfAttributeGet0_1
497
// ----------------------------------------------------------------------------
498
/**
499    * @return The possibly null value for attribute <code>validFrom</code>.
500    * @exception JmiException If the value cannot be retrieved for some reason.
501    */

502   public java.util.Date JavaDoc getValidFrom(
503   );
504
505 // ----------------------------------------------------------------------------
506
// Instance/IntfAttributeSet0_1
507
// ----------------------------------------------------------------------------
508

509
510   /**
511    * Sets a new value for the attribute <code>validFrom</code>.
512    * @param newValue The possibly null new value for attribute <code>validFrom</code>.
513    * @exception JmiException If the value cannot be set for some reason.
514    */

515   public void setValidFrom(
516     java.util.Date JavaDoc newValue
517   );
518
519 // ----------------------------------------------------------------------------
520
// Instance/IntfAttributeGet0_1
521
// ----------------------------------------------------------------------------
522
/**
523    * @return The possibly null value for attribute <code>validTo</code>.
524    * @exception JmiException If the value cannot be retrieved for some reason.
525    */

526   public java.util.Date JavaDoc getValidTo(
527   );
528
529 // ----------------------------------------------------------------------------
530
// Instance/IntfAttributeSet0_1
531
// ----------------------------------------------------------------------------
532

533
534   /**
535    * Sets a new value for the attribute <code>validTo</code>.
536    * @param newValue The possibly null new value for attribute <code>validTo</code>.
537    * @exception JmiException If the value cannot be set for some reason.
538    */

539   public void setValidTo(
540     java.util.Date JavaDoc newValue
541   );
542
543 // ----------------------------------------------------------------------------
544
// Instance/IntfEnd.vm
545
// ----------------------------------------------------------------------------
546
}
547
Popular Tags