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

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

    • Mandatory

      public static final NamingRuleType Mandatory
      The BrowseName must appear in all instances of the type.
    • Optional

      public static final NamingRuleType Optional
      The BrowseName may appear in an instance of the type.
    • Constraint

      public static final NamingRuleType Constraint
      The modelling rule defines a constraint and the BrowseName is not used in an instance of the type.
  • Method Details

    • values

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

      public static EnumDefinition definition()