mondrian.olap
Class OlapElementBase
java.lang.Object
mondrian.olap.OlapElementBase
- All Implemented Interfaces:
- OlapElement
- Direct Known Subclasses:
- CubeBase, DimensionBase, HierarchyBase, LevelBase, MemberBase, SetBase
public abstract class OlapElementBase
- extends Object
- implements OlapElement
OlapElementBase
is an abstract base class for implementations of
OlapElement
.
- Since:
- 6 August, 2001
- Author:
- jhyde
-
-
caption
protected String caption
OlapElementBase
protected OlapElementBase()
getLogger
protected abstract org.apache.log4j.Logger getLogger()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
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
toString
public String toString()
- Overrides:
toString
in class Object
clone
public Object clone()
- Overrides:
clone
in class Object
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.