Enum ScanClassComparison
- java.lang.Object
-
- java.lang.Enum<ScanClassComparison>
-
- com.inductiveautomation.ignition.common.sqltags.model.types.ScanClassComparison
-
- All Implemented Interfaces:
Localized
,java.io.Serializable
,java.lang.Comparable<ScanClassComparison>
public enum ScanClassComparison extends java.lang.Enum<ScanClassComparison> implements Localized
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Any_Change
Equal
Greater_Than
Greater_Than_or_Eq
Less_Than
Less_Than_or_Eq
Not_Equal
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScanClassComparison[]
comparisonValues()
int
getIntValue()
Returns the type code for this ScanClassComparisonstatic ScanClassComparison
getTypeForValue(int val)
Returns the ScanClassComparison for the given type code.java.lang.String
toString(java.util.Locale locale)
static ScanClassComparison
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ScanClassComparison[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Equal
public static final ScanClassComparison Equal
-
Not_Equal
public static final ScanClassComparison Not_Equal
-
Less_Than
public static final ScanClassComparison Less_Than
-
Less_Than_or_Eq
public static final ScanClassComparison Less_Than_or_Eq
-
Greater_Than
public static final ScanClassComparison Greater_Than
-
Greater_Than_or_Eq
public static final ScanClassComparison Greater_Than_or_Eq
-
Any_Change
public static final ScanClassComparison Any_Change
-
-
Method Detail
-
values
public static ScanClassComparison[] 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 (ScanClassComparison c : ScanClassComparison.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScanClassComparison 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
-
comparisonValues
public static ScanClassComparison[] comparisonValues()
-
getIntValue
public int getIntValue()
Returns the type code for this ScanClassComparison
-
getTypeForValue
public static ScanClassComparison getTypeForValue(int val)
Returns the ScanClassComparison for the given type code. Returns EQUAL if there is no defined ScanClassComparison for the given code
-
-