org.activiti.engine.impl
枚举 QueryOperator
java.lang.Object
java.lang.Enum<QueryOperator>
org.activiti.engine.impl.QueryOperator
- 所有已实现的接口:
- Serializable, Comparable<QueryOperator>
public enum QueryOperator
- extends Enum<QueryOperator>
Used to indicate the operator that should be used to comparing values in a query clause.
- 作者:
- Frederik Heremans
EQUALS
public static final QueryOperator EQUALS
NOT_EQUALS
public static final QueryOperator NOT_EQUALS
GREATER_THAN
public static final QueryOperator GREATER_THAN
GREATER_THAN_OR_EQUAL
public static final QueryOperator GREATER_THAN_OR_EQUAL
LESS_THAN
public static final QueryOperator LESS_THAN
LESS_THAN_OR_EQUAL
public static final QueryOperator LESS_THAN_OR_EQUAL
LIKE
public static final QueryOperator LIKE
EQUALS_IGNORE_CASE
public static final QueryOperator EQUALS_IGNORE_CASE
NOT_EQUALS_IGNORE_CASE
public static final QueryOperator NOT_EQUALS_IGNORE_CASE
values
public static QueryOperator[] values()
- 按照声明该枚举类型的常量的顺序,返回
包含这些常量的数组。该方法可用于迭代
常量,如下所示:
for (QueryOperator c : QueryOperator.values())
System.out.println(c);
valueOf
public static QueryOperator valueOf(String name)
- 返回带有指定名称的该类型的枚举常量。
字符串必须与用于声明该类型的枚举常量的
标识符完全匹配。(不允许有多余
的空格。)
- 参数:
name
- 要返回的枚举常量的名称。
- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
如果该枚举类型没有带有指定名称的常量,
- 则抛出 IllegalArgumentException
Copyright © 2013 Alfresco. All rights reserved.