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

jakarta.validation.ElementKind Maven / Gradle / Ivy

The newest version!
/*
 * Jakarta Validation API
 *
 * License: Apache License, Version 2.0
 * See the license.txt file in the root directory or .
 */
package jakarta.validation;

/**
 * Enum of possible kinds of elements encountered in Jakarta Validation.
 * 

* Mostly elements that can be constrained and described in the metadata * but also elements that can be part of a {@link Path} and represented * by a {@link Path.Node} * * @author Emmanuel Bernard * @author Gunnar Morling * @author Guillaume Smet * * @since 1.1 */ public enum ElementKind { /** * A Java Bean or object. */ BEAN, /** * A property of a Java Bean. */ PROPERTY, /** * A method. */ METHOD, /** * A constructor. */ CONSTRUCTOR, /** * A parameter of a method or constructor. */ PARAMETER, /** * Element holding cross-parameter constraints of a method or constructor. */ CROSS_PARAMETER, /** * The return value of a method or constructor. */ RETURN_VALUE, /** * An element stored in a container, e.g. a key or value of a {@code Map} or an element * of a {@code List}. * * @since 2.0 */ CONTAINER_ELEMENT }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy