Enum SzlModuleTypeClass
- java.lang.Object
-
- java.lang.Enum<SzlModuleTypeClass>
-
- org.apache.plc4x.java.s7.readwrite.SzlModuleTypeClass
-
- All Implemented Interfaces:
Serializable,Comparable<SzlModuleTypeClass>
public enum SzlModuleTypeClass extends Enum<SzlModuleTypeClass>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SzlModuleTypeClassenumForValue(byte value)bytegetValue()static BooleanisDefined(byte value)static SzlModuleTypeClassvalueOf(String name)Returns the enum constant of this type with the specified name.static SzlModuleTypeClass[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CPU
public static final SzlModuleTypeClass CPU
-
IM
public static final SzlModuleTypeClass IM
-
FM
public static final SzlModuleTypeClass FM
-
CP
public static final SzlModuleTypeClass CP
-
-
Method Detail
-
values
public static SzlModuleTypeClass[] 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 (SzlModuleTypeClass c : SzlModuleTypeClass.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SzlModuleTypeClass 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
-
getValue
public byte getValue()
-
enumForValue
public static SzlModuleTypeClass enumForValue(byte value)
-
isDefined
public static Boolean isDefined(byte value)
-
-