KickJava   Java API By Example, From Geeks To Geeks.

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


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 AbstractProductPrice
16   extends org.openmdx.base.accessor.jmi.cci.RefObject_1_0
17  {
18 // ----------------------------------------------------------------------------
19
// Instance/IntfAttributeGet0_1
20
// ----------------------------------------------------------------------------
21
/**
22    * @return The possibly null value for attribute <code>description</code>.
23    * @exception JmiException If the value cannot be retrieved for some reason.
24    */

25   public String JavaDoc getDescription(
26   );
27
28 // ----------------------------------------------------------------------------
29
// Instance/IntfAttributeSet0_1
30
// ----------------------------------------------------------------------------
31

32
33   /**
34    * Sets a new value for the attribute <code>description</code>.
35    * @param newValue The possibly null new value for attribute <code>description</code>.
36    * @exception JmiException If the value cannot be set for some reason.
37    */

38   public void setDescription(
39     String JavaDoc newValue
40   );
41
42 // ----------------------------------------------------------------------------
43
// Instance/IntfAttributeGet0_1
44
// ----------------------------------------------------------------------------
45
/**
46    * @return The possibly null value for attribute <code>discount</code>.
47    * @exception JmiException If the value cannot be retrieved for some reason.
48    */

49   public java.math.BigDecimal JavaDoc getDiscount(
50   );
51
52 // ----------------------------------------------------------------------------
53
// Instance/IntfAttributeSet0_1
54
// ----------------------------------------------------------------------------
55

56
57   /**
58    * Sets a new value for the attribute <code>discount</code>.
59    * @param newValue The possibly null new value for attribute <code>discount</code>.
60    * @exception JmiException If the value cannot be set for some reason.
61    */

62   public void setDiscount(
63     java.math.BigDecimal JavaDoc newValue
64   );
65
66 // ----------------------------------------------------------------------------
67
// Instance/IntfAttributeGet0_1
68
// ----------------------------------------------------------------------------
69
/**
70    * @return The possibly null value for attribute <code>discountIsPercentage</code>.
71    * @exception JmiException If the value cannot be retrieved for some reason.
72    */

73   public Boolean JavaDoc isDiscountIsPercentage(
74   );
75
76 // ----------------------------------------------------------------------------
77
// Instance/IntfAttributeSet0_1
78
// ----------------------------------------------------------------------------
79

80
81   /**
82    * Sets a new value for the attribute <code>discountIsPercentage</code>.
83    * @param newValue The possibly null new value for attribute <code>discountIsPercentage</code>.
84    * @exception JmiException If the value cannot be set for some reason.
85    */

86   public void setDiscountIsPercentage(
87     Boolean JavaDoc newValue
88   );
89
90 // ----------------------------------------------------------------------------
91
// Instance/IntfAttributeGet0_1
92
// ----------------------------------------------------------------------------
93
/**
94    * @return The possibly null value for attribute <code>price</code>.
95    * @exception JmiException If the value cannot be retrieved for some reason.
96    */

97   public java.math.BigDecimal JavaDoc getPrice(
98   );
99
100 // ----------------------------------------------------------------------------
101
// Instance/IntfAttributeSet0_1
102
// ----------------------------------------------------------------------------
103

104
105   /**
106    * Sets a new value for the attribute <code>price</code>.
107    * @param newValue The possibly null new value for attribute <code>price</code>.
108    * @exception JmiException If the value cannot be set for some reason.
109    */

110   public void setPrice(
111     java.math.BigDecimal JavaDoc newValue
112   );
113
114 // ----------------------------------------------------------------------------
115
// Instance/IntfAttributeGet1_1
116
// ----------------------------------------------------------------------------
117
/**
118    * Retrieves the value for the attribute <code>priceCurrency</code>.
119    * @return The non-null value for attribute <code>priceCurrency</code>.
120    * @exception JmiException If the value cannot be retrieved for some reason.
121    */

122   public short getPriceCurrency(
123   );
124
125 // ----------------------------------------------------------------------------
126
// Instance/IntfAttributeSet1_1
127
// ----------------------------------------------------------------------------
128
/**
129    * Sets a new value for the attribute <code>priceCurrency</code>.
130    * @param newValue The non-null new value for attribute <code>priceCurrency</code>.
131    * @exception JmiException If the value cannot be set for some reason.
132    */

133   public void setPriceCurrency(
134     short newValue
135   );
136
137 // ----------------------------------------------------------------------------
138
// Instance/IntfReferenceGet0_1WithQualifier
139
// ----------------------------------------------------------------------------
140
/**
141    * Retrieves the value for the reference <code>priceLevel</code> for the
142    * specified qualifier attribute value.
143    * @param index The value for the qualifier attribute that qualifies this reference.
144    * @return The possibly null value for this reference.
145    * @exception JmiException If the value cannot be retrieved for some reason.
146    */

147   public org.opencrx.kernel.product1.cci.PriceLevel getPriceLevel(
148     int index
149   );
150
151 // ----------------------------------------------------------------------------
152
// Instance/IntfReferenceGet0_nNoFilter
153
// ----------------------------------------------------------------------------
154
/**
155    * Retrieves the objects referenced by <code>priceLevel</code>.
156    * @return The collection of referenced objects.
157    * @exception JmiException If the value cannot be retrieved for some reason.
158    */

159   public java.util.Collection JavaDoc getPriceLevel(
160   );
161
162 // ----------------------------------------------------------------------------
163
// Instance/IntfReferenceAddWithQualifier
164
// ----------------------------------------------------------------------------
165
/**
166    * @param index The qualifier attribute value that qualifies the reference to get the element to be appended.
167    * @param newValue The element to be appended.
168    * @exception JmiException If the value cannot be appended for some reason.
169    */

170   public void addPriceLevel (
171     int index,
172     org.opencrx.kernel.product1.cci.PriceLevel newValue
173   );
174
175 // ----------------------------------------------------------------------------
176
// Instance/IntfReferenceAddWithoutQualifier
177
// ----------------------------------------------------------------------------
178
/**
179    * @param newValue The element to be appended.
180    * @exception JmiException If the value cannot be appended for some reason.
181    */

182   public void addPriceLevel (
183     org.opencrx.kernel.product1.cci.PriceLevel newValue
184   );
185
186 // ----------------------------------------------------------------------------
187
// Instance/IntfReferenceRemoveWithQualifier
188
// ----------------------------------------------------------------------------
189
/**
190    * @exception JmiException If the value cannot be removed for some reason.
191    */

192   public void removePriceLevel (
193     int index
194   );
195 // ----------------------------------------------------------------------------
196
// Instance/IntfAttributeGet0_1
197
// ----------------------------------------------------------------------------
198
/**
199    * @return The possibly null value for attribute <code>quantityFrom</code>.
200    * @exception JmiException If the value cannot be retrieved for some reason.
201    */

202   public java.math.BigDecimal JavaDoc getQuantityFrom(
203   );
204
205 // ----------------------------------------------------------------------------
206
// Instance/IntfAttributeSet0_1
207
// ----------------------------------------------------------------------------
208

209
210   /**
211    * Sets a new value for the attribute <code>quantityFrom</code>.
212    * @param newValue The possibly null new value for attribute <code>quantityFrom</code>.
213    * @exception JmiException If the value cannot be set for some reason.
214    */

215   public void setQuantityFrom(
216     java.math.BigDecimal JavaDoc newValue
217   );
218
219 // ----------------------------------------------------------------------------
220
// Instance/IntfAttributeGet0_1
221
// ----------------------------------------------------------------------------
222
/**
223    * @return The possibly null value for attribute <code>quantityTo</code>.
224    * @exception JmiException If the value cannot be retrieved for some reason.
225    */

226   public java.math.BigDecimal JavaDoc getQuantityTo(
227   );
228
229 // ----------------------------------------------------------------------------
230
// Instance/IntfAttributeSet0_1
231
// ----------------------------------------------------------------------------
232

233
234   /**
235    * Sets a new value for the attribute <code>quantityTo</code>.
236    * @param newValue The possibly null new value for attribute <code>quantityTo</code>.
237    * @exception JmiException If the value cannot be set for some reason.
238    */

239   public void setQuantityTo(
240     java.math.BigDecimal JavaDoc newValue
241   );
242
243 // ----------------------------------------------------------------------------
244
// Instance/IntfReferenceGet1_1NoQualifier
245
// ----------------------------------------------------------------------------
246
/**
247    * Retrieves the value for the reference <code>uom</code>.
248    * @return The non-null value for this reference.
249    * @exception JmiException If the value cannot be retrieved for some reason.
250    */

251   public org.opencrx.kernel.uom1.cci.Uom getUom(
252   );
253
254 // ----------------------------------------------------------------------------
255
// Instance/IntfReferenceSetNoQualifier
256
// ----------------------------------------------------------------------------
257
/**
258    * Sets a new value for the reference <code>uom</code>.
259    * @param newValue The non-null new value for this reference.
260    * @exception JmiException If the value cannot be set for some reason.
261    */

262   public void setUom(
263     org.opencrx.kernel.uom1.cci.Uom newValue
264   );
265
266 // ----------------------------------------------------------------------------
267
// Instance/IntfAttributeGetList
268
// ----------------------------------------------------------------------------
269
/**
270    * @return A list containing all elements for this attribute.
271    * @exception JmiException If the values cannot be retrieved for some reason.
272    */

273   public java.util.List JavaDoc getUsage(
274   );
275
276   /**
277    * @param index The index of the element to return.
278    * @return The element at the specified position in the list of all values for this attribute.
279    * @exception JmiException If the value cannot be retrieved for some reason.
280    */

281   public short getUsage(
282     int index
283   );
284
285 // ----------------------------------------------------------------------------
286
// Instance/IntfAttributeSetList
287
// ----------------------------------------------------------------------------
288
/**
289    * @param newValue A list containing all the new elements for this attribute.
290    * @exception JmiException If the values cannot be set for some reason.
291    */

292   public void setUsage(
293     java.util.List JavaDoc newValue
294   );
295
296   /**
297    * @param newValue An array containing all the new elements for this attribute.
298    * @exception JmiException If the values cannot be set for some reason.
299    */

300   public void setUsage(
301     short[] newValue
302   );
303
304 // ----------------------------------------------------------------------------
305
// Instance/IntfEnd.vm
306
// ----------------------------------------------------------------------------
307
}
308
Popular Tags