Package org.hibernate.validator.internal.metadata.raw

Examples of org.hibernate.validator.internal.metadata.raw.ConstrainedMethod


                cascadesByParameter.containsKey( i )
            )
        );
      }

      ConstrainedMethod methodMetaData = new ConstrainedMethod(
          ConfigurationSource.API,
          new MethodConstraintLocation( oneMethod ),
          parameterMetaDataList,
          asMetaConstraints( constraintsByParameter.get( null ) ),
          cascadesByParameter.containsKey( null )
View Full Code Here


              constraintHelper
          );
          break;
        case CONSTRUCTOR:
        case METHOD:
          ConstrainedMethod constrainedMethod = (ConstrainedMethod) constrainedElement;
          methodBuilder = new ExecutableMetaData.Builder(
              constrainedMethod,
              constraintHelper
          );

          if ( constrainedMethod.isGetterMethod() ) {
            propertyBuilder = new PropertyMetaData.Builder(
                constrainedMethod,
                constraintHelper
            );
          }
View Full Code Here

      if ( propertyBuilder != null && propertyBuilder.accepts( constrainedElement ) ) {
        propertyBuilder.add( constrainedElement );

        if ( added == false && constrainedElement.getKind() == ConstrainedElementKind.METHOD && methodBuilder == null ) {
          ConstrainedMethod constrainedMethod = (ConstrainedMethod) constrainedElement;
          methodBuilder = new ExecutableMetaData.Builder(
              constrainedMethod,
              constraintHelper
          );
        }
View Full Code Here

        convertToMetaConstraints(
            findConstraints( executable.getAccessibleObject(), ElementType.METHOD ),
            executable
        );

    return new ConstrainedMethod(
        ConfigurationSource.ANNOTATION,
        new MethodConstraintLocation( executable, null ),
        parameterConstraints,
        constraints,
        isCascading
View Full Code Here

TOP

Related Classes of org.hibernate.validator.internal.metadata.raw.ConstrainedMethod

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.