public class OuterJoinQualifier extends Object implements Serializable
Constructor and Description |
---|
OuterJoinQualifier()
Ctor.
|
OuterJoinQualifier(OuterJoinType type,
PropertyValueExpression left,
PropertyValueExpression right)
Ctor.
|
OuterJoinQualifier(OuterJoinType type,
PropertyValueExpression left,
PropertyValueExpression right,
ArrayList<PropertyValueExpressionPair> additionalProperties)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
OuterJoinQualifier |
add(String propertyLeft,
String propertyRight)
Add additional properties to the on-clause, which are logical-and to existing properties
|
static OuterJoinQualifier |
create(String propertyLeft,
OuterJoinType type,
String propertyRight)
Creates qualifier.
|
List<PropertyValueExpressionPair> |
getAdditionalProperties()
Returns optional additional properties in the on-clause of the outer join.
|
Expression |
getLeft()
Returns property value expression to join on.
|
Expression |
getRight()
Returns property value expression to join on.
|
OuterJoinType |
getType()
Returns the type of outer join.
|
void |
setAdditionalProperties(List<PropertyValueExpressionPair> additionalProperties)
Set join properties.
|
void |
setLeft(Expression left)
Sets the property value expression to join on.
|
void |
setRight(Expression right)
Sets the property value expression to join on.
|
void |
setType(OuterJoinType type)
Sets the type of outer join.
|
public OuterJoinQualifier()
public OuterJoinQualifier(OuterJoinType type, PropertyValueExpression left, PropertyValueExpression right)
left
- is a property providing joined-on valuestype
- is the type of outer joinright
- is a property providing joined-on valuespublic OuterJoinQualifier(OuterJoinType type, PropertyValueExpression left, PropertyValueExpression right, ArrayList<PropertyValueExpressionPair> additionalProperties)
left
- is a property providing joined-on valuestype
- is the type of outer joinright
- is a property providing joined-on valuesadditionalProperties
- for any pairs of additional on-clause propertiespublic static OuterJoinQualifier create(String propertyLeft, OuterJoinType type, String propertyRight)
propertyLeft
- is a property name providing joined-on valuestype
- is the type of outer joinpropertyRight
- is a property name providing joined-on valuespublic OuterJoinType getType()
public void setType(OuterJoinType type)
type
- is the outer join typepublic void setAdditionalProperties(List<PropertyValueExpressionPair> additionalProperties)
additionalProperties
- for outer joinpublic Expression getLeft()
public void setLeft(Expression left)
left
- expression providing joined-on valuespublic Expression getRight()
public void setRight(Expression right)
right
- expression providing joined-on valuespublic OuterJoinQualifier add(String propertyLeft, String propertyRight)
propertyLeft
- property providing joined-on valuepropertyRight
- property providing joined-on valuepublic List<PropertyValueExpressionPair> getAdditionalProperties()