com.ail.core.validator
Class ValidatorResult

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.validator.ValidatorResult
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class ValidatorResult
extends Type

Version:
$Revision: 1.3 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
ValidatorResult()
           
 
Method Summary
 void addFailureDetail(ValidatorFailureDetail failureDetail)
          Add an instance of ValidatorFailureDetail to the list associated with this object.
 java.util.Collection<ValidatorFailureDetail> getFailureDetail()
          Get the collection of instances of ValidatorFailureDetail associated with this object.
 ValidatorFailureDetail getFailureDetail(int i)
          Fetch a specific ValidatorFailureDetail from the collection by index number.
 int getFailureDetailCount()
          Get a count of the number of ValidatorFailureDetail instances associated with this object
 void removeFailureDetail(int i)
          Remove the element specified from the list.
 void removeFailureDetail(ValidatorFailureDetail failureDetail)
          Remove the specified instance of ValidatorFailureDetail from the list.
 void setFailureDetail(java.util.Collection<ValidatorFailureDetail> failureDetail)
          Set the collection of instances of ValidatorFailureDetail associated with this object.
 
Methods inherited from class com.ail.core.Type
addAttribute, clone, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatorResult

public ValidatorResult()
Method Detail

getFailureDetail

public java.util.Collection<ValidatorFailureDetail> getFailureDetail()
Get the collection of instances of ValidatorFailureDetail associated with this object.

Returns:
failureDetail A collection of instances of Excess
See Also:
setFailureDetail(java.util.Collection)

setFailureDetail

public void setFailureDetail(java.util.Collection<ValidatorFailureDetail> failureDetail)
Set the collection of instances of ValidatorFailureDetail associated with this object.

Parameters:
failureDetail - A collection of instances of Excess
See Also:
getFailureDetail()

getFailureDetailCount

public int getFailureDetailCount()
Get a count of the number of ValidatorFailureDetail instances associated with this object

Returns:
Number of instances

getFailureDetail

public ValidatorFailureDetail getFailureDetail(int i)
Fetch a specific ValidatorFailureDetail from the collection by index number.

Parameters:
i - Index of element to return
Returns:
The instance of ValidatorFailureDetail at the specified index

removeFailureDetail

public void removeFailureDetail(int i)
Remove the element specified from the list.

Parameters:
i - Index of element to remove

removeFailureDetail

public void removeFailureDetail(ValidatorFailureDetail failureDetail)
Remove the specified instance of ValidatorFailureDetail from the list.

Parameters:
failureDetail - Instance to be removed

addFailureDetail

public void addFailureDetail(ValidatorFailureDetail failureDetail)
Add an instance of ValidatorFailureDetail to the list associated with this object.

Parameters:
failureDetail - Instance to add to list