Class JoinConditionHandle
java.lang.Object
org.eclipse.birt.report.model.api.ElementDetailHandle
org.eclipse.birt.report.model.api.ValueHandle
org.eclipse.birt.report.model.api.StructureHandle
org.eclipse.birt.report.model.api.JoinConditionHandle
Represents a handle of condition used for joint dataset. The joint dataset is
dataset joined by several normal datasets on join conditions.
Each join condition has following properties:
- Join Type
- the join type of the join condition which can be inner join, left out join and right out join.
- Operator
- the join condition's comparison operator
- Left Dataset
- the left dataset of the join condition.
- Right Dataset
- the right dataset of the join condition.
- Left Expression
- the left expression of the join condition.
- Right Expression
- the right expression of the join condition.
-
Field Summary
Fields inherited from class org.eclipse.birt.report.model.api.StructureHandle
structContextFields inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle
elementHandle -
Constructor Summary
ConstructorsConstructorDescriptionJoinConditionHandle(SimpleValueHandle valueHandle, int index) Constructs the handle of join condition. -
Method Summary
Modifier and TypeMethodDescriptionReturns join type value this condition.Returns left data set value this condition.Returns left expression value this condition.Returns operator value this condition.getProperty(String memberName) Gets the value of a member.Returns right data set value this condition.Returns right expression value this condition.protected StringgetStringProperty(String memberName) Get the string value of a member.voidsetJoinType(String type) Sets the join type value of this condition.voidsetLeftDataSet(String leftDataset) Sets the left data set value of this condition.voidsetLeftExpression(String leftExpression) Sets the left expression value of this condition.voidsetOperator(String operator) Sets the operator value of this condition.voidsetRightDataSet(String rightDataset) Sets the right data set value of this condition.voidsetRightExpression(String rightExpression) Sets the right expression value of this condition.Methods inherited from class org.eclipse.birt.report.model.api.StructureHandle
drop, getContext, getDefn, getExpressionProperty, getExternalizedValue, getExternalizedValue, getIntProperty, getMember, getPropertyDefn, getStructure, isDesignTime, isLocal, iterator, setDesignTime, setExpressionProperty, setProperty, setPropertySilentlyMethods inherited from class org.eclipse.birt.report.model.api.ValueHandle
getReferenceMethods inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle
getDesign, getElement, getElementHandle, getModule
-
Constructor Details
-
JoinConditionHandle
Constructs the handle of join condition.- Parameters:
valueHandle- the value handle for join condition list of one propertyindex- the position of this join condition in the list
-
-
Method Details
-
setJoinType
Sets the join type value of this condition.- Parameters:
type- the join type to set- Throws:
SemanticException
-
getJoinType
Returns join type value this condition.- Returns:
- the join type value
-
setOperator
Sets the operator value of this condition.- Parameters:
operator- the operator to set- Throws:
SemanticException
-
getOperator
Returns operator value this condition.- Returns:
- the operator value
-
setLeftDataSet
Sets the left data set value of this condition.- Parameters:
leftDataset- the left data set to set
-
getLeftDataSet
Returns left data set value this condition.- Returns:
- the left data set value
-
setRightDataSet
Sets the right data set value of this condition.- Parameters:
rightDataset- the right data set to set
-
getRightDataSet
Returns right data set value this condition.- Returns:
- the right data set value
-
setLeftExpression
Sets the left expression value of this condition.- Parameters:
leftExpression- the left expression to set
-
getLeftExpression
Returns left expression value this condition.- Returns:
- the left expression value
-
setRightExpression
Sets the right expression value of this condition.- Parameters:
rightExpression- the right expression to set
-
getRightExpression
Returns right expression value this condition.- Returns:
- the right expression value
-
getProperty
Description copied from class:StructureHandleGets the value of a member.- Overrides:
getPropertyin classStructureHandle- Parameters:
memberName- name of the member to get- Returns:
- String value of the member, or
nullif the member is not set or is not found.
-
getStringProperty
Description copied from class:StructureHandleGet the string value of a member.- Overrides:
getStringPropertyin classStructureHandle- Parameters:
memberName- name of the member to get- Returns:
- String value of the member, or
nullif the member is not set or is not found.
-