All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.validation.metadata.ValidateUnwrappedValue Maven / Gradle / Ivy

There is a newer version: 2.0.1.Final
Show newest version
/*
 * Bean Validation API
 *
 * License: Apache License, Version 2.0
 * See the license.txt file in the root directory or .
 */
package javax.validation.metadata;

import javax.validation.valueextraction.ValueExtractor;

/**
 * The unwrapping behavior that can be applied to a specific constraint.
 *
 * @author Guillaume Smet
 * @since 2.0
 */
public enum ValidateUnwrappedValue {

	/**
	 * Respects the default behavior of the {@link ValueExtractor}.
	 */
	DEFAULT,

	/**
	 * The value is unwrapped before validation.
	 */
	YES,

	/**
	 * The value is not unwrapped before validation.
	 */
	NO;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy