- All Implemented Interfaces:
Serializable,Comparable<VariabilityType>,Constable
Enumeration of variability types for process outputs.
Specifies how the process determines the number of outputs to generate.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA fixed number of outputs is generated.A variable number of outputs is generated.The number of outputs varies based on the input. -
Method Summary
Modifier and TypeMethodDescriptionstatic VariabilityTypeGets the variability type corresponding to the specified XML value.value()Gets the XML value of this variability type.static VariabilityTypeReturns the enum constant of this class with the specified name.static VariabilityType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIXED
A fixed number of outputs is generated. -
VARIABLE
A variable number of outputs is generated. -
VARIABLE_BY_INPUT
The number of outputs varies based on the input.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
value
Gets the XML value of this variability type.- Returns:
- the XML value.
-
fromValue
Gets the variability type corresponding to the specified XML value.- Parameters:
v- the XML value.- Returns:
- the corresponding variability type.
- Throws:
IllegalArgumentException- if no matching type is found.
-