Package org.hibernate.validator.internal.metadata.aggregated

Examples of org.hibernate.validator.internal.metadata.aggregated.ConstraintMetaData


      ) ) {

        Object value = getValue( valueContext.getCurrentBean(), cascadable );

        // Value can be wrapped (e.g. Optional<Address>). Try to unwrap it
        ConstraintMetaData metaData = (ConstraintMetaData) cascadable;
        if ( metaData.requiresUnwrapping() ) {
          setValidatedValueHandlerToValueContextIfPresent( valueContext, metaData );
          valueContext.setCurrentValidatedValue( value );
          value = valueContext.getCurrentValidatedValue();
        }
View Full Code Here

TOP

Related Classes of org.hibernate.validator.internal.metadata.aggregated.ConstraintMetaData

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.