KickJava   Java API By Example, From Geeks To Geeks.

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


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 Product
16   extends
17  org.opencrx.kernel.depot1.cci.DepotReferenceHolder,
18  org.opencrx.kernel.generic.cci.DescriptionContainer,
19  org.opencrx.kernel.generic.cci.Pictured,
20  org.opencrx.kernel.product1.cci.AbstractProduct,
21  org.opencrx.kernel.product1.cci.ContractPositionConstrained,
22  org.opencrx.kernel.product1.cci.ProductConfigurationSet {
23 // ----------------------------------------------------------------------------
24
// Instance/IntfAttributeGet0_1
25
// ----------------------------------------------------------------------------
26
/**
27    * @return The possibly null value for attribute <code>grossWeightKilogram</code>.
28    * @exception JmiException If the value cannot be retrieved for some reason.
29    */

30   public java.math.BigDecimal JavaDoc getGrossWeightKilogram(
31   );
32
33 // ----------------------------------------------------------------------------
34
// Instance/IntfAttributeSet0_1
35
// ----------------------------------------------------------------------------
36

37
38   /**
39    * Sets a new value for the attribute <code>grossWeightKilogram</code>.
40    * @param newValue The possibly null new value for attribute <code>grossWeightKilogram</code>.
41    * @exception JmiException If the value cannot be set for some reason.
42    */

43   public void setGrossWeightKilogram(
44     java.math.BigDecimal JavaDoc newValue
45   );
46
47 // ----------------------------------------------------------------------------
48
// Instance/IntfAttributeGet0_1
49
// ----------------------------------------------------------------------------
50
/**
51    * @return The possibly null value for attribute <code>isStockItem</code>.
52    * @exception JmiException If the value cannot be retrieved for some reason.
53    */

54   public Boolean JavaDoc isStockItem(
55   );
56
57 // ----------------------------------------------------------------------------
58
// Instance/IntfAttributeSet0_1
59
// ----------------------------------------------------------------------------
60

61
62   /**
63    * Sets a new value for the attribute <code>isStockItem</code>.
64    * @param newValue The possibly null new value for attribute <code>isStockItem</code>.
65    * @exception JmiException If the value cannot be set for some reason.
66    */

67   public void setStockItem(
68     Boolean JavaDoc newValue
69   );
70
71 // ----------------------------------------------------------------------------
72
// Instance/IntfAttributeGet0_1
73
// ----------------------------------------------------------------------------
74
/**
75    * @return The possibly null value for attribute <code>netWeightKilogram</code>.
76    * @exception JmiException If the value cannot be retrieved for some reason.
77    */

78   public java.math.BigDecimal JavaDoc getNetWeightKilogram(
79   );
80
81 // ----------------------------------------------------------------------------
82
// Instance/IntfAttributeSet0_1
83
// ----------------------------------------------------------------------------
84

85
86   /**
87    * Sets a new value for the attribute <code>netWeightKilogram</code>.
88    * @param newValue The possibly null new value for attribute <code>netWeightKilogram</code>.
89    * @exception JmiException If the value cannot be set for some reason.
90    */

91   public void setNetWeightKilogram(
92     java.math.BigDecimal JavaDoc newValue
93   );
94
95 // ----------------------------------------------------------------------------
96
// Instance/IntfAttributeGet0_1
97
// ----------------------------------------------------------------------------
98
/**
99    * @return The possibly null value for attribute <code>productDimension</code>.
100    * @exception JmiException If the value cannot be retrieved for some reason.
101    */

102   public String JavaDoc getProductDimension(
103   );
104
105 // ----------------------------------------------------------------------------
106
// Instance/IntfAttributeSet0_1
107
// ----------------------------------------------------------------------------
108

109
110   /**
111    * Sets a new value for the attribute <code>productDimension</code>.
112    * @param newValue The possibly null new value for attribute <code>productDimension</code>.
113    * @exception JmiException If the value cannot be set for some reason.
114    */

115   public void setProductDimension(
116     String JavaDoc newValue
117   );
118
119 // ----------------------------------------------------------------------------
120
// Instance/IntfReferenceGet0_1WithQualifier
121
// ----------------------------------------------------------------------------
122
/**
123    * Retrieves the value for the reference <code>relatedProduct</code> for
124    * the specified qualifier attribute value.
125    * @param id The value for the qualifier attribute that qualifies this reference.
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.RelatedProduct getRelatedProduct(
130     String JavaDoc id
131   );
132
133 // ----------------------------------------------------------------------------
134
// Instance/IntfReferenceGet0_nWithFilter
135
// ----------------------------------------------------------------------------
136
/**
137    * Retrieves a collection containing all the elements for the reference
138    * <code>relatedProduct</code>.
139    * @return A collection containing all the elements for this reference.
140    * @exception JmiException If the values cannot be retrieved for some reason.
141    */

142   public java.util.Collection JavaDoc getRelatedProduct(
143   );
144
145   /**
146    * Retrieves the value for the reference <code>relatedProduct</code> for
147    * the specified filter.
148    * @param filter filter which is applied to the set of referenced objects.
149    * @return The filtered collection of referenced objects.
150    * @exception JmiException If the value cannot be retrieved for some reason.
151    */

152   public java.util.List JavaDoc getRelatedProduct(
153     org.opencrx.kernel.product1.cci.RelatedProductFilter filter
154   );
155
156 // ----------------------------------------------------------------------------
157
// Instance/IntfReferenceAddWithQualifier
158
// ----------------------------------------------------------------------------
159
/**
160    * @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
161    * @param newValue The element to be appended.
162    * @exception JmiException If the value cannot be appended for some reason.
163    */

164   public void addRelatedProduct (
165     String JavaDoc id,
166     org.opencrx.kernel.product1.cci.RelatedProduct newValue
167   );
168
169 // ----------------------------------------------------------------------------
170
// Instance/IntfReferenceAddWithoutQualifier
171
// ----------------------------------------------------------------------------
172
/**
173    * @param newValue The element to be appended.
174    * @exception JmiException If the value cannot be appended for some reason.
175    */

176   public void addRelatedProduct (
177     org.opencrx.kernel.product1.cci.RelatedProduct newValue
178   );
179
180 // ----------------------------------------------------------------------------
181
// Instance/IntfReferenceRemoveWithQualifier
182
// ----------------------------------------------------------------------------
183
/**
184    * @exception JmiException If the value cannot be removed for some reason.
185    */

186   public void removeRelatedProduct (
187     String JavaDoc id
188   );
189 // ----------------------------------------------------------------------------
190
// Instance/IntfOperation
191
// ----------------------------------------------------------------------------
192

193   public org.openmdx.base.cci.Void setConfigurationType(
194       org.opencrx.kernel.product1.cci.SetConfigurationTypeParams params
195   ) throws javax.jmi.reflect.RefException ;
196
197   /**
198    */

199   public org.openmdx.base.cci.Void setConfigurationType(
200       org.opencrx.kernel.product1.cci.ProductConfigurationTypeSet configurationType
201   ) throws javax.jmi.reflect.RefException ;
202
203 // ----------------------------------------------------------------------------
204
// Instance/IntfEnd.vm
205
// ----------------------------------------------------------------------------
206
}
207
Popular Tags