Package org.openurp.edu.lesson.model
Enum CourseLimitMeta.Operator
- java.lang.Object
-
- java.lang.Enum<CourseLimitMeta.Operator>
-
- org.openurp.edu.lesson.model.CourseLimitMeta.Operator
-
- All Implemented Interfaces:
Serializable,Comparable<CourseLimitMeta.Operator>
- Enclosing class:
- CourseLimitMeta
public static enum CourseLimitMeta.Operator extends Enum<CourseLimitMeta.Operator>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALGREATE_EQUAL_THANINLESS_EQUAL_THANNOT_EQUALNOT_INNULL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CourseLimitMeta.OperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static CourseLimitMeta.Operator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUAL
public static final CourseLimitMeta.Operator EQUAL
-
NOT_EQUAL
public static final CourseLimitMeta.Operator NOT_EQUAL
-
IN
public static final CourseLimitMeta.Operator IN
-
NOT_IN
public static final CourseLimitMeta.Operator NOT_IN
-
GREATE_EQUAL_THAN
public static final CourseLimitMeta.Operator GREATE_EQUAL_THAN
-
LESS_EQUAL_THAN
public static final CourseLimitMeta.Operator LESS_EQUAL_THAN
-
NULL
public static final CourseLimitMeta.Operator NULL
-
-
Method Detail
-
values
public static CourseLimitMeta.Operator[] 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 (CourseLimitMeta.Operator c : CourseLimitMeta.Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CourseLimitMeta.Operator 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
-
-