public enum CompositeType extends java.lang.Enum<CompositeType>
Composite types can best be described using logical operators:
| Enum Constant and Description |
|---|
AND
Represents a logical AND.
|
INVERT
Represents a logical negation.
|
OR
Represents a logical OR.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
static CompositeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompositeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompositeType AND
For a composite constraint to be satisfied with this type, all of its children must be satisfied.
public static final CompositeType OR
For a composite constraint to be satisfied with this type, at least one of its children should be satisfied.
public static final CompositeType INVERT
For a composite constraint to be satisfied with this type, none of its children should be satisfied.
public static CompositeType[] values()
for (CompositeType c : CompositeType.values()) System.out.println(c);
public static CompositeType 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 nullpublic java.lang.String getName()