litesoft
Diff Revisions
49
vs
60
for /trunk/Java/GWT/OldServer/src/org/litesoft/GWT/forms/server/support/converters/SendableBooleanKeyValuePairConverter.java
|
@@ -3,7 +3,7 @@ |
3 |
3 |
|
|
4 |
4 |
|
import org.litesoft.GWT.forms.server.support.nonpublic.*; |
5 |
5 |
|
import org.litesoft.core.simpletypes.*; |
6 |
|
- |
import org.litesoft.rpcpassable.*; |
|
6 |
+ |
import java.io.*; |
7 |
7 |
|
import org.litesoft.ui_1_5.def.nonpublic.*; |
8 |
8 |
|
|
9 |
9 |
|
public class SendableBooleanKeyValuePairConverter extends AbstractSendableDataConverter |
|
@@ -49,12 +49,12 @@ |
49 |
49 |
|
return mEntries; |
50 |
50 |
|
} |
51 |
51 |
|
|
52 |
|
- |
protected RPCpassable convertNotNullToPassable( Object pValue ) |
|
52 |
+ |
protected Serializable convertNotNullToPassable( Object pValue ) |
53 |
53 |
|
{ |
54 |
54 |
|
return to_boolean( pValue ) ? mTruePair : mFalsePair; |
55 |
55 |
|
} |
56 |
56 |
|
|
57 |
|
- |
protected Object convertNotNullNotBoxedTypeFromPassable( RPCpassable pValue ) |
|
57 |
+ |
protected Object convertNotNullNotBoxedTypeFromPassable( Serializable pValue ) |
58 |
58 |
|
{ |
59 |
59 |
|
return (pValue instanceof SimpleKeyValuePair) ? // |
60 |
60 |
|
to_Boolean( ((SimpleKeyValuePair) pValue).getKey() ) : // |