Package jmri.jmrit.logixng.expressions
Enum ExpressionSignalHead.QueryType
- java.lang.Object
-
- java.lang.Enum<ExpressionSignalHead.QueryType>
-
- jmri.jmrit.logixng.expressions.ExpressionSignalHead.QueryType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExpressionSignalHead.QueryType>
- Enclosing class:
- ExpressionSignalHead
public static enum ExpressionSignalHead.QueryType extends java.lang.Enum<ExpressionSignalHead.QueryType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Appearance
Held
Lit
NotAppearance
NotHeld
NotLit
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static ExpressionSignalHead.QueryType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExpressionSignalHead.QueryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Appearance
public static final ExpressionSignalHead.QueryType Appearance
-
NotAppearance
public static final ExpressionSignalHead.QueryType NotAppearance
-
Lit
public static final ExpressionSignalHead.QueryType Lit
-
NotLit
public static final ExpressionSignalHead.QueryType NotLit
-
Held
public static final ExpressionSignalHead.QueryType Held
-
NotHeld
public static final ExpressionSignalHead.QueryType NotHeld
-
-
Method Detail
-
values
public static ExpressionSignalHead.QueryType[] 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 (ExpressionSignalHead.QueryType c : ExpressionSignalHead.QueryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExpressionSignalHead.QueryType 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<ExpressionSignalHead.QueryType>
-
-