org.axonframework.eventstore.management
Interface Property

All Known Implementing Classes:
JdbcProperty, JpaProperty, MongoProperty, MongoProperty

public interface Property

Represents a property of the Domain Event entry stored by an Event Store. Typically, these properties must be the "indexed" values, such as timeStamp, aggregate identifier, etc.

Since:
2.0
Author:
Allard Buijze

Method Summary
 Criteria greaterThan(Object expression)
          Returns a criteria instance where the property must be "greater than" the given expression.
 Criteria 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.
 Criteria is(Object expression)
          Returns a criteria instance where the property must "equal" the given expression.
 Criteria isNot(Object expression)
          Returns a criteria instance where the property must be "not equal to" the given expression.
 Criteria lessThan(Object expression)
          Returns a criteria instance where the property must be "less than" the given expression.
 Criteria 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.
 

Method Detail

lessThan

Criteria lessThan(Object expression)
Returns a criteria instance where the property must be "less than" the given expression. Some event stores also allow the given expression to be a property.

Parameters:
expression - The expression to match against the property
Returns:
a criteria instance describing a "less than" requirement.

lessThanEquals

Criteria lessThanEquals(Object expression)
Returns a criteria instance where the property must be "less than" or "equal to" the given expression. Some event stores also allow the given expression to be a property.

Parameters:
expression - The expression to match against the property
Returns:
a criteria instance describing a "less than or equals" requirement.

greaterThan

Criteria greaterThan(Object expression)
Returns a criteria instance where the property must be "greater than" the given expression. Some event stores also allow the given expression to be a property.

Parameters:
expression - The expression to match against the property
Returns:
a criteria instance describing a "greater than" requirement.

greaterThanEquals

Criteria greaterThanEquals(Object expression)
Returns a criteria instance where the property must be "greater than" or "equal to" the given expression. Some event stores also allow the given expression to be a property.

Parameters:
expression - The expression to match against the property
Returns:
a criteria instance describing a "greater than or equals" requirement.

is

Criteria is(Object expression)
Returns a criteria instance where the property must "equal" the given expression. Some event stores also allow the given expression to be a property.

Parameters:
expression - The expression to match against the property
Returns:
a criteria instance describing an "equals" requirement.

isNot

Criteria isNot(Object expression)
Returns a criteria instance where the property must be "not equal to" the given expression. Some event stores also allow the given expression to be a property.

Parameters:
expression - The expression to match against the property
Returns:
a criteria instance describing a "not equals" requirement.

in

Criteria in(Object expression)
Returns a criteria instance where the property must be "in" the given 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.

Parameters:
expression - The expression to match against the property
Returns:
a criteria instance describing a "is in" requirement.

notIn

Criteria notIn(Object expression)
Returns a criteria instance where the property must be "not in" the given expression. Some event stores also allow the given expression to be a property.

Parameters:
expression - The expression to match against the property
Returns:
a criteria instance describing a "is not in" requirement.


Copyright © 2010-2016. All Rights Reserved.