org.jboss.portal.common.command.result
Class SimpleResult

java.lang.Object
  extended by org.jboss.portal.common.command.result.SimpleResult
All Implemented Interfaces:
Result

public class SimpleResult
extends java.lang.Object
implements Result


Constructor Summary
SimpleResult(ResultType type)
           
 
Method Summary
 java.lang.Object get(java.lang.String key)
           
 ResultType getType()
           
 void put(java.lang.String key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleResult

public SimpleResult(ResultType type)
Method Detail

put

public void put(java.lang.String key,
                java.lang.Object value)

get

public java.lang.Object get(java.lang.String key)

getType

public ResultType getType()
Specified by:
getType in interface Result