Enum StepControlAspect.Polarity
- java.lang.Object
-
- java.lang.Enum<StepControlAspect.Polarity>
-
- org.bidib.wizard.mvc.stepcontrol.model.StepControlAspect.Polarity
-
- All Implemented Interfaces:
Serializable,Comparable<StepControlAspect.Polarity>
- Enclosing class:
- StepControlAspect
public static enum StepControlAspect.Polarity extends Enum<StepControlAspect.Polarity>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCvValue()static StepControlAspect.PolarityvalueOf(int cvValue)Returns the enum constant of this type with the specified name.static StepControlAspect.PolarityvalueOf(String name)Returns the enum constant of this type with the specified name.static StepControlAspect.Polarity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
normal
public static final StepControlAspect.Polarity normal
-
inverted
public static final StepControlAspect.Polarity inverted
-
-
Method Detail
-
values
public static StepControlAspect.Polarity[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StepControlAspect.Polarity c : StepControlAspect.Polarity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StepControlAspect.Polarity valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getCvValue
public int getCvValue()
-
valueOf
public static StepControlAspect.Polarity valueOf(int cvValue)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
cvValue- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-