Package org.hibernate.validator.internal.metadata.facets

Examples of org.hibernate.validator.internal.metadata.facets.Validatable


   *
   * @param validationContext The execution context
   * @param valueContext Collected information for single validation
   */
  private <T, U, V> void validateCascadedConstraints(ValidationContext<T> validationContext, ValueContext<U, V> valueContext) {
    Validatable validatable = valueContext.getCurrentValidatable();
    PathImpl originalPath = valueContext.getPropertyPath();
    Class<?> originalGroup = valueContext.getCurrentGroup();

    for ( Cascadable cascadable : validatable.getCascadables() ) {
      valueContext.appendNode( cascadable );
      valueContext.setCurrentGroup( cascadable.convertGroup( originalGroup ) );

      ElementType elementType = cascadable.getElementType();
      if ( isCascadeRequired(
View Full Code Here


   *
   * @param validationContext The execution context
   * @param valueContext Collected information for single validation
   */
  private <T, U, V> void validateCascadedConstraints(ValidationContext<T, ?> validationContext, ValueContext<U, V> valueContext) {
    Validatable validatable = valueContext.getCurrentValidatable();
    PathImpl originalPath = valueContext.getPropertyPath();
    Class<?> originalGroup = valueContext.getCurrentGroup();

    for ( Cascadable cascadable : validatable.getCascadables() ) {
      valueContext.appendNode( cascadable );
      valueContext.setCurrentGroup( cascadable.convertGroup( originalGroup ) );

      ElementType elementType = cascadable.getElementType();
      if ( isCascadeRequired(
View Full Code Here

   *
   * @param validationContext The execution context
   * @param valueContext Collected information for single validation
   */
  private void validateCascadedConstraints(ValidationContext<?> validationContext, ValueContext<?, ?> valueContext) {
    Validatable validatable = valueContext.getCurrentValidatable();
    PathImpl originalPath = valueContext.getPropertyPath();
    Class<?> originalGroup = valueContext.getCurrentGroup();

    for ( Cascadable cascadable : validatable.getCascadables() ) {
      valueContext.appendNode( cascadable );
      Class<?> group = cascadable.convertGroup( originalGroup );
      valueContext.setCurrentGroup( group );

      ElementType elementType = cascadable.getElementType();
View Full Code Here

   * @param validationContext The execution context
   * @param valueContext Collected information for single validation
   */
  @SuppressWarnings( "unchecked" )
  private void validateCascadedConstraints(ValidationContext<?> validationContext, ValueContext valueContext) {
    Validatable validatable = valueContext.getCurrentValidatable();
    PathImpl originalPath = valueContext.getPropertyPath();
    Class<?> originalGroup = valueContext.getCurrentGroup();

    for ( Cascadable cascadable : validatable.getCascadables() ) {
      valueContext.appendNode( cascadable );
      Class<?> group = cascadable.convertGroup( originalGroup );
      valueContext.setCurrentGroup( group );

      ElementType elementType = cascadable.getElementType();
View Full Code Here

   *
   * @param validationContext The execution context
   * @param valueContext Collected information for single validation
   */
  private void validateCascadedConstraints(ValidationContext<?> validationContext, ValueContext<?, Object> valueContext) {
    Validatable validatable = valueContext.getCurrentValidatable();
    PathImpl originalPath = valueContext.getPropertyPath();
    Class<?> originalGroup = valueContext.getCurrentGroup();

    for ( Cascadable cascadable : validatable.getCascadables() ) {
      valueContext.appendNode( cascadable );
      Class<?> group = cascadable.convertGroup( originalGroup );
      valueContext.setCurrentGroup( group );

      ElementType elementType = cascadable.getElementType();
View Full Code Here

   *
   * @param validationContext The execution context
   * @param valueContext Collected information for single validation
   */
  private void validateCascadedConstraints(ValidationContext<?> validationContext, ValueContext<?, ?> valueContext) {
    Validatable validatable = valueContext.getCurrentValidatable();
    PathImpl originalPath = valueContext.getPropertyPath();
    Class<?> originalGroup = valueContext.getCurrentGroup();

    for ( Cascadable cascadable : validatable.getCascadables() ) {
      valueContext.appendNode( cascadable );
      Class<?> group = cascadable.convertGroup( originalGroup );
      valueContext.setCurrentGroup( group );

      ElementType elementType = cascadable.getElementType();
View Full Code Here

   *
   * @param validationContext The execution context
   * @param valueContext Collected information for single validation
   */
  private void validateCascadedConstraints(ValidationContext<?> validationContext, ValueContext<?, ?> valueContext) {
    Validatable validatable = valueContext.getCurrentValidatable();
    PathImpl originalPath = valueContext.getPropertyPath();
    Class<?> originalGroup = valueContext.getCurrentGroup();

    for ( Cascadable cascadable : validatable.getCascadables() ) {
      valueContext.appendNode( cascadable );
      Class<?> group = cascadable.convertGroup( originalGroup );
      valueContext.setCurrentGroup( group );

      ElementType elementType = cascadable.getElementType();
View Full Code Here

   *
   * @param validationContext The execution context
   * @param valueContext Collected information for single validation
   */
  private void validateCascadedConstraints(ValidationContext<?> validationContext, ValueContext<?, ?> valueContext) {
    Validatable validatable = valueContext.getCurrentValidatable();
    PathImpl originalPath = valueContext.getPropertyPath();
    Class<?> originalGroup = valueContext.getCurrentGroup();

    for ( Cascadable cascadable : validatable.getCascadables() ) {
      valueContext.appendNode( cascadable );
      Class<?> group = cascadable.convertGroup( originalGroup );
      valueContext.setCurrentGroup( group );

      ElementType elementType = cascadable.getElementType();
View Full Code Here

   *
   * @param validationContext The execution context
   * @param valueContext Collected information for single validation
   */
  private void validateCascadedConstraints(ValidationContext<?> validationContext, ValueContext<?, ?> valueContext) {
    Validatable validatable = valueContext.getCurrentValidatable();
    PathImpl originalPath = valueContext.getPropertyPath();
    Class<?> originalGroup = valueContext.getCurrentGroup();

    for ( Cascadable cascadable : validatable.getCascadables() ) {
      valueContext.appendNode( cascadable );
      valueContext.setCurrentGroup( cascadable.convertGroup( originalGroup ) );

      ElementType elementType = cascadable.getElementType();
      if ( isCascadeRequired(
View Full Code Here

TOP

Related Classes of org.hibernate.validator.internal.metadata.facets.Validatable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.