KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opencrx > kernel > depot1 > cci > DepotReportItemCreditClassImpl


1 // ----------------------------------------------------------------------------
2
// ClassProxy/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:57 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.depot1.cci;
14
15 public class DepotReportItemCreditClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements DepotReportItemCreditClass {
18
19   public DepotReportItemCreditClassImpl(
20     org.openmdx.base.accessor.jmi.cci.RefPackage_1_0 refPackage
21   ) {
22     super(refPackage);
23   }
24
25   public String JavaDoc refMofId(
26   ) {
27     return "org:opencrx:kernel:depot1:DepotReportItemCredit";
28   }
29
30   public DepotReportItemCredit getDepotReportItemCredit(
31     Object JavaDoc object
32   ) {
33     try {
34       if(object instanceof org.openmdx.base.accessor.jmi.cci.RefObject_1_0) {
35         java.util.List JavaDoc args = new java.util.ArrayList JavaDoc();
36         args.add(object);
37         DepotReportItemCredit target = (DepotReportItemCredit)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (DepotReportItemCredit)((org.openmdx.base.accessor.jmi.cci.RefPackage_1_0)this.refOutermostPackage()).refObject(
43           object instanceof org.openmdx.compatibility.base.naming.Path
44             ? ((org.openmdx.compatibility.base.naming.Path)object).toXri()
45             : ((org.openmdx.base.accessor.generic.cci.Object_1_0)object).objGetPath().toXri()
46         );
47       }
48     }
49     catch(org.openmdx.base.exception.ServiceException e) {
50         throw new org.openmdx.base.accessor.jmi.cci.JmiServiceException(e);
51     }
52   }
53
54   public DepotReportItemCredit createDepotReportItemCredit(
55   ) {
56     DepotReportItemCredit target = (DepotReportItemCredit)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public DepotReportItemCredit createDepotReportItemCredit(
65       short accessLevelBrowse
66     , short accessLevelDelete
67     , short accessLevelUpdate
68     , String JavaDoc positionName
69     , java.util.Date JavaDoc valueDate
70     , java.math.BigDecimal JavaDoc balance
71     , java.math.BigDecimal JavaDoc balanceCredit
72     , java.math.BigDecimal JavaDoc balanceDebit
73     , java.util.Date JavaDoc bookingDate
74     , java.math.BigDecimal JavaDoc quantityCredit
75   ) {
76     DepotReportItemCreditImpl _object = (DepotReportItemCreditImpl)createDepotReportItemCredit();
77     _object.setAccessLevelBrowse(accessLevelBrowse);
78     _object.setAccessLevelDelete(accessLevelDelete);
79     _object.setAccessLevelUpdate(accessLevelUpdate);
80     _object.setPositionName(positionName);
81     _object.setValueDate(valueDate);
82     _object.setBalance(balance);
83     _object.setBalanceCredit(balanceCredit);
84     _object.setBalanceDebit(balanceDebit);
85     _object.setBookingDate(bookingDate);
86     _object.setQuantityCredit(quantityCredit);
87     return _object;
88   }
89
90 // ----------------------------------------------------------------------------
91
// ClassProxy/ImplInstanceExtenderRequiredAttributes
92
// ----------------------------------------------------------------------------
93
public DepotReportItemCredit extendSecureObject(
94       org.opencrx.kernel.base.cci.SecureObject _base
95     , String JavaDoc positionName
96     , java.util.Date JavaDoc valueDate
97     , java.math.BigDecimal JavaDoc balance
98     , java.math.BigDecimal JavaDoc balanceCredit
99     , java.math.BigDecimal JavaDoc balanceDebit
100     , java.util.Date JavaDoc bookingDate
101     , java.math.BigDecimal JavaDoc quantityCredit
102   ) {
103     DepotReportItemCreditImpl _object = (DepotReportItemCreditImpl)getDepotReportItemCredit(_base);
104     _object.setPositionName(positionName);
105     _object.setValueDate(valueDate);
106     _object.setBalance(balance);
107     _object.setBalanceCredit(balanceCredit);
108     _object.setBalanceDebit(balanceDebit);
109     _object.setBookingDate(bookingDate);
110     _object.setQuantityCredit(quantityCredit);
111     return _object;
112   }
113
114 // ----------------------------------------------------------------------------
115
// ClassProxy/ImplInstanceExtenderRequiredAttributes
116
// ----------------------------------------------------------------------------
117
public DepotReportItemCredit extendDepotReportItem(
118       org.opencrx.kernel.depot1.cci.DepotReportItem _base
119     , java.math.BigDecimal JavaDoc balance
120     , java.math.BigDecimal JavaDoc balanceCredit
121     , java.math.BigDecimal JavaDoc balanceDebit
122     , java.util.Date JavaDoc bookingDate
123     , java.math.BigDecimal JavaDoc quantityCredit
124   ) {
125     DepotReportItemCreditImpl _object = (DepotReportItemCreditImpl)getDepotReportItemCredit(_base);
126     _object.setBalance(balance);
127     _object.setBalanceCredit(balanceCredit);
128     _object.setBalanceDebit(balanceDebit);
129     _object.setBookingDate(bookingDate);
130     _object.setQuantityCredit(quantityCredit);
131     return _object;
132   }
133
134 // ----------------------------------------------------------------------------
135
// ClassProxy/ImplInstanceExtenderRequiredAttributes
136
// ----------------------------------------------------------------------------
137
public DepotReportItemCredit extendDepotReportItemBooking(
138       org.opencrx.kernel.depot1.cci.DepotReportItemBooking _base
139     , java.math.BigDecimal JavaDoc quantityCredit
140   ) {
141     DepotReportItemCreditImpl _object = (DepotReportItemCreditImpl)getDepotReportItemCredit(_base);
142     _object.setQuantityCredit(quantityCredit);
143     return _object;
144   }
145
146 // ----------------------------------------------------------------------------
147
// ClassProxy/ImplInstanceExtenderRequiredAttributes
148
// ----------------------------------------------------------------------------
149
public DepotReportItemCredit extendBasicObject(
150       org.openmdx.base.cci.BasicObject _base
151     , short accessLevelBrowse
152     , short accessLevelDelete
153     , short accessLevelUpdate
154     , String JavaDoc positionName
155     , java.util.Date JavaDoc valueDate
156     , java.math.BigDecimal JavaDoc balance
157     , java.math.BigDecimal JavaDoc balanceCredit
158     , java.math.BigDecimal JavaDoc balanceDebit
159     , java.util.Date JavaDoc bookingDate
160     , java.math.BigDecimal JavaDoc quantityCredit
161   ) {
162     DepotReportItemCreditImpl _object = (DepotReportItemCreditImpl)getDepotReportItemCredit(_base);
163     _object.setAccessLevelBrowse(accessLevelBrowse);
164     _object.setAccessLevelDelete(accessLevelDelete);
165     _object.setAccessLevelUpdate(accessLevelUpdate);
166     _object.setPositionName(positionName);
167     _object.setValueDate(valueDate);
168     _object.setBalance(balance);
169     _object.setBalanceCredit(balanceCredit);
170     _object.setBalanceDebit(balanceDebit);
171     _object.setBookingDate(bookingDate);
172     _object.setQuantityCredit(quantityCredit);
173     return _object;
174   }
175
176 // ----------------------------------------------------------------------------
177
// ClassProxy/ImplInstanceExtenderRequiredAttributes
178
// ----------------------------------------------------------------------------
179
public DepotReportItemCredit extendContextCapable(
180       org.openmdx.base.cci.ContextCapable _base
181     , short accessLevelBrowse
182     , short accessLevelDelete
183     , short accessLevelUpdate
184     , String JavaDoc positionName
185     , java.util.Date JavaDoc valueDate
186     , java.math.BigDecimal JavaDoc balance
187     , java.math.BigDecimal JavaDoc balanceCredit
188     , java.math.BigDecimal JavaDoc balanceDebit
189     , java.util.Date JavaDoc bookingDate
190     , java.math.BigDecimal JavaDoc quantityCredit
191   ) {
192     DepotReportItemCreditImpl _object = (DepotReportItemCreditImpl)getDepotReportItemCredit(_base);
193     _object.setAccessLevelBrowse(accessLevelBrowse);
194     _object.setAccessLevelDelete(accessLevelDelete);
195     _object.setAccessLevelUpdate(accessLevelUpdate);
196     _object.setPositionName(positionName);
197     _object.setValueDate(valueDate);
198     _object.setBalance(balance);
199     _object.setBalanceCredit(balanceCredit);
200     _object.setBalanceDebit(balanceDebit);
201     _object.setBookingDate(bookingDate);
202     _object.setQuantityCredit(quantityCredit);
203     return _object;
204   }
205
206 // ----------------------------------------------------------------------------
207
// ClassProxy/ImplInstanceExtenderRequiredAttributes
208
// ----------------------------------------------------------------------------
209
public DepotReportItemCredit extendExtentCapable(
210       org.openmdx.base.cci.ExtentCapable _base
211     , short accessLevelBrowse
212     , short accessLevelDelete
213     , short accessLevelUpdate
214     , String JavaDoc positionName
215     , java.util.Date JavaDoc valueDate
216     , java.math.BigDecimal JavaDoc balance
217     , java.math.BigDecimal JavaDoc balanceCredit
218     , java.math.BigDecimal JavaDoc balanceDebit
219     , java.util.Date JavaDoc bookingDate
220     , java.math.BigDecimal JavaDoc quantityCredit
221   ) {
222     DepotReportItemCreditImpl _object = (DepotReportItemCreditImpl)getDepotReportItemCredit(_base);
223     _object.setAccessLevelBrowse(accessLevelBrowse);
224     _object.setAccessLevelDelete(accessLevelDelete);
225     _object.setAccessLevelUpdate(accessLevelUpdate);
226     _object.setPositionName(positionName);
227     _object.setValueDate(valueDate);
228     _object.setBalance(balance);
229     _object.setBalanceCredit(balanceCredit);
230     _object.setBalanceDebit(balanceDebit);
231     _object.setBookingDate(bookingDate);
232     _object.setQuantityCredit(quantityCredit);
233     return _object;
234   }
235
236 // ----------------------------------------------------------------------------
237
// ClassProxy/ImplInstanceExtenderRequiredAttributes
238
// ----------------------------------------------------------------------------
239
public DepotReportItemCredit extendViewCapable(
240       org.openmdx.compatibility.view1.cci.ViewCapable _base
241     , short accessLevelBrowse
242     , short accessLevelDelete
243     , short accessLevelUpdate
244     , String JavaDoc positionName
245     , java.util.Date JavaDoc valueDate
246     , java.math.BigDecimal JavaDoc balance
247     , java.math.BigDecimal JavaDoc balanceCredit
248     , java.math.BigDecimal JavaDoc balanceDebit
249     , java.util.Date JavaDoc bookingDate
250     , java.math.BigDecimal JavaDoc quantityCredit
251   ) {
252     DepotReportItemCreditImpl _object = (DepotReportItemCreditImpl)getDepotReportItemCredit(_base);
253     _object.setAccessLevelBrowse(accessLevelBrowse);
254     _object.setAccessLevelDelete(accessLevelDelete);
255     _object.setAccessLevelUpdate(accessLevelUpdate);
256     _object.setPositionName(positionName);
257     _object.setValueDate(valueDate);
258     _object.setBalance(balance);
259     _object.setBalanceCredit(balanceCredit);
260     _object.setBalanceDebit(balanceDebit);
261     _object.setBookingDate(bookingDate);
262     _object.setQuantityCredit(quantityCredit);
263     return _object;
264   }
265
266 // ----------------------------------------------------------------------------
267
// ClassProxy/ImplEnd.vm
268
// ----------------------------------------------------------------------------
269
}
270
Popular Tags