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

public enum NodeClass extends Enum<NodeClass> implements UaEnumeratedType
See Also:
  • Enum Constant Details

    • Unspecified

      public static final NodeClass Unspecified
      No value is specified.
    • Object

      public static final NodeClass Object
      The Node is an Object.
    • Variable

      public static final NodeClass Variable
      The Node is a Variable.
    • Method

      public static final NodeClass Method
      The Node is a Method.
    • ObjectType

      public static final NodeClass ObjectType
      The Node is an ObjectType.
    • VariableType

      public static final NodeClass VariableType
      The Node is a VariableType.
    • ReferenceType

      public static final NodeClass ReferenceType
      The Node is a ReferenceType.
    • DataType

      public static final NodeClass DataType
      The Node is a DataType.
    • View

      public static final NodeClass View
      The Node is a View.
  • Method Details

    • values

      public static NodeClass[] 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 NodeClass 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 NodeClass from(int value)
    • definition

      public static EnumDefinition definition()