Module jp.ecuacion.util.jpa
Package jp.ecuacion.util.jpa.dao.query
Enum Class QueryConditionRelationEnum
java.lang.Object
java.lang.Enum<QueryConditionRelationEnum>
jp.ecuacion.util.jpa.dao.query.QueryConditionRelationEnum
- All Implemented Interfaces:
Serializable,Comparable<QueryConditionRelationEnum>,Constable
QueryConditionの中の1要素。 2つの値の関係がequalなのかlarger thanなのか、という情報を持つ。 2つの値だけではなく、between等も対応。
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionequal.greater than.larger than or equal to.less than.less than or equal to.like.equal. -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryConditionRelationEnumReturns the enum constant of this class with the specified name.static QueryConditionRelationEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUAL
equal. A = B -
NOT_EQUAL
equal. A != B -
GREATER_THAN
greater than. A > B -
GREATER_THAN_OR_EQUAL_TO
larger than or equal to. A >= B -
LESS_THAN
less than. A < B -
LESS_THAN_OR_EQUAL_TO
less than or equal to. A <= B -
LIKE
like. A like '%XXX%' This also supports prefix equal and postfix equal. you need to StrSearchPtnEnum to clarify which kind of like search it is. -
IN
-
NOT_IN
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-