-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtransferBank
More file actions
236 lines (234 loc) · 5.54 KB
/
transferBank
File metadata and controls
236 lines (234 loc) · 5.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
package transferencia;
import com.ibm.ws.ejbpersistence.beanextensions.*;
import com.ibm.websphere.cpmi.*;
/**
* Bean implementation class for Enterprise Bean: Movimiento
*/
public class ConcreteMovimiento extends transferencia.MovimientoBean implements javax.ejb.EntityBean, ConcreteBean {
/**
* setEntityContext
*/
public void setEntityContext(javax.ejb.EntityContext ctx) {
super.setEntityContext(ctx);
instanceExtension.setEntityContext(ctx);
}
/**
* unsetEntityContext
*/
public void unsetEntityContext() {
super.unsetEntityContext();
instanceExtension.unsetEntityContext();
}
/**
* ejbActivate
*/
public void ejbActivate() {
super.ejbActivate();
instanceExtension.ejbActivate();
}
/**
* ejbLoad
*/
public void ejbLoad() {
instanceExtension.ejbLoad();
}
/**
* ejbPassivate
*/
public void ejbPassivate() {
super.ejbPassivate();
instanceExtension.ejbPassivate();
}
/**
* ejbRemove
*/
public void ejbRemove() throws javax.ejb.RemoveException {
super.ejbRemove();
instanceExtension.ejbRemove();
}
/**
* ejbStore
*/
public void ejbStore() {
super.ejbStore();
instanceExtension.ejbStore();
}
private ConcreteBeanInstanceExtension instanceExtension;
/**
* _WSCB_getInstanceInfo
*/
public PMConcreteBeanInstanceInfo _WSCB_getInstanceInfo() {
return instanceExtension;
}
/**
* ConcreteMovimiento_3a05e904
*/
public ConcreteMovimiento_3a05e904() {
super();
instanceExtension = ConcreteBeanInstanceExtensionFactory.getInstance(this);
}
/**
* getInjector
*/
private transferencia.websphere_deploy.MovimientoBeanInjector_3a05e904 getInjector() {
return (transferencia.websphere_deploy.MovimientoBeanInjector_3a05e904)instanceExtension.getInjector();
}
/**
* hydrate
*/
public void hydrate(Object inRecord) {
transferencia.websphere_deploy.MovimientoBeanCacheEntry_3a05e904 record = (transferencia.websphere_deploy.MovimientoBeanCacheEntry_3a05e904) inRecord;;
id = record.getId();
fecha = record.getFecha();
monto = record.getMonto();
tipo = record.getTipo();
id_cuenta = record.getId_cuenta();
super.ejbLoad();
}
/**
* resetCMP
*/
public void resetCMP() {
id = 0;
fecha = null;
monto = 0.0;
tipo = null;
id_cuenta = 0;
}
/**
* resetCMR
*/
public void resetCMR() {
}
/**
* ejbFindByPrimaryKey
*/
public transferencia.MovimientoKey ejbFindByPrimaryKey(transferencia.MovimientoKey primaryKey) throws javax.ejb.FinderException {
return (transferencia.MovimientoKey)instanceExtension.ejbFindByPrimaryKey(primaryKey);
}
/**
* ejbFindByPrimaryKey
*/
public Object ejbFindByPrimaryKey(java.lang.Object pk) throws javax.ejb.FinderException {
return ejbFindByPrimaryKey((transferencia.MovimientoKey)pk);
}
/**
* ejbFindByPrimaryKeyForCMR_Local
*/
public transferencia.MovimientoKey ejbFindByPrimaryKeyForCMR_Local(transferencia.MovimientoKey pk) throws javax.ejb.FinderException {
return (transferencia.MovimientoKey)instanceExtension.ejbFindByPrimaryKey(pk);
}
/**
* ejbCreate
*/
public transferencia.MovimientoKey ejbCreate(long id, double monto, java.lang.String tipo, int cta) throws javax.ejb.CreateException {
super.ejbCreate(id, monto, tipo, cta);
return (transferencia.MovimientoKey)instanceExtension.ejbCreate();
}
/**
* ejbPostCreate
*/
public void ejbPostCreate(long id, double monto, java.lang.String tipo, int cta) throws javax.ejb.CreateException {
super.ejbPostCreate(id, monto, tipo, cta);
instanceExtension.ejbPostCreate();
}
/**
* createPrimaryKey
*/
public Object createPrimaryKey() {
transferencia.MovimientoKey pk = new transferencia.MovimientoKey();
pk.id = this.id;
return pk;
}
/**
* getNumberOfFields
*/
public int getNumberOfFields() {
return 5;
}
/**
* Implementation field for persistent attribute: id
*/
public long id;
/**
* Get accessor for persistent attribute: id
*/
public long getId() {
return id;
}
/**
* Set accessor for persistent attribute: id
*/
public void setId(long newId) {
instanceExtension.markDirty(0,id,newId);
id = newId;
}
/**
* Implementation field for persistent attribute: fecha
*/
public java.sql.Date fecha;
/**
* Get accessor for persistent attribute: fecha
*/
public java.sql.Date getFecha() {
return fecha;
}
/**
* Set accessor for persistent attribute: fecha
*/
public void setFecha(java.sql.Date newFecha) {
instanceExtension.markDirty(1,fecha,newFecha);
fecha = newFecha;
}
/**
* Implementation field for persistent attribute: monto
*/
public double monto;
/**
* Get accessor for persistent attribute: monto
*/
public double getMonto() {
return monto;
}
/**
* Set accessor for persistent attribute: monto
*/
public void setMonto(double newMonto) {
instanceExtension.markDirty(2,monto,newMonto);
monto = newMonto;
}
/**
* Implementation field for persistent attribute: tipo
*/
public java.lang.String tipo;
/**
* Get accessor for persistent attribute: tipo
*/
public java.lang.String getTipo() {
return tipo;
}
/**
* Set accessor for persistent attribute: tipo
*/
public void setTipo(java.lang.String newTipo) {
instanceExtension.markDirty(3,tipo,newTipo);
tipo = newTipo;
}
/**
* Implementation field for persistent attribute: id_cuenta
*/
public int id_cuenta;
/**
* Get accessor for persistent attribute: id_cuenta
*/
public int getId_cuenta() {
return id_cuenta;
}
/**
* Set accessor for persistent attribute: id_cuenta
*/
public void setId_cuenta(int newId_cuenta) {
instanceExtension.markDirty(4,id_cuenta,newId_cuenta);
id_cuenta = newId_cuenta;
}
}