Constructor and Description |
---|
JpaProperty(String propertyName)
Initializes a property for the given
propertyName . |
Modifier and Type | Method and Description |
---|---|
JpaCriteria |
greaterThan(Object expression)
Returns a criteria instance where the property must be "greater than" the given
expression . |
JpaCriteria |
greaterThanEquals(Object expression)
Returns a criteria instance where the property must be "greater than" or "equal to" the given
expression . |
Criteria |
in(Object expression)
Returns a criteria instance where the property must be "in" the given
expression . |
JpaCriteria |
is(Object expression)
Returns a criteria instance where the property must "equal" the given
expression . |
JpaCriteria |
isNot(Object expression)
Returns a criteria instance where the property must be "not equal to" the given
expression . |
JpaCriteria |
lessThan(Object expression)
Returns a criteria instance where the property must be "less than" the given
expression . |
JpaCriteria |
lessThanEquals(Object expression)
Returns a criteria instance where the property must be "less than" or "equal to" the given
expression . |
Criteria |
notIn(Object expression)
Returns a criteria instance where the property must be "not in" the given
expression . |
void |
parse(String entryKey,
StringBuilder stringBuilder)
Parse the property value to a valid EJQL expression.
|
public JpaProperty(String propertyName)
propertyName
.propertyName
- The name of the propertypublic JpaCriteria lessThan(Object expression)
Property
expression
. Some event
stores also allow the given expression to be a property.public JpaCriteria lessThanEquals(Object expression)
Property
expression
. Some event stores also allow the given expression to be a property.lessThanEquals
in interface Property
expression
- The expression to match against the propertypublic JpaCriteria greaterThan(Object expression)
Property
expression
. Some
event stores also allow the given expression to be a property.greaterThan
in interface Property
expression
- The expression to match against the propertypublic JpaCriteria greaterThanEquals(Object expression)
Property
expression
. Some event stores also allow the given expression to be a property.greaterThanEquals
in interface Property
expression
- The expression to match against the propertypublic JpaCriteria is(Object expression)
Property
expression
. Some event stores
also allow the given expression to be a property.public JpaCriteria isNot(Object expression)
Property
expression
. Some
event stores also allow the given expression to be a property.public Criteria in(Object expression)
Property
expression
. Some event stores
also allow the given expression to be a property.
Note that the given expression
must describe a collection of some sort.public Criteria notIn(Object expression)
Property
expression
. Some event
stores also allow the given expression to be a property.public void parse(String entryKey, StringBuilder stringBuilder)
entryKey
- The variable assigned to the entry holding the propertystringBuilder
- The builder to append the expression toCopyright © 2010-2014. All Rights Reserved.