|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.axonframework.mongo3.eventstore.criteria.MongoProperty
public class MongoProperty
Property implementation for use by the Mongo Event Store.
Constructor Summary | |
---|---|
MongoProperty(String propertyName)
Initialize a property for the given propertyName . |
Method Summary | |
---|---|
String |
getName()
Returns the name of the property. |
MongoCriteria |
greaterThan(Object expression)
Returns a criteria instance where the property must be "greater than" the given expression . |
MongoCriteria |
greaterThanEquals(Object expression)
Returns a criteria instance where the property must be "greater than" or "equal to" the given expression . |
MongoCriteria |
in(Object expression)
Returns a criteria instance where the property must be "in" the given expression . |
MongoCriteria |
is(Object expression)
Returns a criteria instance where the property must "equal" the given expression . |
MongoCriteria |
isNot(Object expression)
Returns a criteria instance where the property must be "not equal to" the given expression . |
MongoCriteria |
lessThan(Object expression)
Returns a criteria instance where the property must be "less than" the given expression . |
MongoCriteria |
lessThanEquals(Object expression)
Returns a criteria instance where the property must be "less than" or "equal to" the given expression . |
MongoCriteria |
notIn(Object expression)
Returns a criteria instance where the property must be "not in" the given expression . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MongoProperty(String propertyName)
propertyName
.
propertyName
- The name of the property of the Mongo document.Method Detail |
---|
public MongoCriteria lessThan(Object expression)
Property
expression
. Some event
stores also allow the given expression to be a property.
lessThan
in interface Property
expression
- The expression to match against the property
public MongoCriteria 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 property
public MongoCriteria 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 property
public MongoCriteria 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 property
public MongoCriteria is(Object expression)
Property
expression
. Some event stores
also allow the given expression to be a property.
is
in interface Property
expression
- The expression to match against the property
public MongoCriteria isNot(Object expression)
Property
expression
. Some
event stores also allow the given expression to be a property.
isNot
in interface Property
expression
- The expression to match against the property
public MongoCriteria 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.
in
in interface Property
expression
- The expression to match against the property
public MongoCriteria notIn(Object expression)
Property
expression
. Some event
stores also allow the given expression to be a property.
notIn
in interface Property
expression
- The expression to match against the property
public String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |