Package org.xwiki.eventstream.query
Class AbstractPropertyQueryCondition
- java.lang.Object
-
- org.xwiki.eventstream.query.QueryCondition
-
- org.xwiki.eventstream.query.AbstractPropertyQueryCondition
-
- Direct Known Subclasses:
CompareQueryCondition
,InQueryCondition
public abstract class AbstractPropertyQueryCondition extends QueryCondition
A condition with a property.- Since:
- 12.5RC1
- Version:
- $Id: baa47c3590a0237a5a5cd55f78eb55807b933b12 $
-
-
Constructor Summary
Constructors Constructor Description AbstractPropertyQueryCondition(boolean reversed, String property)
AbstractPropertyQueryCondition(boolean reversed, String property, boolean custom)
AbstractPropertyQueryCondition(boolean reversed, String property, boolean custom, Type customType)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
Type
getCustomType()
String
getProperty()
int
hashCode()
boolean
isCustom()
boolean
isParameter()
Deprecated.useisCustom()
insteadString
toString()
-
Methods inherited from class org.xwiki.eventstream.query.QueryCondition
isReversed
-
-
-
-
Constructor Detail
-
AbstractPropertyQueryCondition
public AbstractPropertyQueryCondition(boolean reversed, String property)
- Parameters:
reversed
- true if the condition should be reversedproperty
- the name of the property
-
AbstractPropertyQueryCondition
public AbstractPropertyQueryCondition(boolean reversed, String property, boolean custom)
- Parameters:
reversed
- true if the condition should be reversedproperty
- the name of the propertycustom
- true if it's a custom event property- Since:
- 13.9RC1
-
AbstractPropertyQueryCondition
public AbstractPropertyQueryCondition(boolean reversed, String property, boolean custom, Type customType)
- Parameters:
reversed
- true if the condition should be reversedproperty
- the name of the propertycustom
- true if it's a custom event reversedcustomType
- the type in which that property was stored- Since:
- 14.2RC1
-
-
Method Detail
-
getProperty
public String getProperty()
- Returns:
- the property
-
isParameter
@Deprecated(since="14.2RC1") public boolean isParameter()
Deprecated.useisCustom()
instead- Returns:
- true if it's a custom event parameter
- Since:
- 13.9RC1
-
isCustom
public boolean isCustom()
- Returns:
- true if it's a custom event property
- Since:
- 14.2RC1
-
getCustomType
public Type getCustomType()
- Returns:
- the type in which that property was stored
- Since:
- 14.2RC1
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classQueryCondition
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classQueryCondition
-
toString
public String toString()
- Overrides:
toString
in classQueryCondition
-
-