|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CompositionType>
org.hibernate.validator.constraints.CompositionType
public enum CompositionType
The Enum CompositionType which is used as argument to the annotation ConstraintComposition.
| Enum Constant Summary | |
|---|---|
ALL_FALSE
ALL_FALSE is a generalisation of the usual NOT operator, which is applied to a list of conditions rather than just one element. |
|
AND
Used to indicate the conjunction of all the constraints it is applied to. |
|
OR
Used to indicate the disjunction of all constraints it is applied to. |
|
| Method Summary | |
|---|---|
static CompositionType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CompositionType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CompositionType OR
public static final CompositionType AND
public static final CompositionType ALL_FALSE
| Method Detail |
|---|
public static CompositionType[] values()
for (CompositionType c : CompositionType.values()) System.out.println(c);
public static CompositionType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||