public class QueryEntityRelationCondition extends Object
comparisonProperty
and scalarValue
are exclusive, i.e. one of the should be null
.Modifier and Type | Field and Description |
---|---|
protected QueryProperty |
comparisonProperty |
protected QueryProperty |
property |
protected Object |
scalarValue |
Constructor and Description |
---|
QueryEntityRelationCondition(QueryProperty queryProperty,
Object scalarValue) |
QueryEntityRelationCondition(QueryProperty queryProperty,
QueryProperty comparisonProperty) |
QueryEntityRelationCondition(QueryProperty queryProperty,
QueryProperty comparisonProperty,
Object scalarValue) |
Modifier and Type | Method and Description |
---|---|
QueryProperty |
getComparisonProperty() |
QueryProperty |
getProperty() |
Object |
getScalarValue() |
boolean |
isPropertyComparison()
This assumes that scalarValue and comparisonProperty are mutually exclusive.
|
String |
toString() |
protected QueryProperty property
protected QueryProperty comparisonProperty
protected Object scalarValue
public QueryEntityRelationCondition(QueryProperty queryProperty, Object scalarValue)
public QueryEntityRelationCondition(QueryProperty queryProperty, QueryProperty comparisonProperty)
public QueryEntityRelationCondition(QueryProperty queryProperty, QueryProperty comparisonProperty, Object scalarValue)
public QueryProperty getProperty()
public QueryProperty getComparisonProperty()
public Object getScalarValue()
public boolean isPropertyComparison()
Copyright © 2019. All rights reserved.