org.openmuc.j60870
public static enum IeRegulatingStepCommand.StepCommandState extends java.lang.Enum<IeRegulatingStepCommand.StepCommandState>
Enum Constant and Description |
---|
NEXT_STEP_HIGHER |
NEXT_STEP_LOWER |
NOT_PERMITTED_A |
NOT_PERMITTED_B |
Modifier and Type | Method and Description |
---|---|
static IeRegulatingStepCommand.StepCommandState |
createStepCommandState(int code)
Returns the StepCommandState for the given code.
|
int |
getCode()
Returns the code associated with this StepCommandState.
|
static IeRegulatingStepCommand.StepCommandState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IeRegulatingStepCommand.StepCommandState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IeRegulatingStepCommand.StepCommandState NOT_PERMITTED_A
public static final IeRegulatingStepCommand.StepCommandState NEXT_STEP_LOWER
public static final IeRegulatingStepCommand.StepCommandState NEXT_STEP_HIGHER
public static final IeRegulatingStepCommand.StepCommandState NOT_PERMITTED_B
public static IeRegulatingStepCommand.StepCommandState[] values()
for (IeRegulatingStepCommand.StepCommandState c : IeRegulatingStepCommand.StepCommandState.values()) System.out.println(c);
public static IeRegulatingStepCommand.StepCommandState 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 int getCode()
public static IeRegulatingStepCommand.StepCommandState createStepCommandState(int code)
code
- the code of the StepCommandState