com.rabbitmq.tools.jsonrpc
Class ParameterDescription

java.lang.Object
  extended by 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".
 
Constructor Summary
ParameterDescription()
           
ParameterDescription(int index, java.lang.Class<?> c)
           
ParameterDescription(java.util.Map<java.lang.String,java.lang.Object> pm)
           
 
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
 

Field Detail

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".

Constructor Detail

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)
Method Detail

lookup

public static java.lang.String lookup(java.lang.Class<?> c)