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

javax.validation.metadata.Scope 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;

/**
 * Scope looked at when discovering constraints.
 *
 * @author Emmanuel Bernard
 */
public enum Scope {

	/**
	 * Look for constraints declared on the current class element
	 * and ignore inheritance and elements with the same name in
	 * the class hierarchy.
	 */
	LOCAL_ELEMENT,

	/**
	 * Look for constraints declared on all elements of the class hierarchy
	 * with the same name.
	 */
	HIERARCHY
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy