|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.report.model.api.DesignElementHandle
org.eclipse.birt.report.model.api.ReportElementHandle
org.eclipse.birt.report.model.api.olap.CubeHandle
public abstract class CubeHandle
Represents a cube.
Cube
Field Summary |
---|
Fields inherited from class org.eclipse.birt.report.model.api.ReportElementHandle |
---|
element |
Fields inherited from class org.eclipse.birt.report.model.api.DesignElementHandle |
---|
module |
Fields inherited from interface org.eclipse.birt.report.model.elements.interfaces.ICubeModel |
---|
ACCESS_CONTROLS_PROP, DEFAULT_MEASURE_GROUP_PROP, DIMENSIONS_PROP, FILTER_PROP, MEASURE_GROUPS_PROP |
Fields inherited from interface org.eclipse.birt.report.model.elements.interfaces.IDesignElementModel |
---|
COMMENTS_PROP, CUSTOM_XML_PROP, DISPLAY_NAME_ID_PROP, DISPLAY_NAME_PROP, EVENT_HANDLER_CLASS_PROP, EXTENDS_PROP, FULL_LABEL, ID_SUFFIX, NAME_PROP, NO_SLOT, PROPERTY_MASKS_PROP, REF_TEMPLATE_PARAMETER_PROP, SHORT_LABEL, USER_LABEL, USER_PROPERTIES_PROP, VIEW_ACTION_PROP |
Constructor Summary | |
---|---|
CubeHandle(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. |
Method Summary | |
---|---|
java.util.Iterator |
accessControlsIterator()
Returns an iterator for the access controls. |
void |
addFilter(FilterCondition fc)
Adds the filter condition. |
java.util.Iterator |
filtersIterator()
Returns an iterator for the filter list defined on this cube. |
MeasureGroupHandle |
getDefaultMeasureGroup()
Gets the default measure group for the cube. |
DimensionHandle |
getDimension(java.lang.String dimensionName)
Gets the dimension with the specified name within this cube. |
MeasureHandle |
getMeasure(java.lang.String measureName)
Gets the measure with the specified name within this cube. |
void |
removeFilter(FilterCondition fc)
Removes the filter condition. |
void |
setDefaultMeasureGroup(MeasureGroupHandle defaultMeasureGroup)
Sets the default measure group for this cube. |
Methods inherited from class org.eclipse.birt.report.model.api.ReportElementHandle |
---|
getComments, getCustomXml, getDisplayName, getDisplayNameKey, getElement, getPropertyMask, isValidLayoutForCompoundElement, isValidReferenceForCompoundElement, propertyMaskIterator, setComments, setCustomXml, setDisplayName, setDisplayNameKey, setPropertyMask |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CubeHandle(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element)
module
- the moduleelement
- the model representation of the elementMethod Detail |
---|
public DimensionHandle getDimension(java.lang.String dimensionName)
dimensionName
- name of the dimension to find
null
public MeasureHandle getMeasure(java.lang.String measureName)
measureName
- name of the measure to find
null
public java.util.Iterator filtersIterator()
StructureHandle
.
FilterCond
structure list defined
on this cube.public MeasureGroupHandle getDefaultMeasureGroup()
public void setDefaultMeasureGroup(MeasureGroupHandle defaultMeasureGroup) throws SemanticException
defaultMeasureGroup
- the default measure group to set
SemanticException
public java.util.Iterator accessControlsIterator()
AccessControlHandle
.
public void addFilter(FilterCondition fc) throws SemanticException
fc
- the filter condition structure
SemanticException
- if the expression of filter condition is empty or nullpublic void removeFilter(FilterCondition fc) throws SemanticException
fc
- the filter condition structure
SemanticException
- if the given condition doesn't exist in the filters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |