java.lang.Object
java.lang.Enum<OpenFileMode>
org.eclipse.milo.opcua.stack.core.types.enumerated.OpenFileMode
All Implemented Interfaces:
Serializable, Comparable<OpenFileMode>, Constable, UaDataType, UaEnumeratedType

public enum OpenFileMode extends Enum<OpenFileMode> implements UaEnumeratedType
  • Enum Constant Details

  • Method Details

    • values

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

      public static OpenFileMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      Description copied from interface: UaEnumeratedType
      Get the numeric value associated with this enumerated value.
      Specified by:
      getValue in interface UaEnumeratedType
      Returns:
      the numeric value associated with this enumerated value.
    • getTypeId

      public ExpandedNodeId getTypeId()
      Description copied from interface: UaDataType
      Get the ExpandedNodeId identifying this DataType.
      Specified by:
      getTypeId in interface UaDataType
      Returns:
      the ExpandedNodeId identifying this DataType.
    • from

      public static @Nullable OpenFileMode from(int value)
    • definition

      public static EnumDefinition definition()