litesoft
Diff Revisions
151
vs
849
for /trunk/Java/core/Anywhere/src/org/litesoft/bo/views/communication/VOSCresponseRow.java
|
@@ -2,14 +2,15 @@ |
2 |
2 |
|
package org.litesoft.bo.views.communication; |
3 |
3 |
|
|
4 |
4 |
|
import org.litesoft.bo.views.*; |
|
5 |
+ |
import org.litesoft.core.typeutils.*; |
5 |
6 |
|
|
6 |
7 |
|
public class VOSCresponseRow extends VOSCresponse |
7 |
8 |
|
{ |
8 |
|
- |
private IViewObject mRow; |
|
9 |
+ |
private static final long serialVersionUID = 1L; |
9 |
10 |
|
|
10 |
|
- |
/** |
11 |
|
- |
* @deprecated for Serialization |
12 |
|
- |
*/ |
|
11 |
+ |
private /* final */ IViewObject mRow; |
|
12 |
+ |
|
|
13 |
+ |
@SuppressWarnings({"deprecation", "UnusedDeclaration"}) @Deprecated /** for Serialization */ |
13 |
14 |
|
protected VOSCresponseRow() |
14 |
15 |
|
{ |
15 |
16 |
|
} |
|
@@ -19,9 +20,9 @@ |
19 |
20 |
|
mRow = pRow; |
20 |
21 |
|
} |
21 |
22 |
|
|
22 |
|
- |
@SuppressWarnings({"unchecked"}) @Override |
|
23 |
+ |
@Override |
23 |
24 |
|
public <V extends IViewObject> void call( FetchRowDataProviderCallBack<V> pCallBack ) |
24 |
25 |
|
{ |
25 |
|
- |
pCallBack.success( (V) mRow ); |
|
26 |
+ |
pCallBack.success( Cast.<V>it( mRow ) ); |
26 |
27 |
|
} |
27 |
28 |
|
} |