public enum VariantType extends java.lang.Enum<VariantType>
Enum Constant and Description |
---|
ALTERNATIVE_OR |
ALTERNATIVE_XOR |
MANDATORY |
OPTIONAL |
VARIATIONPOINT |
Modifier and Type | Method and Description |
---|---|
static VariantType |
getByName(java.lang.String name) |
java.lang.String |
toString() |
static VariantType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VariantType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariantType MANDATORY
public static final VariantType OPTIONAL
public static final VariantType ALTERNATIVE_OR
public static final VariantType ALTERNATIVE_XOR
public static final VariantType VARIATIONPOINT
public static VariantType[] values()
for (VariantType c : VariantType.values()) System.out.println(c);
public static VariantType 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 static VariantType getByName(java.lang.String name)
public java.lang.String toString()
toString
in class java.lang.Enum<VariantType>