# Uses of Class
org.apache.cayenne.validation.ValidationResult

Packages that use ValidationResult
Package
Description
org.apache.cayenne
Contains persistence APIs directly accessible by users.
org.apache.cayenne.access
Contains classes that make up Cayenne ORM stack.
org.apache.cayenne.validation

- ## Uses of ValidationResult in org.apache.cayenne

  Methods in org.apache.cayenne with parameters of type ValidationResult
  Modifier and Type
  Method
  Description
  `void`
  PersistentObject.`validateForDelete(ValidationResult validationResult)`
  This implementation does nothing.
  `void`
  Validating.`validateForDelete(ValidationResult validationResult)`
  Performs property validation of the DELETED object, appending any validation failures to the provided validationResult object.
  `void`
  PersistentObject.`validateForInsert(ValidationResult validationResult)`
  Calls `PersistentObject.validateForSave(ValidationResult)`.
  `void`
  Validating.`validateForInsert(ValidationResult validationResult)`
  Performs property validation of the NEW object, appending any validation failures to the provided validationResult object.
  `protected void`
  PersistentObject.`validateForSave(ValidationResult validationResult)`
  Performs property validation of the object, appending any validation failures to the provided validationResult object.
  `void`
  PersistentObject.`validateForUpdate(ValidationResult validationResult)`
  Calls `PersistentObject.validateForSave(ValidationResult)`.
  `void`
  Validating.`validateForUpdate(ValidationResult validationResult)`
  Performs property validation of the MODIFIED object, appending any validation failures to the provided validationResult object.

- ## Uses of ValidationResult in org.apache.cayenne.access

  Fields in org.apache.cayenne.access declared as ValidationResult
  Modifier and Type
  Field
  Description
  `protected ValidationResult`
  DbGenerator.`failures`
  Methods in org.apache.cayenne.access that return ValidationResult
  Modifier and Type
  Method
  Description
  `ValidationResult`
  DbGenerator.`getFailures()`
  Returns an object representing a collection of failures that occurred on the last "runGenerator" invocation, or null if there were no failures.

- ## Uses of ValidationResult in org.apache.cayenne.validation

  Methods in org.apache.cayenne.validation that return ValidationResult
  Modifier and Type
  Method
  Description
  `ValidationResult`
  ValidationException.`getValidationResult()`
  Constructors in org.apache.cayenne.validation with parameters of type ValidationResult
  Modifier
  Constructor
  Description
  ``
  `ValidationException(String messageFormat, ValidationResult result, Object... messageArgs)`
  ``
  `ValidationException(ValidationResult result)`