Top Description Fields Constructors Methods
javax.validation

public final Enum ElementKind

extends Enum<ElementKind>
Class Inheritance

Enum of possible kinds of elements encountered in Bean Validation.

Mostly elements that can be constrained and described in the metadata but also elements that can be part of a Path and represented by a Path.Node

Authors
Emmanuel Bernard, Gunnar Morling, Guillaume Smet
Since
1.1

Field Summary

Modifier and TypeField and Description
public static final ElementKind
BEAN

A Java Bean or object.

public static final ElementKind
CONSTRUCTOR

A constructor.

public static final ElementKind
CONTAINER_ELEMENT

An element stored in a container, e.g. a key or value of a Map or an element of a List.

public static final ElementKind
CROSS_PARAMETER

Element holding cross-parameter constraints of a method or constructor.

public static final ElementKind
METHOD

A method.

public static final ElementKind
PARAMETER

A parameter of a method or constructor.

public static final ElementKind
PROPERTY

A property of a Java Bean.

public static final ElementKind
RETURN_VALUE

The return value of a method or constructor.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ElementKind
public static ElementKind[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

BEANback to summary
public static final ElementKind BEAN

A Java Bean or object.

CONSTRUCTORback to summary
public static final ElementKind CONSTRUCTOR

A constructor.

CONTAINER_ELEMENTback to summary
public static final ElementKind CONTAINER_ELEMENT

An element stored in a container, e.g. a key or value of a Map or an element of a List.

Since
2.0
CROSS_PARAMETERback to summary
public static final ElementKind CROSS_PARAMETER

Element holding cross-parameter constraints of a method or constructor.

METHODback to summary
public static final ElementKind METHOD

A method.

PARAMETERback to summary
public static final ElementKind PARAMETER

A parameter of a method or constructor.

PROPERTYback to summary
public static final ElementKind PROPERTY

A property of a Java Bean.

RETURN_VALUEback to summary
public static final ElementKind RETURN_VALUE

The return value of a method or constructor.

Constructor Detail

ElementKindback to summary
private ElementKind()

Method Detail

valueOfback to summary
public static ElementKind valueOf(String name)
valuesback to summary
public static ElementKind[] values()