org.axonframework.eventstore.mongo.criteria
Class MongoProperty
java.lang.Object
org.axonframework.eventstore.mongo.criteria.MongoProperty
- All Implemented Interfaces:
- Property
public class MongoProperty
- extends Object
- implements Property
Property implementation for use by the Mongo Event Store.
- Since:
- 2.0
- Author:
- Allard Buijze
|
Constructor Summary |
MongoProperty(String propertyName)
Initialize a property for the given propertyName. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MongoProperty
public MongoProperty(String propertyName)
- Initialize a property for the given
propertyName.
- Parameters:
propertyName - The name of the property of the Mongo document.
lessThan
public MongoCriteria lessThan(Object expression)
- Specified by:
lessThan in interface Property
lessThanEquals
public MongoCriteria lessThanEquals(Object expression)
- Specified by:
lessThanEquals in interface Property
greaterThan
public MongoCriteria greaterThan(Object expression)
- Specified by:
greaterThan in interface Property
greaterThanEquals
public MongoCriteria greaterThanEquals(Object expression)
- Specified by:
greaterThanEquals in interface Property
is
public MongoCriteria is(Object expression)
- Specified by:
is in interface Property
isNot
public MongoCriteria isNot(Object expression)
- Specified by:
isNot in interface Property
in
public MongoCriteria in(Object expression)
- Specified by:
in in interface Property
notIn
public MongoCriteria notIn(Object expression)
- Specified by:
notIn in interface Property
getName
public String getName()
- Returns the name of the property.
- Returns:
- the name of the property
Copyright © 2010-2013. All Rights Reserved.