Package org.hibernate.validator.engine.groups

Examples of org.hibernate.validator.engine.groups.GroupChainGenerator


    this.messageInterpolator = messageInterpolator;
    this.traversableResolver = traversableResolver;
    this.constraintHelper = constraintHelper;
    this.beanMetaDataCache = beanMetaDataCache;

    groupChainGenerator = new GroupChainGenerator();
  }
View Full Code Here


      return Collections.unmodifiableSet( matchingDescriptors );
    }

    private void findMatchingDescriptors(Set<ConstraintDescriptor<?>> matchingDescriptors) {
      if ( !groups.isEmpty() ) {
        GroupChain groupChain = new GroupChainGenerator().getGroupChainFor( groups );
        Iterator<Group> groupIterator = groupChain.getGroupIterator();
        while ( groupIterator.hasNext() ) {
          Group g = groupIterator.next();
          addMatchingDescriptorsForGroup( g.getGroup(), matchingDescriptors );
        }
View Full Code Here

    this.traversableResolver = traversableResolver;
    this.constraintHelper = constraintHelper;
    this.beanMetaDataCache = beanMetaDataCache;
    this.failFast = failFast;

    groupChainGenerator = new GroupChainGenerator();
  }
View Full Code Here

    this.messageInterpolator = messageInterpolator;
    this.traversableResolver = traversableResolver;
    this.constraintHelper = constraintHelper;
    this.beanMetaDataCache = beanMetaDataCache;

    groupChainGenerator = new GroupChainGenerator();
  }
View Full Code Here

    this.messageInterpolator = messageInterpolator;
    this.traversableResolver = traversableResolver;
    this.constraintHelper = constraintHelper;
    this.beanMetaDataCache = beanMetaDataCache;

    groupChainGenerator = new GroupChainGenerator();
  }
View Full Code Here

    this.messageInterpolator = messageInterpolator;
    this.traversableResolver = traversableResolver;
    this.constraintHelper = constraintHelper;
    this.beanMetaDataCache = beanMetaDataCache;

    groupChainGenerator = new GroupChainGenerator();
  }
View Full Code Here

    return Collections.unmodifiableSet( constraintDescriptors );
  }

  public Set<ConstraintDescriptor<?>> getUnorderedConstraintDescriptorsMatchingGroups(Class<?>... groups) {
    Set<ConstraintDescriptor<?>> matchingDescriptors = new HashSet<ConstraintDescriptor<?>>();
    GroupChain groupChain = new GroupChainGenerator().getGroupChainFor( Arrays.asList( groups ) );
    Iterator<Group> groupIterator = groupChain.getGroupIterator();
    while ( groupIterator.hasNext() ) {
      Group g = groupIterator.next();
      addMatchingDescriptorsForGroup( g.getGroup(), matchingDescriptors );
    }
View Full Code Here

    this.traversableResolver = traversableResolver;
    this.constraintHelper = constraintHelper;
    this.beanMetaDataCache = beanMetaDataCache;
    this.failFast = failFast;

    groupChainGenerator = new GroupChainGenerator();
  }
View Full Code Here

      return Collections.unmodifiableSet( matchingDescriptors );
    }

    private void findMatchingDescriptors(Set<ConstraintDescriptor<?>> matchingDescriptors) {
      if ( !groups.isEmpty() ) {
        GroupChain groupChain = new GroupChainGenerator().getGroupChainFor( groups );
        Iterator<Group> groupIterator = groupChain.getGroupIterator();
        while ( groupIterator.hasNext() ) {
          Group g = groupIterator.next();
          addMatchingDescriptorsForGroup( g.getGroup(), matchingDescriptors );
        }
View Full Code Here

      return Collections.unmodifiableSet( matchingDescriptors );
    }

    private void findMatchingDescriptors(Set<ConstraintDescriptor<?>> matchingDescriptors) {
      if ( !groups.isEmpty() ) {
        GroupChain groupChain = new GroupChainGenerator().getGroupChainFor( groups );
        Iterator<Group> groupIterator = groupChain.getGroupIterator();
        while ( groupIterator.hasNext() ) {
          Group g = groupIterator.next();
          addMatchingDescriptorsForGroup( g.getGroup(), matchingDescriptors );
        }
View Full Code Here

TOP

Related Classes of org.hibernate.validator.engine.groups.GroupChainGenerator

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.