public class DimensionConditionHandle extends StructureHandle
structContext
elementHandle
Constructor and Description |
---|
DimensionConditionHandle(SimpleValueHandle valueHandle,
int index)
Constructs the handle of the cube join condition.
|
Modifier and Type | Method and Description |
---|---|
DimensionJoinConditionHandle |
addJoinCondition(DimensionJoinCondition joinCondition)
Gets the dimension join condition handle.
|
HierarchyHandle |
getHierarchy()
Gets the referred hierarchy handle of this condition.
|
java.lang.String |
getHierarchyName()
Gets the referred hierarchy name of this condition.
|
MemberHandle |
getJoinConditions()
Gets the member handle to deal with all the
DimensionJoinCondition . |
void |
removeJoinCondition(DimensionJoinCondition joinCondition)
Removes join condition from this dimension condition.
|
void |
removeJoinCondition(int index)
Remove the join condition in the specified position.
|
void |
setHierarchy(HierarchyHandle hierarchyHandle)
Sets the referred hierarchy by the handle.
|
void |
setHierarchy(java.lang.String hierarchyName)
Sets the referred hierarchy by the name.
|
drop, getContext, getDefn, getExpressionProperty, getExternalizedValue, getExternalizedValue, getIntProperty, getMember, getProperty, getPropertyDefn, getStringProperty, getStructure, isDesignTime, isLocal, iterator, setDesignTime, setExpressionProperty, setProperty, setPropertySilently
getReference
getDesign, getElement, getElementHandle, getModule
public DimensionConditionHandle(SimpleValueHandle valueHandle, int index)
valueHandle
- the value handle for the cube join condition list of one
propertyindex
- the position of this join condition in the listpublic MemberHandle getJoinConditions()
DimensionJoinCondition
.public DimensionJoinConditionHandle addJoinCondition(DimensionJoinCondition joinCondition) throws SemanticException
joinCondition
- the join condition.SemanticException
public void removeJoinCondition(DimensionJoinCondition joinCondition) throws SemanticException
joinCondition
- the join condition to removeSemanticException
public void removeJoinCondition(int index) throws SemanticException
index
- the position where the join condition residesSemanticException
public HierarchyHandle getHierarchy()
public java.lang.String getHierarchyName()
public void setHierarchy(java.lang.String hierarchyName) throws SemanticException
hierarchyName
- the hierarchy name to setSemanticException
public void setHierarchy(HierarchyHandle hierarchyHandle) throws SemanticException
hierarchyHandle
- the hierarchy handle to setSemanticException
Copyright © 2008 Actuate Corp. All rights reserved.