litesoft
Diff Revisions
49
vs
849
for /trunk/Java/core/Anywhere/src/org/litesoft/bo/views/communication/SCpayload.java
|
@@ -4,17 +4,17 @@ |
4 |
4 |
|
import java.io.*; |
5 |
5 |
|
|
6 |
6 |
|
import org.litesoft.bo.views.caching.*; |
|
7 |
+ |
import org.litesoft.core.typeutils.*; |
7 |
8 |
|
|
8 |
9 |
|
public final class SCpayload implements Serializable |
9 |
10 |
|
{ |
|
11 |
+ |
private static final long serialVersionUID = 1L; |
10 |
12 |
|
|
11 |
|
- |
private SCresponse mSCresponse; |
12 |
|
- |
private TemporalTrigger[] mTemporalTrigger; |
13 |
|
- |
private CacheID[] mInvalidCacheIDs; |
14 |
|
- |
|
15 |
|
- |
/** |
16 |
|
- |
* @deprecated for Serialization |
17 |
|
- |
*/ |
|
13 |
+ |
private /* final */ SCresponse mSCresponse; |
|
14 |
+ |
private /* final */ TemporalTrigger[] mTemporalTrigger; |
|
15 |
+ |
private /* final */ CacheID[] mInvalidCacheIDs; |
|
16 |
+ |
|
|
17 |
+ |
@SuppressWarnings({"deprecation", "UnusedDeclaration"}) @Deprecated /** for Serialization */ |
18 |
18 |
|
protected SCpayload() |
19 |
19 |
|
{ |
20 |
20 |
|
} |
|
@@ -26,10 +26,9 @@ |
26 |
26 |
|
mInvalidCacheIDs = pInvalidCacheIDs; |
27 |
27 |
|
} |
28 |
28 |
|
|
29 |
|
- |
@SuppressWarnings({"unchecked"}) |
30 |
29 |
|
public <T extends SCresponse> T getSCresponse() |
31 |
30 |
|
{ |
32 |
|
- |
return (T) mSCresponse; |
|
31 |
+ |
return Cast.it( mSCresponse ); |
33 |
32 |
|
} |
34 |
33 |
|
|
35 |
34 |
|
public TemporalTrigger[] getTemporalTriggers() |