Class TabularDimensionHandle

  • All Implemented Interfaces:
    org.eclipse.birt.report.model.elements.interfaces.IDesignElementModel, org.eclipse.birt.report.model.elements.interfaces.IDimensionModel, org.eclipse.birt.report.model.elements.interfaces.ITabularDimensionModel

    public class TabularDimensionHandle
    extends DimensionHandle
    implements org.eclipse.birt.report.model.elements.interfaces.ITabularDimensionModel
    Represents a dimension element in the cube element.
    See Also:
    Dimension
    • Constructor Detail

      • TabularDimensionHandle

        public TabularDimensionHandle​(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. The application generally does not create handles directly. Instead, it uses one of the navigation methods available on other element handles.
        Parameters:
        module - the module
        element - the model representation of the element
    • Method Detail

      • isTimeType

        public boolean isTimeType()
        Checks if this dimension is time type.
        Overrides:
        isTimeType in class DimensionHandle
        Returns:
        true if this dimension is of Time type, otherwise false
      • getSharedDimension

        public DimensionHandle getSharedDimension()
        Returns the dimension object that this dimension refers to.
        Returns:
        the dimension object
      • setSharedDimension

        public void setSharedDimension​(DimensionHandle handle)
                                throws SemanticException
        Sets the dimension object this dimension refers to.
        Parameters:
        handle - the dimension object
        Throws:
        SemanticException - if the property is locked, or the dimension object is invalid