Enum NamedBeanAddressing

java.lang.Object
java.lang.Enum<NamedBeanAddressing>
jmri.jmrit.logixng.NamedBeanAddressing
All Implemented Interfaces:
Serializable, Comparable<NamedBeanAddressing>, java.lang.constant.Constable

How should a named bean be addressed by an action or expression?
  • Enum Constant Details

    • Direct

      public static final NamedBeanAddressing Direct
      Direct addressing, by entering the name of the named bean
    • Reference

      public static final NamedBeanAddressing Reference
      Addresssing by reference, by entering a reference that points to the named bean.
    • Memory

      public static final NamedBeanAddressing Memory
      Addresssing by memory, by entering a memory that points to the named bean.
    • LocalVariable

      public static final NamedBeanAddressing LocalVariable
      Addresssing by local variable, by entering a local variable that points to the named bean.
    • Formula

      public static final NamedBeanAddressing Formula
      Addresssing by formula, by entering a formula that points to the named bean.
    • Table

      public static final NamedBeanAddressing Table
      Addresssing by formula, by entering a formula that points to the named bean.
  • Method Details

    • values

      public static NamedBeanAddressing[] 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 NamedBeanAddressing 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<NamedBeanAddressing>