KickJava   Java API By Example, From Geeks To Geeks.

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


1 // ----------------------------------------------------------------------------
2
// Instance/ImplBegin
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 class ContractPositionConstrainedImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefObject_1
17   implements ContractPositionConstrained {
18
19   public ContractPositionConstrainedImpl(
20     org.openmdx.base.accessor.generic.cci.Object_1_0 object,
21     javax.jmi.reflect.RefClass refClass
22   ) {
23     super(object, refClass);
24   }
25
26 // ----------------------------------------------------------------------------
27
// Instance/ImplAttributeGet0_1
28
// ----------------------------------------------------------------------------
29
public Boolean JavaDoc isAllowModification (
30   ) {
31     return (Boolean JavaDoc)this.refGetValue("allowModification", 0);
32   }
33 // ----------------------------------------------------------------------------
34
// Instance/ImplAttributeSet0_1
35
// ----------------------------------------------------------------------------
36
public void setAllowModification(
37     Boolean JavaDoc newValue
38   ) {
39     refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:allowModification", 0, newValue);
40   }
41
42 // ----------------------------------------------------------------------------
43
// Instance/ImplAttributeGet0_1
44
// ----------------------------------------------------------------------------
45
public Boolean JavaDoc isAllowRemoval (
46   ) {
47     return (Boolean JavaDoc)this.refGetValue("allowRemoval", 0);
48   }
49 // ----------------------------------------------------------------------------
50
// Instance/ImplAttributeSet0_1
51
// ----------------------------------------------------------------------------
52
public void setAllowRemoval(
53     Boolean JavaDoc newValue
54   ) {
55     refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:allowRemoval", 0, newValue);
56   }
57
58 // ----------------------------------------------------------------------------
59
// Instance/ImplAttributeGet0_1
60
// ----------------------------------------------------------------------------
61
public Integer JavaDoc getDefaultPositions (
62   ) {
63     return (Integer JavaDoc)this.refGetValue("defaultPositions", 0);
64   }
65 // ----------------------------------------------------------------------------
66
// Instance/ImplAttributeSet0_1
67
// ----------------------------------------------------------------------------
68
public void setDefaultPositions(
69     Integer JavaDoc newValue
70   ) {
71     refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:defaultPositions", 0, newValue);
72   }
73
74 // ----------------------------------------------------------------------------
75
// Instance/ImplAttributeGet0_1
76
// ----------------------------------------------------------------------------
77
public java.math.BigDecimal JavaDoc getDefaultQuantity (
78   ) {
79     return (java.math.BigDecimal JavaDoc)this.refGetValue("defaultQuantity", 0);
80   }
81 // ----------------------------------------------------------------------------
82
// Instance/ImplAttributeSet0_1
83
// ----------------------------------------------------------------------------
84
public void setDefaultQuantity(
85     java.math.BigDecimal JavaDoc newValue
86   ) {
87     refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:defaultQuantity", 0, newValue);
88   }
89
90 // ----------------------------------------------------------------------------
91
// Instance/ImplAttributeGet1_1
92
// ----------------------------------------------------------------------------
93
public int getItemNumber(
94   ) {
95     return getItemNumber(0);
96   }
97
98   protected int getItemNumber(
99     int index
100   ) {
101     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:product1:ContractPositionConstrained:itemNumber", index)).intValue();
102   }
103
104 // ----------------------------------------------------------------------------
105
// Instance/ImplAttributeSet1_1
106
// ----------------------------------------------------------------------------
107
public void setItemNumber(
108     int newValue
109   ) {
110     setItemNumber(0, newValue);
111   }
112
113   protected void setItemNumber(
114     int index,
115     int newValue
116   ) {
117     refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:itemNumber", index, new Integer JavaDoc(newValue));
118   }
119 // ----------------------------------------------------------------------------
120
// Instance/ImplAttributeGet0_1
121
// ----------------------------------------------------------------------------
122
public Integer JavaDoc getMaxPositions (
123   ) {
124     return (Integer JavaDoc)this.refGetValue("maxPositions", 0);
125   }
126 // ----------------------------------------------------------------------------
127
// Instance/ImplAttributeSet0_1
128
// ----------------------------------------------------------------------------
129
public void setMaxPositions(
130     Integer JavaDoc newValue
131   ) {
132     refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:maxPositions", 0, newValue);
133   }
134
135 // ----------------------------------------------------------------------------
136
// Instance/ImplAttributeGet0_1
137
// ----------------------------------------------------------------------------
138
public java.math.BigDecimal JavaDoc getMaxQuantity (
139   ) {
140     return (java.math.BigDecimal JavaDoc)this.refGetValue("maxQuantity", 0);
141   }
142 // ----------------------------------------------------------------------------
143
// Instance/ImplAttributeSet0_1
144
// ----------------------------------------------------------------------------
145
public void setMaxQuantity(
146     java.math.BigDecimal JavaDoc newValue
147   ) {
148     refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:maxQuantity", 0, newValue);
149   }
150
151 // ----------------------------------------------------------------------------
152
// Instance/ImplAttributeGet1_1
153
// ----------------------------------------------------------------------------
154
public short getMinMaxQuantityHandling(
155   ) {
156     return getMinMaxQuantityHandling(0);
157   }
158
159   protected short getMinMaxQuantityHandling(
160     int index
161   ) {
162     return ((java.lang.Number JavaDoc)this.refGetValue("org:opencrx:kernel:product1:ContractPositionConstrained:minMaxQuantityHandling", index)).shortValue();
163   }
164
165 // ----------------------------------------------------------------------------
166
// Instance/ImplAttributeSet1_1
167
// ----------------------------------------------------------------------------
168
public void setMinMaxQuantityHandling(
169     short newValue
170   ) {
171     setMinMaxQuantityHandling(0, newValue);
172   }
173
174   protected void setMinMaxQuantityHandling(
175     int index,
176     short newValue
177   ) {
178     refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:minMaxQuantityHandling", index, new Short JavaDoc(newValue));
179   }
180 // ----------------------------------------------------------------------------
181
// Instance/ImplAttributeGet0_1
182
// ----------------------------------------------------------------------------
183
public Integer JavaDoc getMinPositions (
184   ) {
185     return (Integer JavaDoc)this.refGetValue("minPositions", 0);
186   }
187 // ----------------------------------------------------------------------------
188
// Instance/ImplAttributeSet0_1
189
// ----------------------------------------------------------------------------
190
public void setMinPositions(
191     Integer JavaDoc newValue
192   ) {
193     refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:minPositions", 0, newValue);
194   }
195
196 // ----------------------------------------------------------------------------
197
// Instance/ImplAttributeGet0_1
198
// ----------------------------------------------------------------------------
199
public java.math.BigDecimal JavaDoc getMinQuantity (
200   ) {
201     return (java.math.BigDecimal JavaDoc)this.refGetValue("minQuantity", 0);
202   }
203 // ----------------------------------------------------------------------------
204
// Instance/ImplAttributeSet0_1
205
// ----------------------------------------------------------------------------
206
public void setMinQuantity(
207     java.math.BigDecimal JavaDoc newValue
208   ) {
209     refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:minQuantity", 0, newValue);
210   }
211
212 // ----------------------------------------------------------------------------
213
// Instance/ImplAttributeGet0_1
214
// ----------------------------------------------------------------------------
215
public java.math.BigDecimal JavaDoc getOffsetQuantity (
216   ) {
217     return (java.math.BigDecimal JavaDoc)this.refGetValue("offsetQuantity", 0);
218   }
219 // ----------------------------------------------------------------------------
220
// Instance/ImplAttributeSet0_1
221
// ----------------------------------------------------------------------------
222
public void setOffsetQuantity(
223     java.math.BigDecimal JavaDoc newValue
224   ) {
225     refSetValue("org:opencrx:kernel:product1:ContractPositionConstrained:offsetQuantity", 0, newValue);
226   }
227
228 // ----------------------------------------------------------------------------
229
// Instance/ImplEnd
230
// ----------------------------------------------------------------------------
231
}
232
Popular Tags