Class DimensionJoinConditionHandle
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.DimensionJoinConditionHandle
Represents a dimension join condition in the DimensionCondition. It defines
two keys for the cube and hierarchy join, one is from cube and another is
from hierarchy.
-
Field Summary
Fields inherited from class org.eclipse.birt.report.model.api.StructureHandle
structContext
Fields inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle
elementHandle
-
Constructor Summary
ConstructorsConstructorDescriptionDimensionJoinConditionHandle
(SimpleValueHandle valueHandle, int index) Constructs a dimension join condition handle with the givenSimpleValueHandle
and the index of the dimension join condition in the dimension condition. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the cube key in this dimension join condition.Gets the hierarchy key in this dimension join condition.getLevel()
Gets the referred level element handle of this condition.Gets the referred level full name of this condition.int
hashCode()
void
setCubeKey
(String cubeKey) Sets the cube key in this dimension join condition.void
setHierarchyKey
(String hierarchyKey) Sets the hierarchy key in this dimension join condition.void
Sets the referred level by the name.void
setLevel
(LevelHandle levelHandle) Sets the referred level by the handle.Methods inherited from class org.eclipse.birt.report.model.api.StructureHandle
drop, getContext, getDefn, getExpressionProperty, getExternalizedValue, getExternalizedValue, getIntProperty, getMember, getProperty, getPropertyDefn, getStringProperty, getStructure, isDesignTime, isLocal, iterator, setDesignTime, setExpressionProperty, setProperty, setPropertySilently
Methods inherited from class org.eclipse.birt.report.model.api.ValueHandle
getReference
Methods inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle
getDesign, getElement, getElementHandle, getModule
-
Constructor Details
-
DimensionJoinConditionHandle
Constructs a dimension join condition handle with the givenSimpleValueHandle
and the index of the dimension join condition in the dimension condition.- Parameters:
valueHandle
- handle to a list property or memberindex
- index of the structure within the list
-
-
Method Details
-
getCubeKey
Gets the cube key in this dimension join condition.- Returns:
- the cube key in this dimension join condition
-
setCubeKey
Sets the cube key in this dimension join condition.- Parameters:
cubeKey
- the cube key to set
-
getHierarchyKey
Gets the hierarchy key in this dimension join condition.- Returns:
- the hierarchy key in this dimension join condition
-
setHierarchyKey
Sets the hierarchy key in this dimension join condition.- Parameters:
hierarchyKey
- the hierarchy key to set
-
getLevel
Gets the referred level element handle of this condition.- Returns:
- level element handle of this condition if found, otherwise null
-
getLevelName
Gets the referred level full name of this condition.- Returns:
- level full name of this condition if set, otherwise null
-
setLevel
Sets the referred level by the name.- Parameters:
levelName
- the full name of the level element to set- Throws:
SemanticException
-
setLevel
Sets the referred level by the handle.- Parameters:
levelHandle
- the level handle to set- Throws:
SemanticException
-
equals
-
hashCode
public int hashCode()
-