JavaGantt 2011.1 API

eu.beesoft.gaia.validation
Class ValidationResult

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<ValidationError>
              extended by eu.beesoft.gaia.validation.ValidationResult
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<ValidationError>, java.util.Collection<ValidationError>, java.util.List<ValidationError>, java.util.RandomAccess

public class ValidationResult
extends java.util.ArrayList<ValidationError>

A container for all validation errors from one validation process.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ValidationResult()
          Creates a new instance of the validation result.
 
Method Summary
 ValidationError addError(java.lang.Object source, java.lang.String message)
          Creates a new instance of ValidationError and appends it to this.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

ValidationResult

public ValidationResult()
Creates a new instance of the validation result.

Method Detail

addError

public ValidationError addError(java.lang.Object source,
                                java.lang.String message)
Creates a new instance of ValidationError and appends it to this.

Parameters:
source - - source for validation error
message - - message for validation error
Returns:
this instance

JavaGantt 2011.1 API