org.beanfabrics.validation
Class CompositeValidationState
java.lang.Object
org.beanfabrics.validation.ValidationState
org.beanfabrics.validation.CompositeValidationState
public class CompositeValidationState
- extends ValidationState
- Author:
- Michael Karneim
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
CompositeValidationState
public CompositeValidationState(java.lang.String message,
ValidationState... states)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
CompositeValidationState
public CompositeValidationState(java.lang.String message,
java.util.Collection<ValidationState> states)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
getChildren
public java.util.List<ValidationState> getChildren()
equals
public boolean equals(java.lang.Object o)
- Description copied from class:
ValidationState
- Returns
true when this instance is equal to the given
object.
- Overrides:
equals in class ValidationState
- Parameters:
o - Object to compare this instance to
- Returns:
- boolean
true if this instance and the given object
are equal, else false
hashCode
public int hashCode()
- Description copied from class:
ValidationState
-
- Overrides:
hashCode in class ValidationState
© 2010 by Michael Karneim, http://www.beanfabrics.org