Enum KnxPropertyDataType
- java.lang.Object
-
- java.lang.Enum<KnxPropertyDataType>
-
- org.apache.plc4x.java.knxnetip.readwrite.KnxPropertyDataType
-
- All Implemented Interfaces:
Serializable,Comparable<KnxPropertyDataType>
public enum KnxPropertyDataType extends Enum<KnxPropertyDataType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KnxPropertyDataTypeenumForValue(short value)static List<KnxPropertyDataType>enumsForFieldName(String fieldValue)static List<KnxPropertyDataType>enumsForFieldNumber(short fieldValue)static List<KnxPropertyDataType>enumsForFieldSizeInBytes(short fieldValue)static KnxPropertyDataTypefirstEnumForFieldName(String fieldValue)static KnxPropertyDataTypefirstEnumForFieldNumber(short fieldValue)static KnxPropertyDataTypefirstEnumForFieldSizeInBytes(short fieldValue)StringgetName()shortgetNumber()shortgetSizeInBytes()shortgetValue()static BooleanisDefined(short value)static KnxPropertyDataTypevalueOf(String name)Returns the enum constant of this type with the specified name.static KnxPropertyDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PDT_UNKNOWN
public static final KnxPropertyDataType PDT_UNKNOWN
-
PDT_CONTROL
public static final KnxPropertyDataType PDT_CONTROL
-
PDT_CHAR
public static final KnxPropertyDataType PDT_CHAR
-
PDT_UNSIGNED_CHAR
public static final KnxPropertyDataType PDT_UNSIGNED_CHAR
-
PDT_INT
public static final KnxPropertyDataType PDT_INT
-
PDT_UNSIGNED_INT
public static final KnxPropertyDataType PDT_UNSIGNED_INT
-
PDT_KNX_FLOAT
public static final KnxPropertyDataType PDT_KNX_FLOAT
-
PDT_DATE
public static final KnxPropertyDataType PDT_DATE
-
PDT_TIME
public static final KnxPropertyDataType PDT_TIME
-
PDT_LONG
public static final KnxPropertyDataType PDT_LONG
-
PDT_UNSIGNED_LONG
public static final KnxPropertyDataType PDT_UNSIGNED_LONG
-
PDT_FLOAT
public static final KnxPropertyDataType PDT_FLOAT
-
PDT_DOUBLE
public static final KnxPropertyDataType PDT_DOUBLE
-
PDT_CHAR_BLOCK
public static final KnxPropertyDataType PDT_CHAR_BLOCK
-
PDT_POLL_GROUP_SETTINGS
public static final KnxPropertyDataType PDT_POLL_GROUP_SETTINGS
-
PDT_SHORT_CHAR_BLOCK
public static final KnxPropertyDataType PDT_SHORT_CHAR_BLOCK
-
PDT_DATE_TIME
public static final KnxPropertyDataType PDT_DATE_TIME
-
PDT_VARIABLE_LENGTH
public static final KnxPropertyDataType PDT_VARIABLE_LENGTH
-
PDT_GENERIC_01
public static final KnxPropertyDataType PDT_GENERIC_01
-
PDT_GENERIC_02
public static final KnxPropertyDataType PDT_GENERIC_02
-
PDT_GENERIC_03
public static final KnxPropertyDataType PDT_GENERIC_03
-
PDT_GENERIC_04
public static final KnxPropertyDataType PDT_GENERIC_04
-
PDT_GENERIC_05
public static final KnxPropertyDataType PDT_GENERIC_05
-
PDT_GENERIC_06
public static final KnxPropertyDataType PDT_GENERIC_06
-
PDT_GENERIC_07
public static final KnxPropertyDataType PDT_GENERIC_07
-
PDT_GENERIC_08
public static final KnxPropertyDataType PDT_GENERIC_08
-
PDT_GENERIC_09
public static final KnxPropertyDataType PDT_GENERIC_09
-
PDT_GENERIC_10
public static final KnxPropertyDataType PDT_GENERIC_10
-
PDT_GENERIC_11
public static final KnxPropertyDataType PDT_GENERIC_11
-
PDT_GENERIC_12
public static final KnxPropertyDataType PDT_GENERIC_12
-
PDT_GENERIC_13
public static final KnxPropertyDataType PDT_GENERIC_13
-
PDT_GENERIC_14
public static final KnxPropertyDataType PDT_GENERIC_14
-
PDT_GENERIC_15
public static final KnxPropertyDataType PDT_GENERIC_15
-
PDT_GENERIC_16
public static final KnxPropertyDataType PDT_GENERIC_16
-
PDT_GENERIC_17
public static final KnxPropertyDataType PDT_GENERIC_17
-
PDT_GENERIC_18
public static final KnxPropertyDataType PDT_GENERIC_18
-
PDT_GENERIC_19
public static final KnxPropertyDataType PDT_GENERIC_19
-
PDT_GENERIC_20
public static final KnxPropertyDataType PDT_GENERIC_20
-
PDT_UTF_8
public static final KnxPropertyDataType PDT_UTF_8
-
PDT_VERSION
public static final KnxPropertyDataType PDT_VERSION
-
PDT_ALARM_INFO
public static final KnxPropertyDataType PDT_ALARM_INFO
-
PDT_BINARY_INFORMATION
public static final KnxPropertyDataType PDT_BINARY_INFORMATION
-
PDT_BITSET8
public static final KnxPropertyDataType PDT_BITSET8
-
PDT_BITSET16
public static final KnxPropertyDataType PDT_BITSET16
-
PDT_ENUM8
public static final KnxPropertyDataType PDT_ENUM8
-
PDT_SCALING
public static final KnxPropertyDataType PDT_SCALING
-
PDT_NE_VL
public static final KnxPropertyDataType PDT_NE_VL
-
PDT_NE_FL
public static final KnxPropertyDataType PDT_NE_FL
-
PDT_FUNCTION
public static final KnxPropertyDataType PDT_FUNCTION
-
PDT_ESCAPE
public static final KnxPropertyDataType PDT_ESCAPE
-
-
Method Detail
-
values
public static KnxPropertyDataType[] 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 (KnxPropertyDataType c : KnxPropertyDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KnxPropertyDataType 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()
-
getNumber
public short getNumber()
-
firstEnumForFieldNumber
public static KnxPropertyDataType firstEnumForFieldNumber(short fieldValue)
-
enumsForFieldNumber
public static List<KnxPropertyDataType> enumsForFieldNumber(short fieldValue)
-
getSizeInBytes
public short getSizeInBytes()
-
firstEnumForFieldSizeInBytes
public static KnxPropertyDataType firstEnumForFieldSizeInBytes(short fieldValue)
-
enumsForFieldSizeInBytes
public static List<KnxPropertyDataType> enumsForFieldSizeInBytes(short fieldValue)
-
getName
public String getName()
-
firstEnumForFieldName
public static KnxPropertyDataType firstEnumForFieldName(String fieldValue)
-
enumsForFieldName
public static List<KnxPropertyDataType> enumsForFieldName(String fieldValue)
-
enumForValue
public static KnxPropertyDataType enumForValue(short value)
-
isDefined
public static Boolean isDefined(short value)
-
-