Enum CIPDataTypeCode
- java.lang.Object
-
- java.lang.Enum<CIPDataTypeCode>
-
- org.apache.plc4x.java.eip.readwrite.CIPDataTypeCode
-
- All Implemented Interfaces:
Serializable,Comparable<CIPDataTypeCode>
public enum CIPDataTypeCode extends Enum<CIPDataTypeCode>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CIPDataTypeCodeenumForValue(int value)static List<CIPDataTypeCode>enumsForFieldSize(short fieldValue)static CIPDataTypeCodefirstEnumForFieldSize(short fieldValue)shortgetSize()intgetValue()static BooleanisDefined(int value)static CIPDataTypeCodevalueOf(String name)Returns the enum constant of this type with the specified name.static CIPDataTypeCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOL
public static final CIPDataTypeCode BOOL
-
SINT
public static final CIPDataTypeCode SINT
-
INT
public static final CIPDataTypeCode INT
-
DINT
public static final CIPDataTypeCode DINT
-
LINT
public static final CIPDataTypeCode LINT
-
USINT
public static final CIPDataTypeCode USINT
-
UINT
public static final CIPDataTypeCode UINT
-
UDINT
public static final CIPDataTypeCode UDINT
-
ULINT
public static final CIPDataTypeCode ULINT
-
REAL
public static final CIPDataTypeCode REAL
-
LREAL
public static final CIPDataTypeCode LREAL
-
STIME
public static final CIPDataTypeCode STIME
-
DATE
public static final CIPDataTypeCode DATE
-
TIME_OF_DAY
public static final CIPDataTypeCode TIME_OF_DAY
-
DATE_AND_TIME
public static final CIPDataTypeCode DATE_AND_TIME
-
STRING
public static final CIPDataTypeCode STRING
-
BYTE
public static final CIPDataTypeCode BYTE
-
WORD
public static final CIPDataTypeCode WORD
-
DWORD
public static final CIPDataTypeCode DWORD
-
LWORD
public static final CIPDataTypeCode LWORD
-
STRING2
public static final CIPDataTypeCode STRING2
-
FTIME
public static final CIPDataTypeCode FTIME
-
LTIME
public static final CIPDataTypeCode LTIME
-
ITIME
public static final CIPDataTypeCode ITIME
-
STRINGN
public static final CIPDataTypeCode STRINGN
-
SHORT_STRING
public static final CIPDataTypeCode SHORT_STRING
-
TIME
public static final CIPDataTypeCode TIME
-
EPATH
public static final CIPDataTypeCode EPATH
-
ENGUNIT
public static final CIPDataTypeCode ENGUNIT
-
STRINGI
public static final CIPDataTypeCode STRINGI
-
STRUCTURED
public static final CIPDataTypeCode STRUCTURED
-
-
Method Detail
-
values
public static CIPDataTypeCode[] 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 (CIPDataTypeCode c : CIPDataTypeCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CIPDataTypeCode 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 int getValue()
-
getSize
public short getSize()
-
firstEnumForFieldSize
public static CIPDataTypeCode firstEnumForFieldSize(short fieldValue)
-
enumsForFieldSize
public static List<CIPDataTypeCode> enumsForFieldSize(short fieldValue)
-
enumForValue
public static CIPDataTypeCode enumForValue(int value)
-
isDefined
public static Boolean isDefined(int value)
-
-