Enum Class OpcUaDataType

java.lang.Object
java.lang.Enum<OpcUaDataType>
org.eclipse.milo.opcua.stack.core.OpcUaDataType
All Implemented Interfaces:
Serializable, Comparable<OpcUaDataType>, Constable

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

  • Method Details

    • values

      public static OpcUaDataType[] 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 OpcUaDataType 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
    • getNodeId

      public NodeId getNodeId()
    • getTypeId

      public int getTypeId()
    • getBackingClass

      public Class<?> getBackingClass()
    • getBuiltinTypeId

      public static int getBuiltinTypeId(Class<?> backingClass)
      Parameters:
      backingClass - the backing Class of the builtin type.
      Returns:
      the id of the builtin type backed by backingClass.
    • getBackingClass

      public static @Nullable Class<?> getBackingClass(int typeId)
      Parameters:
      typeId - the id of the builtin type.
      Returns:
      the Class backing the builtin type.
    • getBackingClass

      public static @Nullable Class<?> getBackingClass(NodeId typeId)
    • getBackingClass

      public static @Nullable Class<?> getBackingClass(ExpandedNodeId typeId)
    • getPrimitiveBackingClass

      public static @Nullable Class<?> getPrimitiveBackingClass(int typeId)
    • fromTypeId

      public static @Nullable OpcUaDataType fromTypeId(int typeId)
    • fromBackingClass

      public static @Nullable OpcUaDataType fromBackingClass(Class<?> backingClass)
    • fromNodeId

      public static @Nullable OpcUaDataType fromNodeId(NodeId nodeId)
    • fromNodeId

      public static @Nullable OpcUaDataType fromNodeId(ExpandedNodeId nodeId)
    • isBuiltin

      public static boolean isBuiltin(int typeId)
    • isBuiltin

      public static boolean isBuiltin(NodeId typeId)
    • isBuiltin

      public static boolean isBuiltin(ExpandedNodeId typeId)
    • isBuiltin

      public static boolean isBuiltin(Class<?> clazz)