Package org.camunda.bpm.engine.impl
Class QueryEntityRelationCondition
- java.lang.Object
-
- org.camunda.bpm.engine.impl.QueryEntityRelationCondition
-
public class QueryEntityRelationCondition extends java.lang.Object
Specifies a condition by which two entity types can be related.comparisonProperty
andscalarValue
are exclusive, i.e. one of the should benull
.- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected QueryProperty
comparisonProperty
protected QueryProperty
property
protected java.lang.Object
scalarValue
-
Constructor Summary
Constructors Constructor Description QueryEntityRelationCondition(QueryProperty queryProperty, java.lang.Object scalarValue)
QueryEntityRelationCondition(QueryProperty queryProperty, QueryProperty comparisonProperty)
QueryEntityRelationCondition(QueryProperty queryProperty, QueryProperty comparisonProperty, java.lang.Object scalarValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryProperty
getComparisonProperty()
QueryProperty
getProperty()
java.lang.Object
getScalarValue()
boolean
isPropertyComparison()
This assumes that scalarValue and comparisonProperty are mutually exclusive.java.lang.String
toString()
-
-
-
Field Detail
-
property
protected QueryProperty property
-
comparisonProperty
protected QueryProperty comparisonProperty
-
scalarValue
protected java.lang.Object scalarValue
-
-
Constructor Detail
-
QueryEntityRelationCondition
public QueryEntityRelationCondition(QueryProperty queryProperty, java.lang.Object scalarValue)
-
QueryEntityRelationCondition
public QueryEntityRelationCondition(QueryProperty queryProperty, QueryProperty comparisonProperty)
-
QueryEntityRelationCondition
public QueryEntityRelationCondition(QueryProperty queryProperty, QueryProperty comparisonProperty, java.lang.Object scalarValue)
-
-
Method Detail
-
getProperty
public QueryProperty getProperty()
-
getComparisonProperty
public QueryProperty getComparisonProperty()
-
getScalarValue
public java.lang.Object getScalarValue()
-
isPropertyComparison
public boolean isPropertyComparison()
This assumes that scalarValue and comparisonProperty are mutually exclusive. Either a condition is expressed is by a scalar value, or with a property of another entity.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-