public enum ClockMethod extends java.lang.Enum<ClockMethod> implements MethodClass
Enum Constant and Description |
---|
ADJUST_TO_MEASURING_PERIOD |
ADJUST_TO_MINUTE |
ADJUST_TO_PRESET_TIME |
ADJUST_TO_QUARTER |
PRESET_ADJUSTING_TIME |
SHIFT_TIME |
Modifier and Type | Method and Description |
---|---|
InterfaceClass |
interfaceClass() |
boolean |
mandatory() |
int |
methodId() |
java.lang.String |
methodName() |
static ClockMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClockMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClockMethod ADJUST_TO_QUARTER
public static final ClockMethod ADJUST_TO_MEASURING_PERIOD
public static final ClockMethod ADJUST_TO_MINUTE
public static final ClockMethod ADJUST_TO_PRESET_TIME
public static final ClockMethod PRESET_ADJUSTING_TIME
public static final ClockMethod SHIFT_TIME
public static ClockMethod[] values()
for (ClockMethod c : ClockMethod.values()) System.out.println(c);
public static ClockMethod 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 boolean mandatory()
mandatory
in interface MethodClass
public int methodId()
methodId
in interface MethodClass
public InterfaceClass interfaceClass()
interfaceClass
in interface MethodClass
public java.lang.String methodName()
methodName
in interface MethodClass