org.apache.qpid.console
Class MethodResult

java.lang.Object
  extended by org.apache.qpid.console.MethodResult

public class MethodResult
extends Object


Field Summary
protected  HashMap<String,Object> returnValues
           
 
Constructor Summary
MethodResult(long aCode, String aMsg, HashMap<String,Object> args)
           
 
Method Summary
 long getReturnCode()
           
 Object getReturnValue(String name)
           
 HashMap<String,Object> getReturnValues()
           
 String getText()
           
 void setReturnCode(long value)
           
 void setText(String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

returnValues

protected HashMap<String,Object> returnValues
Constructor Detail

MethodResult

public MethodResult(long aCode,
                    String aMsg,
                    HashMap<String,Object> args)
Method Detail

getReturnCode

public long getReturnCode()

getReturnValue

public Object getReturnValue(String name)

getReturnValues

public HashMap<String,Object> getReturnValues()

getText

public String getText()

setReturnCode

public void setReturnCode(long value)

setText

public void setText(String value)

toString

public String toString()
Overrides:
toString in class Object


Licensed to the Apache Software Foundation