com.googlecode.jpattern.gwt.client.event
Class EventResult<T>

java.lang.Object
  extended by com.googlecode.jpattern.gwt.client.event.EventResult<T>
All Implemented Interfaces:
IEventResult<T>, com.googlecode.jpattern.shared.result.facade.ICommandFacadeResult<T>, com.googlecode.jpattern.shared.result.IResult, Serializable

public class EventResult<T>
extends Object
implements IEventResult<T>

Author:
Francesco Cina' 09/mag/2011
See Also:
Serialized Form

Constructor Summary
EventResult(com.googlecode.jpattern.shared.result.IResult commandResult, T resultObject)
           
 
Method Summary
 List<com.googlecode.jpattern.shared.result.IErrorMessage> getErrorMessages()
           
 T getReturnedObject()
           
 boolean isValid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventResult

public EventResult(com.googlecode.jpattern.shared.result.IResult commandResult,
                   T resultObject)
Method Detail

getErrorMessages

public List<com.googlecode.jpattern.shared.result.IErrorMessage> getErrorMessages()
Specified by:
getErrorMessages in interface com.googlecode.jpattern.shared.result.IResult

getReturnedObject

public T getReturnedObject()
Specified by:
getReturnedObject in interface com.googlecode.jpattern.shared.result.facade.ICommandFacadeResult<T>

isValid

public boolean isValid()
Specified by:
isValid in interface IEventResult<T>


Copyright © 2011. All Rights Reserved.