org.eclipse.ecf.remoteservice.client
Class RemoteCallParameterFactory
java.lang.Object
org.eclipse.ecf.remoteservice.client.RemoteCallParameterFactory
public class RemoteCallParameterFactory
- extends java.lang.Object
Factory for creating IRemoteCallParameter
instances.
- Since:
- 4.0
Method Summary |
static IRemoteCallParameter[] |
createParameters(java.util.Map nameValues)
The order given reflects in the order during call time, e.g. |
static IRemoteCallParameter[] |
createParameters(java.lang.String[] names,
java.lang.Object[] values)
|
static IRemoteCallParameter[] |
createParameters(java.lang.String name,
java.lang.Object value)
|
static IRemoteCallParameter[] |
createParameters(java.lang.String name1,
java.lang.Object value1,
java.lang.String name2,
java.lang.Object value2)
|
static IRemoteCallParameter[] |
createParameters(java.lang.String name1,
java.lang.Object value1,
java.lang.String name2,
java.lang.Object value2,
java.lang.String name3,
java.lang.Object value3)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteCallParameterFactory
public RemoteCallParameterFactory()
createParameters
public static IRemoteCallParameter[] createParameters(java.lang.String[] names,
java.lang.Object[] values)
createParameters
public static IRemoteCallParameter[] createParameters(java.lang.String name,
java.lang.Object value)
createParameters
public static IRemoteCallParameter[] createParameters(java.lang.String name1,
java.lang.Object value1,
java.lang.String name2,
java.lang.Object value2)
createParameters
public static IRemoteCallParameter[] createParameters(java.lang.String name1,
java.lang.Object value1,
java.lang.String name2,
java.lang.Object value2,
java.lang.String name3,
java.lang.Object value3)
createParameters
public static IRemoteCallParameter[] createParameters(java.util.Map nameValues)
- The order given reflects in the order during call time, e.g.
- model object A will be serialized to the first element, B to the second, ...
Make sure to use a LinkedHashMap that preserves insertion order!!!
- Parameters:
nameValues
-
- Returns:
- Map of params converted into a IRemoteCallParameter array