public enum AttributeConstraint extends Enum<AttributeConstraint> implements SphereEnumeration
SphereEnumeration.| Enum Constant and Description |
|---|
COMBINATION_UNIQUE
A set of attributes, that have this constraint, should have different combinations in each variant.
|
NONE
No constraints are applied to the attribute.
|
SAME_FOR_ALL
Attribute value should be the same in all variants
|
UNIQUE
Attribute value should be different in each variant.
|
| Modifier and Type | Method and Description |
|---|---|
static AttributeConstraint |
ofSphereValue(String value) |
static AttributeConstraint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeConstraint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffindBySphereName, name, toSphereNamepublic static final AttributeConstraint NONE
public static final AttributeConstraint UNIQUE
public static final AttributeConstraint COMBINATION_UNIQUE
public static final AttributeConstraint SAME_FOR_ALL
public static AttributeConstraint[] values()
for (AttributeConstraint c : AttributeConstraint.values()) System.out.println(c);
public static AttributeConstraint 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 nullpublic static AttributeConstraint ofSphereValue(String value)