Package jmri.jmrit.logixng
Enum NamedBeanAddressing
- java.lang.Object
-
- java.lang.Enum<NamedBeanAddressing>
-
- jmri.jmrit.logixng.NamedBeanAddressing
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NamedBeanAddressing>
public enum NamedBeanAddressing extends java.lang.Enum<NamedBeanAddressing>
How should a named bean be addressed by an action or expression?
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Direct
Direct addressing, by entering the name of the named beanFormula
Addresssing by formula, by entering a formula that points to the named bean.LocalVariable
Addresssing by local variable, by entering a local variable that points to the named bean.Memory
Addresssing by memory, by entering a memory that points to the named bean.Reference
Addresssing by reference, by entering a reference that points to the named bean.Table
Addresssing by formula, by entering a formula that points to the named bean.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static NamedBeanAddressing
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NamedBeanAddressing[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static NamedBeanAddressing[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NamedBeanAddressing c : NamedBeanAddressing.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NamedBeanAddressing valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<NamedBeanAddressing>
-
-