Enum ComObjectValueType
- java.lang.Object
-
- java.lang.Enum<ComObjectValueType>
-
- org.apache.plc4x.java.knxnetip.readwrite.ComObjectValueType
-
- All Implemented Interfaces:
Serializable,Comparable<ComObjectValueType>
public enum ComObjectValueType extends Enum<ComObjectValueType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComObjectValueTypeenumForValue(short value)static List<ComObjectValueType>enumsForFieldSizeInBytes(short fieldValue)static ComObjectValueTypefirstEnumForFieldSizeInBytes(short fieldValue)shortgetSizeInBytes()shortgetValue()static BooleanisDefined(short value)static ComObjectValueTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ComObjectValueType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BIT1
public static final ComObjectValueType BIT1
-
BIT2
public static final ComObjectValueType BIT2
-
BIT3
public static final ComObjectValueType BIT3
-
BIT4
public static final ComObjectValueType BIT4
-
BIT5
public static final ComObjectValueType BIT5
-
BIT6
public static final ComObjectValueType BIT6
-
BIT7
public static final ComObjectValueType BIT7
-
BYTE1
public static final ComObjectValueType BYTE1
-
BYTE2
public static final ComObjectValueType BYTE2
-
BYTE3
public static final ComObjectValueType BYTE3
-
BYTE4
public static final ComObjectValueType BYTE4
-
BYTE6
public static final ComObjectValueType BYTE6
-
BYTE8
public static final ComObjectValueType BYTE8
-
BYTE10
public static final ComObjectValueType BYTE10
-
BYTE14
public static final ComObjectValueType BYTE14
-
-
Method Detail
-
values
public static ComObjectValueType[] 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 (ComObjectValueType c : ComObjectValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ComObjectValueType 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 short getValue()
-
getSizeInBytes
public short getSizeInBytes()
-
firstEnumForFieldSizeInBytes
public static ComObjectValueType firstEnumForFieldSizeInBytes(short fieldValue)
-
enumsForFieldSizeInBytes
public static List<ComObjectValueType> enumsForFieldSizeInBytes(short fieldValue)
-
enumForValue
public static ComObjectValueType enumForValue(short value)
-
isDefined
public static Boolean isDefined(short value)
-
-