Package org.hibernate.validation.engine.groups

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


    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 getUnorderedConstraintDescriptorsMatchingGroups( groups );
  }

  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

TOP

Related Classes of org.hibernate.validation.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.