public class TabularCubeHandle extends CubeHandle implements org.eclipse.birt.report.model.elements.interfaces.ITabularCubeModel
CubeelementmoduleAUTO_KEY_PROP, DATA_SET_PROP, DIMENSION_CONDITIONS_PROPACCESS_CONTROLS_PROP, ACL_EXPRESSION_PROP, DEFAULT_MEASURE_GROUP_PROP, DIMENSIONS_PROP, FILTER_PROP, MEASURE_GROUPS_PROPCOMMENTS_PROP, CUSTOM_XML_PROP, DISPLAY_NAME_ID_PROP, DISPLAY_NAME_PROP, EVENT_HANDLER_CLASS_PROP, EXTENDS_PROP, FULL_LABEL, ID_SUFFIX, NAME_PROP, NEW_HANDLER_ON_EACH_EVENT_PROP, NO_SLOT, PROPERTY_MASKS_PROP, REF_TEMPLATE_PARAMETER_PROP, SHORT_LABEL, USER_LABEL, USER_PROPERTIES_PROP, VIEW_ACTION_PROP| 构造器和说明 |
|---|
TabularCubeHandle(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
Constructs a handle for the given design and design element.
|
| 限定符和类型 | 方法和说明 |
|---|---|
DimensionConditionHandle |
addDimensionCondition(DimensionCondition condition)
Adds a dimension condition to this cube.
|
DimensionConditionHandle |
addDimensionCondition(DimensionCondition condition,
int posn)
Adds a dimension condition to the specified position.
|
boolean |
autoPrimaryKey()
Gets the status whether to generate a primary key for elements that use
this cube so that user no longer need to set the aggregation for measure.
|
DimensionConditionHandle |
findDimensionCondition(HierarchyHandle hierarchy)
Finds the dimension condition defined for the given hierarchy element.
|
DimensionConditionHandle |
findDimensionCondition(java.lang.String hierarchyName)
Finds the dimension condition defined for the hierarchy element with the
specified name.
|
DataSetHandle |
getDataSet()
Returns the data set of this cube.
|
java.util.Iterator |
joinConditionsIterator()
Gets the iterator of the join conditions.
|
void |
removeDimensionCondition(DimensionCondition condition)
Removes a dimension condition from this cube.
|
void |
removeDimensionCondition(DimensionConditionHandle conditionHandle) |
void |
setAutoPrimaryKey(boolean autoKey)
Sets the status whether to generate a primary key for elements that use
this cube so that user no longer need to set the aggregation for measure.
|
void |
setDataSet(DataSetHandle handle)
Sets the data set of this cube.
|
accessControlsIterator, addFilter, doGetLocalDimension, filtersIterator, getACLExpression, getDefaultMeasureGroup, getDimension, getDimension, getLocalDimension, getMeasure, removeFilter, setDefaultMeasureGroupgetComments, getCustomXml, getDisplayName, getDisplayNameKey, getElement, getPropertyMask, isValidLayoutForCompoundElement, isValidReferenceForCompoundElement, propertyMaskIterator, setComments, setCustomXml, setDisplayName, setDisplayNameKey, setPropertyMaskadd, add, addElement, addElement, addListener, addUserPropertyDefn, cachePropertyHandles, canContain, canContain, canContain, canContain, canDrop, canEdit, canTransformToTemplate, clearAllProperties, clearContents, clearProperty, clientsIterator, copy, copyPropertyTo, createTemplateElement, derivedIterator, doSort, drop, drop, drop, dropAndClear, dropAndClear, dropAndClear, dropUserPropertyDefn, findContentSlot, getBooleanProperty, getChoices, getColorProperty, getContainer, getContainerPropertyHandle, getContainerSlotHandle, getContent, getContentCount, getContents, getDefn, getDesign, getDesignHandle, getDimensionProperty, getDisplayLabel, getDisplayLabel, getDisplayProperty, getEffectiveModule, getElementFactory, getElementProperty, getEventHandlerClass, getExpressionProperty, getExtends, getExternalizedValue, getExternalizedValue, getExternalizedValue, getFactoryElementHandle, getFactoryPropertyHandle, getFloatProperty, getFontProperty, getFullName, getHostViewHandle, getID, getIndex, getIntProperty, getListProperty, getListProperty, getMethods, getModule, getModuleHandle, getName, getNumberProperty, getPrivateStyle, getProperty, getPropertyBinding, getPropertyBindingExpression, getPropertyBindings, getPropertyDefn, getPropertyHandle, getPropertyIterator, getQualifiedName, getRoot, getSemanticErrors, getSlot, getStringProperty, getStyle, getUserProperties, getUserPropertyDefnHandle, getXPath, hasLocalProperties, hasSemanticError, initializeSlotHandles, isDirectionRTL, isInTemplateParameter, isTemplateParameterValue, isValid, localize, move, move, moveTo, moveTo, moveTo, moveTo, newHandlerOnEachEvent, paste, paste, paste, paste, removeListener, revertToReportItem, revertToTemplate, semanticCheck, setBooleanProperty, setEncryption, setEventHandlerClass, setExpressionProperty, setExtends, setExtendsElement, setExtendsName, setFloatProperty, setIntProperty, setName, setNewHandlerOnEachEvent, setNumberProperty, setProperties, setProperty, setPropertyBinding, setPropertyBinding, setStringProperty, setStyle, setStyleElement, setStyleName, setValid, shift, showError, slotsIteratorpublic TabularCubeHandle(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
module - the moduleelement - the model representation of the elementpublic DataSetHandle getDataSet()
public void setDataSet(DataSetHandle handle) throws SemanticException
handle - the handle of the data setSemanticException - if the property is locked, or the data-set is invalid.public DimensionConditionHandle addDimensionCondition(DimensionCondition condition) throws SemanticException
condition - SemanticExceptionpublic DimensionConditionHandle addDimensionCondition(DimensionCondition condition, int posn) throws SemanticException
condition - posn - SemanticExceptionpublic java.util.Iterator joinConditionsIterator()
StructureHandle.public void removeDimensionCondition(DimensionCondition condition) throws SemanticException
condition - SemanticExceptionpublic void removeDimensionCondition(DimensionConditionHandle conditionHandle) throws SemanticException
conditionHandle - SemanticExceptionpublic DimensionConditionHandle findDimensionCondition(java.lang.String hierarchyName)
hierarchyName - public DimensionConditionHandle findDimensionCondition(HierarchyHandle hierarchy)
hierarchy - public boolean autoPrimaryKey()
public void setAutoPrimaryKey(boolean autoKey)
throws SemanticException
autoKey - true if automatically generate the key, otherwise falseSemanticExceptionCopyright © 2008 Actuate Corp. All rights reserved.