Class TabularHierarchyHandle

  • All Implemented Interfaces:
    org.eclipse.birt.report.model.elements.interfaces.IDesignElementModel, org.eclipse.birt.report.model.elements.interfaces.IHierarchyModel, org.eclipse.birt.report.model.elements.interfaces.ITabularHierarchyModel

    public class TabularHierarchyHandle
    extends HierarchyHandle
    implements org.eclipse.birt.report.model.elements.interfaces.ITabularHierarchyModel
    Represents a Hierarchy.
    See Also:
    Hierarchy
    • Constructor Detail

      • TabularHierarchyHandle

        public TabularHierarchyHandle​(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

      • getDataSet

        public DataSetHandle getDataSet()
        Returns the data set of this hierarchy.
        Returns:
        the handle to the data set
      • setDataSet

        public void setDataSet​(DataSetHandle handle)
                        throws SemanticException
        Sets the data set of this hierarchy.
        Parameters:
        handle - the handle of the data set
        Throws:
        SemanticException - if the property is locked, or the data-set is invalid.
      • getPrimaryKeys

        public java.util.List getPrimaryKeys()
        Returns the list of primary keys. The element in the list is a String.
        Returns:
        a list of primary keys if set, otherwise null