Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.apache.cayenne.validation.ValidationFailure

Packages that use ValidationFailure
org.apache.cayenne.configuration |
org.apache.cayenne.validation |

Uses of ValidationFailure in org.apache.cayenne.configuration

Fields in org.apache.cayenne.configuration with type parameters of type ValidationFailure
`protected java.util.Collection<ValidationFailure>` | `ConfigurationTree.loadFailures`

Methods in org.apache.cayenne.configuration that return types with arguments of type ValidationFailure
`java.util.Collection<ValidationFailure>` | `ConfigurationTree.getLoadFailures()`

Constructor parameters in org.apache.cayenne.configuration with type arguments of type ValidationFailure
`ConfigurationTree(T rootNode, java.util.Collection<ValidationFailure> loadFailures)`

Uses of ValidationFailure in org.apache.cayenne.validation

Classes in org.apache.cayenne.validation that implement ValidationFailure
`class` | `BeanValidationFailure` ValidationFailure implementation that described a failure of a single named property of a Java Bean object.
`class` | `SimpleValidationFailure` Represents a generic validation failure that contains failed object and a message describing the failure.

Methods in org.apache.cayenne.validation that return ValidationFailure
`static ValidationFailure` | `BeanValidationFailure.validateJavaClassName(java.lang.Object bean, java.lang.String attribute, java.lang.String identifier)` A utility method that checks that a given string is a valid Java full class name, returning a non-null ValidationFailure if this is not so.
`static ValidationFailure` | `BeanValidationFailure.validateMandatory(java.lang.Object bean, java.lang.String attribute)`
`static ValidationFailure` | `BeanValidationFailure.validateMandatory(java.lang.Object bean, java.lang.String attribute, java.lang.Object value)`
`static ValidationFailure` | `BeanValidationFailure.validateNotEmpty(java.lang.Object bean, java.lang.String attribute, java.util.Collection<?> value)` Returns a ValidationFailure if a collection attribute of an object is null or empty.
`static ValidationFailure` | `BeanValidationFailure.validateNotEmpty(java.lang.Object bean, java.lang.String attribute, java.lang.String value)` A utility method that returns a ValidationFailure if a string is either null or has a length of zero; otherwise returns null.
`static ValidationFailure` | `BeanValidationFailure.validateNotNull(java.lang.Object bean, java.lang.String attribute, java.lang.Object value)`

Methods in org.apache.cayenne.validation that return types with arguments of type ValidationFailure
`java.util.List<ValidationFailure>` | `ValidationResult.getFailures()` Returns all failures added to this result, or empty list is result has no failures.
`java.util.List<ValidationFailure>` | `ValidationResult.getFailures(java.lang.Object source)` Returns all failures related to the `source` object, or an empty list if there are no such failures.

Methods in org.apache.cayenne.validation with parameters of type ValidationFailure
`void` | `ValidationResult.addFailure(ValidationFailure failure)` Add a failure to the validation result.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.