nl.knowledgeplaza.util
Class BatchResult

java.lang.Object
  extended by nl.knowledgeplaza.util.BatchResult

public class BatchResult
extends Object


Nested Class Summary
 class BatchResult.Item
           
 
Constructor Summary
BatchResult()
           
 
Method Summary
 BatchResult addError(BatchResult.Item value)
           
 BatchResult addInfo(String key, Object value)
           
 BatchResult addWarning(BatchResult.Item value)
           
 int getErrorCount()
           
 List<String> getErrorsAsListOfString()
           
 int getWarningCount()
           
 BatchResult merge(BatchResult value)
           
 void moveWarningsToErrors()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchResult

public BatchResult()
Method Detail

addInfo

public BatchResult addInfo(String key,
                           Object value)

merge

public BatchResult merge(BatchResult value)
Parameters:
value -

addError

public BatchResult addError(BatchResult.Item value)

getErrorCount

public int getErrorCount()

getErrorsAsListOfString

public List<String> getErrorsAsListOfString()
Returns:

addWarning

public BatchResult addWarning(BatchResult.Item value)

getWarningCount

public int getWarningCount()

moveWarningsToErrors

public void moveWarningsToErrors()


Copyright © 2012 KnowledgePlaza. All Rights Reserved.