Package com.dna.jopt.member.unit
Enum Class IOptimizationElement.OptimizationElementFlavour
java.lang.Object
java.lang.Enum<IOptimizationElement.OptimizationElementFlavour>
com.dna.jopt.member.unit.IOptimizationElement.OptimizationElementFlavour
- All Implemented Interfaces:
Serializable
,Comparable<IOptimizationElement.OptimizationElementFlavour>
,Constable
- Enclosing interface:
- IOptimizationElement
public static enum IOptimizationElement.OptimizationElementFlavour
extends Enum<IOptimizationElement.OptimizationElementFlavour>
The OptimizationElementFlavour. To avoid type casting each element is carrying a certain
flavour.
- Since:
- Sep 17, 2019
- Version:
- Sep 17, 2019
- Author:
- Jens Richter
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe event node flavour.The geo node flavour.The geo resource flavour.The pillar flavour. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GEO_NODE_FLAVOUR
The geo node flavour. -
GEO_RESOURCE_FLAVOUR
The geo resource flavour. -
EVENT_NODE_FLAVOUR
The event node flavour. -
PILLAR_FLAVOUR
The pillar flavour.
-
-
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
-