Package mondrian.olap

Class OlapElementBase

    • Field Detail

      • caption

        protected String caption
      • visible

        protected boolean visible
    • Constructor Detail

      • OlapElementBase

        protected OlapElementBase()
    • Method Detail

      • getLogger

        protected abstract org.apache.logging.log4j.Logger getLogger()
      • equals

        public boolean equals​(OlapElement mdxElement)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • computeHashCode

        protected int computeHashCode()
        Computes this object's hash code. Called at most once.
        Returns:
        hash code
      • getCaption

        public String getCaption()
        Returns the display name of this catalog element. If no caption is defined, the name is returned.
        Specified by:
        getCaption in interface OlapElement
      • setCaption

        public void setCaption​(String caption)
        Sets the display name of this catalog element.
      • isVisible

        public boolean isVisible()
        Description copied from interface: OlapElement
        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.

        Specified by:
        isVisible in interface OlapElement
        Returns:
        Whether this element is visible