com.googlecode.jpattern.shared.command
Class BaseCommandResult

java.lang.Object
  extended by com.googlecode.jpattern.shared.command.BaseCommandResult
All Implemented Interfaces:
IBaseCommandResult, IResult, Serializable

public class BaseCommandResult
extends Object
implements IBaseCommandResult

Author:
Francesco Cina' 29/gen/2011
See Also:
Serialized Form

Constructor Summary
BaseCommandResult()
           
 
Method Summary
 void addErrorMessage(IErrorMessage errorMessage)
           
 String asString()
           
 List<IErrorMessage> getErrorMessages()
           
 boolean isValid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseCommandResult

public BaseCommandResult()
Method Detail

getErrorMessages

public List<IErrorMessage> getErrorMessages()
Specified by:
getErrorMessages in interface IResult

addErrorMessage

public void addErrorMessage(IErrorMessage errorMessage)
Specified by:
addErrorMessage in interface IBaseCommandResult

isValid

public boolean isValid()
Specified by:
isValid in interface IBaseCommandResult

asString

public String asString()
Specified by:
asString in interface IBaseCommandResult


Copyright © 2011. All Rights Reserved.