com.googlecode.jpattern.core.commandfacade
Class CommandFacadeResult<E>
java.lang.Object
com.googlecode.jpattern.core.commandfacade.CommandFacadeResult<E>
- All Implemented Interfaces:
- IResult, ICommandFacadeResult<E>, Serializable
public class CommandFacadeResult<E>
- extends Object
- implements ICommandFacadeResult<E>
- Author:
- Francesco Cina'
25 Feb 2011
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandFacadeResult
public CommandFacadeResult(ICommandResult aResult,
E aResultObject)
asString
public String asString()
- Specified by:
asString in interface ICommandFacadeResult<E>
getErrorMessages
public List<IErrorMessage> getErrorMessages()
- Specified by:
getErrorMessages in interface IResult
isValid
public boolean isValid()
- Specified by:
isValid in interface IResult
getReturnedObject
public E getReturnedObject()
- Specified by:
getReturnedObject in interface ICommandFacadeResult<E>
Copyright © 2011. All Rights Reserved.