org.fishbolt.common.manager.ext
Interface IValidateManager<O extends IObject<?>,S>

Type Parameters:
O - object type to be validate
S - type which defines a severity level
All Superinterfaces:
IManager<O>

public interface IValidateManager<O extends IObject<?>,S>
extends IManager<O>

Validates and object.


Method Summary
 java.util.Collection<ValidationMessage<O,S>> validate(O object, S severity)
          Provides a collection of validation remarks.
 

Method Detail

validate

java.util.Collection<ValidationMessage<O,S>> validate(O object,
                                                      S severity)
Provides a collection of validation remarks. If there are no remarks then collection is empty.

Parameters:
object - object to be validates
severity - level to find the messages for
Returns:
collection of validation remarks