Package org.hibernate.validator.internal.engine.path

Examples of org.hibernate.validator.internal.engine.path.PathImpl


   * @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 ) );
View Full Code Here


      );
      valueContext.setCurrentValidatedValue( parameterValues );

      // 2. validate parameter constraints
      for ( int i = 0; i < parameterValues.length; i++ ) {
        PathImpl originalPath = valueContext.getPropertyPath();
        Object value = parameterValues[i];

        valueContext.appendNode( executableMetaData.getParameterMetaData( i ) );
        valueContext.setCurrentValidatedValue( value );
View Full Code Here

TOP

Related Classes of org.hibernate.validator.internal.engine.path.PathImpl

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.