public enum CompositionType extends Enum<CompositionType>
CompositionType which is used as argument to the annotation ConstraintComposition.| Enum Constant and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final CompositionType OR
public static final CompositionType AND
public static final CompositionType ALL_FALSE
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 nameNullPointerException - if the argument is nullCopyright © 2018 JBoss by Red Hat. All rights reserved.