Package org.hibernate.validator.metadata

Examples of org.hibernate.validator.metadata.ConstraintOrigin


  private <T, A extends Annotation> void addProgrammaticConfiguredConstraints(List<ConstraintDefAccessor<?>> definitions,
                                        Class<T> rootClass, Class<?> hierarchyClass,
                                        Map<Class<?>, List<BeanMetaConstraint<T, ?>>> constraints) {
    for ( ConstraintDefAccessor<?> config : definitions ) {
      A annotation = ( A ) createAnnotationProxy( config );
      ConstraintOrigin definedIn = definedIn( rootClass, hierarchyClass );
      ConstraintDescriptorImpl<A> constraintDescriptor = new ConstraintDescriptorImpl<A>(
          annotation, constraintHelper, config.getElementType(), definedIn
      );

      Member member = null;
View Full Code Here

TOP

Related Classes of org.hibernate.validator.metadata.ConstraintOrigin

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.