KickJava   Java API By Example, From Geeks To Geeks.

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


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:56 CEST 2006
9
//
10
// GENERATED - DO NOT CHANGE MANUALLY
11
//
12
//////////////////////////////////////////////////////////////////////////////
13
package org.opencrx.kernel.depot1.cci;
14
15 public class DepotReportItemPositionClassImpl
16   extends org.openmdx.base.accessor.jmi.spi.RefClass_1
17   implements DepotReportItemPositionClass {
18
19   public DepotReportItemPositionClassImpl(
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:DepotReportItemPosition";
28   }
29
30   public DepotReportItemPosition getDepotReportItemPosition(
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         DepotReportItemPosition target = (DepotReportItemPosition)refCreateInstance(
38           args
39         );
40         return target;
41       } else {
42         return (DepotReportItemPosition)((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 DepotReportItemPosition createDepotReportItemPosition(
55   ) {
56     DepotReportItemPosition target = (DepotReportItemPosition)refCreateInstance(
57       null
58     );
59     return target;
60   }
61 // ----------------------------------------------------------------------------
62
// ClassProxy/ImplInstanceCreatorRequiredAttributes
63
// ----------------------------------------------------------------------------
64
public DepotReportItemPosition createDepotReportItemPosition(
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 balanceBop
72     , java.math.BigDecimal JavaDoc balanceCredit
73     , java.math.BigDecimal JavaDoc balanceCreditBop
74     , java.math.BigDecimal JavaDoc balanceDebit
75     , java.math.BigDecimal JavaDoc balanceDebitBop
76   ) {
77     DepotReportItemPositionImpl _object = (DepotReportItemPositionImpl)createDepotReportItemPosition();
78     _object.setAccessLevelBrowse(accessLevelBrowse);
79     _object.setAccessLevelDelete(accessLevelDelete);
80     _object.setAccessLevelUpdate(accessLevelUpdate);
81     _object.setPositionName(positionName);
82     _object.setValueDate(valueDate);
83     _object.setBalance(balance);
84     _object.setBalanceBop(balanceBop);
85     _object.setBalanceCredit(balanceCredit);
86     _object.setBalanceCreditBop(balanceCreditBop);
87     _object.setBalanceDebit(balanceDebit);
88     _object.setBalanceDebitBop(balanceDebitBop);
89     return _object;
90   }
91
92 // ----------------------------------------------------------------------------
93
// ClassProxy/ImplInstanceExtenderRequiredAttributes
94
// ----------------------------------------------------------------------------
95
public DepotReportItemPosition extendSecureObject(
96       org.opencrx.kernel.base.cci.SecureObject _base
97     , String JavaDoc positionName
98     , java.util.Date JavaDoc valueDate
99     , java.math.BigDecimal JavaDoc balance
100     , java.math.BigDecimal JavaDoc balanceBop
101     , java.math.BigDecimal JavaDoc balanceCredit
102     , java.math.BigDecimal JavaDoc balanceCreditBop
103     , java.math.BigDecimal JavaDoc balanceDebit
104     , java.math.BigDecimal JavaDoc balanceDebitBop
105   ) {
106     DepotReportItemPositionImpl _object = (DepotReportItemPositionImpl)getDepotReportItemPosition(_base);
107     _object.setPositionName(positionName);
108     _object.setValueDate(valueDate);
109     _object.setBalance(balance);
110     _object.setBalanceBop(balanceBop);
111     _object.setBalanceCredit(balanceCredit);
112     _object.setBalanceCreditBop(balanceCreditBop);
113     _object.setBalanceDebit(balanceDebit);
114     _object.setBalanceDebitBop(balanceDebitBop);
115     return _object;
116   }
117
118 // ----------------------------------------------------------------------------
119
// ClassProxy/ImplInstanceExtenderRequiredAttributes
120
// ----------------------------------------------------------------------------
121
public DepotReportItemPosition extendDepotReportItem(
122       org.opencrx.kernel.depot1.cci.DepotReportItem _base
123     , java.math.BigDecimal JavaDoc balance
124     , java.math.BigDecimal JavaDoc balanceBop
125     , java.math.BigDecimal JavaDoc balanceCredit
126     , java.math.BigDecimal JavaDoc balanceCreditBop
127     , java.math.BigDecimal JavaDoc balanceDebit
128     , java.math.BigDecimal JavaDoc balanceDebitBop
129   ) {
130     DepotReportItemPositionImpl _object = (DepotReportItemPositionImpl)getDepotReportItemPosition(_base);
131     _object.setBalance(balance);
132     _object.setBalanceBop(balanceBop);
133     _object.setBalanceCredit(balanceCredit);
134     _object.setBalanceCreditBop(balanceCreditBop);
135     _object.setBalanceDebit(balanceDebit);
136     _object.setBalanceDebitBop(balanceDebitBop);
137     return _object;
138   }
139
140 // ----------------------------------------------------------------------------
141
// ClassProxy/ImplInstanceExtenderRequiredAttributes
142
// ----------------------------------------------------------------------------
143
public DepotReportItemPosition extendBasicObject(
144       org.openmdx.base.cci.BasicObject _base
145     , short accessLevelBrowse
146     , short accessLevelDelete
147     , short accessLevelUpdate
148     , String JavaDoc positionName
149     , java.util.Date JavaDoc valueDate
150     , java.math.BigDecimal JavaDoc balance
151     , java.math.BigDecimal JavaDoc balanceBop
152     , java.math.BigDecimal JavaDoc balanceCredit
153     , java.math.BigDecimal JavaDoc balanceCreditBop
154     , java.math.BigDecimal JavaDoc balanceDebit
155     , java.math.BigDecimal JavaDoc balanceDebitBop
156   ) {
157     DepotReportItemPositionImpl _object = (DepotReportItemPositionImpl)getDepotReportItemPosition(_base);
158     _object.setAccessLevelBrowse(accessLevelBrowse);
159     _object.setAccessLevelDelete(accessLevelDelete);
160     _object.setAccessLevelUpdate(accessLevelUpdate);
161     _object.setPositionName(positionName);
162     _object.setValueDate(valueDate);
163     _object.setBalance(balance);
164     _object.setBalanceBop(balanceBop);
165     _object.setBalanceCredit(balanceCredit);
166     _object.setBalanceCreditBop(balanceCreditBop);
167     _object.setBalanceDebit(balanceDebit);
168     _object.setBalanceDebitBop(balanceDebitBop);
169     return _object;
170   }
171
172 // ----------------------------------------------------------------------------
173
// ClassProxy/ImplInstanceExtenderRequiredAttributes
174
// ----------------------------------------------------------------------------
175
public DepotReportItemPosition extendContextCapable(
176       org.openmdx.base.cci.ContextCapable _base
177     , short accessLevelBrowse
178     , short accessLevelDelete
179     , short accessLevelUpdate
180     , String JavaDoc positionName
181     , java.util.Date JavaDoc valueDate
182     , java.math.BigDecimal JavaDoc balance
183     , java.math.BigDecimal JavaDoc balanceBop
184     , java.math.BigDecimal JavaDoc balanceCredit
185     , java.math.BigDecimal JavaDoc balanceCreditBop
186     , java.math.BigDecimal JavaDoc balanceDebit
187     , java.math.BigDecimal JavaDoc balanceDebitBop
188   ) {
189     DepotReportItemPositionImpl _object = (DepotReportItemPositionImpl)getDepotReportItemPosition(_base);
190     _object.setAccessLevelBrowse(accessLevelBrowse);
191     _object.setAccessLevelDelete(accessLevelDelete);
192     _object.setAccessLevelUpdate(accessLevelUpdate);
193     _object.setPositionName(positionName);
194     _object.setValueDate(valueDate);
195     _object.setBalance(balance);
196     _object.setBalanceBop(balanceBop);
197     _object.setBalanceCredit(balanceCredit);
198     _object.setBalanceCreditBop(balanceCreditBop);
199     _object.setBalanceDebit(balanceDebit);
200     _object.setBalanceDebitBop(balanceDebitBop);
201     return _object;
202   }
203
204 // ----------------------------------------------------------------------------
205
// ClassProxy/ImplInstanceExtenderRequiredAttributes
206
// ----------------------------------------------------------------------------
207
public DepotReportItemPosition extendExtentCapable(
208       org.openmdx.base.cci.ExtentCapable _base
209     , short accessLevelBrowse
210     , short accessLevelDelete
211     , short accessLevelUpdate
212     , String JavaDoc positionName
213     , java.util.Date JavaDoc valueDate
214     , java.math.BigDecimal JavaDoc balance
215     , java.math.BigDecimal JavaDoc balanceBop
216     , java.math.BigDecimal JavaDoc balanceCredit
217     , java.math.BigDecimal JavaDoc balanceCreditBop
218     , java.math.BigDecimal JavaDoc balanceDebit
219     , java.math.BigDecimal JavaDoc balanceDebitBop
220   ) {
221     DepotReportItemPositionImpl _object = (DepotReportItemPositionImpl)getDepotReportItemPosition(_base);
222     _object.setAccessLevelBrowse(accessLevelBrowse);
223     _object.setAccessLevelDelete(accessLevelDelete);
224     _object.setAccessLevelUpdate(accessLevelUpdate);
225     _object.setPositionName(positionName);
226     _object.setValueDate(valueDate);
227     _object.setBalance(balance);
228     _object.setBalanceBop(balanceBop);
229     _object.setBalanceCredit(balanceCredit);
230     _object.setBalanceCreditBop(balanceCreditBop);
231     _object.setBalanceDebit(balanceDebit);
232     _object.setBalanceDebitBop(balanceDebitBop);
233     return _object;
234   }
235
236 // ----------------------------------------------------------------------------
237
// ClassProxy/ImplInstanceExtenderRequiredAttributes
238
// ----------------------------------------------------------------------------
239
public DepotReportItemPosition 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 balanceBop
248     , java.math.BigDecimal JavaDoc balanceCredit
249     , java.math.BigDecimal JavaDoc balanceCreditBop
250     , java.math.BigDecimal JavaDoc balanceDebit
251     , java.math.BigDecimal JavaDoc balanceDebitBop
252   ) {
253     DepotReportItemPositionImpl _object = (DepotReportItemPositionImpl)getDepotReportItemPosition(_base);
254     _object.setAccessLevelBrowse(accessLevelBrowse);
255     _object.setAccessLevelDelete(accessLevelDelete);
256     _object.setAccessLevelUpdate(accessLevelUpdate);
257     _object.setPositionName(positionName);
258     _object.setValueDate(valueDate);
259     _object.setBalance(balance);
260     _object.setBalanceBop(balanceBop);
261     _object.setBalanceCredit(balanceCredit);
262     _object.setBalanceCreditBop(balanceCreditBop);
263     _object.setBalanceDebit(balanceDebit);
264     _object.setBalanceDebitBop(balanceDebitBop);
265     return _object;
266   }
267
268 // ----------------------------------------------------------------------------
269
// ClassProxy/ImplEnd.vm
270
// ----------------------------------------------------------------------------
271
}
272
Popular Tags