Package org.netxms.client.constants
Enum ColumnFilterType
- java.lang.Object
-
- java.lang.Enum<ColumnFilterType>
-
- org.netxms.client.constants.ColumnFilterType
-
- All Implemented Interfaces:
Serializable,Comparable<ColumnFilterType>
public enum ColumnFilterType extends Enum<ColumnFilterType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ColumnFilterTypegetByValue(int value)Get enum element by integer valueintgetValue()Get integer valuestatic ColumnFilterTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ColumnFilterType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALS
public static final ColumnFilterType EQUALS
-
RANGE
public static final ColumnFilterType RANGE
-
SET
public static final ColumnFilterType SET
-
LIKE
public static final ColumnFilterType LIKE
-
LESS
public static final ColumnFilterType LESS
-
GREATER
public static final ColumnFilterType GREATER
-
CHILDOF
public static final ColumnFilterType CHILDOF
-
UNKNOWN
public static final ColumnFilterType UNKNOWN
-
-
Method Detail
-
values
public static ColumnFilterType[] 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 (ColumnFilterType c : ColumnFilterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ColumnFilterType 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 nameNullPointerException- if the argument is null
-
getValue
public int getValue()
Get integer value- Returns:
- integer value
-
getByValue
public static ColumnFilterType getByValue(int value)
Get enum element by integer value- Parameters:
value- integer value- Returns:
- enum element corresponding to given integer value or fall-back element for invalid value
-
-