Package mondrian.olap

Interface OlapElement

    • Method Detail

      • getUniqueName

        String getUniqueName()
      • getDescription

        String getDescription()
      • getQualifiedName

        String getQualifiedName()
        Returns the name of this element qualified by its class, for example "hierarchy 'Customers'".
      • getCaption

        String getCaption()
      • getLocalized

        String getLocalized​(OlapElement.LocalizedProperty prop,
                            Locale locale)
        Returns the value of a property (caption or description) of this element in the given locale.
        Parameters:
        locale - Locale
        Returns:
        Localized caption or description
      • getDimension

        Dimension getDimension()
        Returns the dimension of a this expression, or null if no dimension is defined. Applicable only to set expressions.

        Example 1:

         [Sales].children
         
        has dimension [Sales].

        Example 2:

         order(except([Promotion Media].[Media Type].members,
                      {[Promotion Media].[Media Type].[No Media]}),
               [Measures].[Unit Sales], DESC)
         
        has dimension [Promotion Media].

        Example 3:

         CrossJoin([Product].[Product Department].members,
                   [Gender].members)
         
        has no dimension (well, actually it is [Product] x [Gender], but we can't represent that, so we return null);

      • isVisible

        boolean isVisible()
        Returns whether this element is visible to end-users.

        Visibility is a hint for client applications. An element's visibility does not affect how it is treated when MDX queries are evaluated.

        Returns:
        Whether this element is visible