com.rabbitmq.tools.jsonrpc
Class ParameterDescription
java.lang.Object
com.rabbitmq.tools.jsonrpc.ParameterDescription
public class ParameterDescription
- extends java.lang.Object
Description of a single JSON-RPC procedure parameter.
Field Summary |
java.lang.String |
name
The parameter name. |
java.lang.String |
type
The parameter type - one of "bit", "num", "str", "arr",
"obj", "any" or "nil". |
Method Summary |
static java.lang.String |
lookup(java.lang.Class<?> c)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public java.lang.String name
- The parameter name.
type
public java.lang.String type
- The parameter type - one of "bit", "num", "str", "arr",
"obj", "any" or "nil".
ParameterDescription
public ParameterDescription()
ParameterDescription
public ParameterDescription(java.util.Map<java.lang.String,java.lang.Object> pm)
ParameterDescription
public ParameterDescription(int index,
java.lang.Class<?> c)
lookup
public static java.lang.String lookup(java.lang.Class<?> c)