Enum Restriction.RestrictionType
- java.lang.Object
-
- java.lang.Enum<Restriction.RestrictionType>
-
- org.opennms.core.criteria.restrictions.Restriction.RestrictionType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Restriction.RestrictionType>
- Enclosing interface:
- Restriction
public static enum Restriction.RestrictionType extends java.lang.Enum<Restriction.RestrictionType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Restriction.RestrictionType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Restriction.RestrictionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL
public static final Restriction.RestrictionType NULL
-
NOTNULL
public static final Restriction.RestrictionType NOTNULL
-
EQ
public static final Restriction.RestrictionType EQ
-
NE
public static final Restriction.RestrictionType NE
-
GT
public static final Restriction.RestrictionType GT
-
GE
public static final Restriction.RestrictionType GE
-
LT
public static final Restriction.RestrictionType LT
-
LE
public static final Restriction.RestrictionType LE
-
ALL
public static final Restriction.RestrictionType ALL
-
ANY
public static final Restriction.RestrictionType ANY
-
LIKE
public static final Restriction.RestrictionType LIKE
-
ILIKE
public static final Restriction.RestrictionType ILIKE
-
IN
public static final Restriction.RestrictionType IN
-
NOT
public static final Restriction.RestrictionType NOT
-
BETWEEN
public static final Restriction.RestrictionType BETWEEN
-
SQL
public static final Restriction.RestrictionType SQL
-
IPLIKE
public static final Restriction.RestrictionType IPLIKE
-
-
Method Detail
-
values
public static Restriction.RestrictionType[] 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 (Restriction.RestrictionType c : Restriction.RestrictionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Restriction.RestrictionType 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
-
-