Enum ClockMethod
- java.lang.Object
-
- java.lang.Enum<ClockMethod>
-
- org.openmuc.jdlms.interfaceclass.method.ClockMethod
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ClockMethod>
,MethodClass
@Deprecated public enum ClockMethod extends java.lang.Enum<ClockMethod> implements MethodClass
Deprecated.since 1.5.1. Use the none enum initializer ofMethodParameter
.This class contains the methods defined for IC Clock.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADJUST_TO_MEASURING_PERIOD
Deprecated.ADJUST_TO_MINUTE
Deprecated.ADJUST_TO_PRESET_TIME
Deprecated.ADJUST_TO_QUARTER
Deprecated.PRESET_ADJUSTING_TIME
Deprecated.SHIFT_TIME
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description InterfaceClass
getInterfaceClass()
Deprecated.int
getMethodId()
Deprecated.java.lang.String
getMethodName()
Deprecated.boolean
isMandatory()
Deprecated.static ClockMethod
valueOf(java.lang.String name)
Deprecated.Returns the enum constant of this type with the specified name.static ClockMethod[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADJUST_TO_QUARTER
public static final ClockMethod ADJUST_TO_QUARTER
Deprecated.
-
ADJUST_TO_MEASURING_PERIOD
public static final ClockMethod ADJUST_TO_MEASURING_PERIOD
Deprecated.
-
ADJUST_TO_MINUTE
public static final ClockMethod ADJUST_TO_MINUTE
Deprecated.
-
ADJUST_TO_PRESET_TIME
public static final ClockMethod ADJUST_TO_PRESET_TIME
Deprecated.
-
PRESET_ADJUSTING_TIME
public static final ClockMethod PRESET_ADJUSTING_TIME
Deprecated.
-
SHIFT_TIME
public static final ClockMethod SHIFT_TIME
Deprecated.
-
-
Method Detail
-
values
public static ClockMethod[] values()
Deprecated.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 (ClockMethod c : ClockMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClockMethod valueOf(java.lang.String name)
Deprecated.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isMandatory
public boolean isMandatory()
Deprecated.- Specified by:
isMandatory
in interfaceMethodClass
-
getMethodId
public int getMethodId()
Deprecated.- Specified by:
getMethodId
in interfaceMethodClass
-
getInterfaceClass
public InterfaceClass getInterfaceClass()
Deprecated.- Specified by:
getInterfaceClass
in interfaceMethodClass
-
getMethodName
public java.lang.String getMethodName()
Deprecated.- Specified by:
getMethodName
in interfaceMethodClass
-
-