Enum FileType

java.lang.Object
java.lang.Enum<FileType>
org.apache.plc4x.java.abeth.types.FileType
All Implemented Interfaces:
Serializable, Comparable<FileType>, java.lang.constant.Constable

public enum FileType extends Enum<FileType>
  • Enum Constant Details

    • HURZ

      public static final FileType HURZ
    • STATUS

      public static final FileType STATUS
    • BIT

      public static final FileType BIT
    • TIMER

      public static final FileType TIMER
    • COUNTER

      public static final FileType COUNTER
    • CONTROL

      public static final FileType CONTROL
    • INTEGER

      public static final FileType INTEGER
    • FLOAT

      public static final FileType FLOAT
    • OUTPUT

      public static final FileType OUTPUT
    • INPUT

      public static final FileType INPUT
    • STRING

      public static final FileType STRING
    • ASCII

      public static final FileType ASCII
    • BCD

      public static final FileType BCD
    • WORD

      public static final FileType WORD
    • DWORD

      public static final FileType DWORD
    • SINGLEBIT

      public static final FileType SINGLEBIT
  • Method Details

    • values

      public static FileType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static FileType 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 name
      NullPointerException - if the argument is null
    • getTypeCode

      public short getTypeCode()
    • valueOf

      public static FileType valueOf(short code)
      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:
      code - 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 name
      NullPointerException - if the argument is null