Top Description Fields Constructors Methods
javax.validation.metadata

public final Enum Scope

extends Enum<Scope>
Class Inheritance

Scope looked at when discovering constraints.
Author
Emmanuel Bernard

Field Summary

Modifier and TypeField and Description
public static final Scope
HIERARCHY

Look for constraints declared on all elements of the class hierarchy with the same name.

public static final Scope
LOCAL_ELEMENT

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Field Detail

HIERARCHYback to summary
public static final Scope HIERARCHY

Look for constraints declared on all elements of the class hierarchy with the same name.

LOCAL_ELEMENTback to summary
public static final Scope LOCAL_ELEMENT

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

Constructor Detail

Scopeback to summary
private Scope()

Method Detail

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