public enum CompositionType extends java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2007-2022 Red Hat, Inc. All Rights Reserved