|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.olap.OlapElementBase
public abstract class OlapElementBase
OlapElementBase is an abstract base class for implementations of
OlapElement.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface mondrian.olap.OlapElement |
|---|
OlapElement.LocalizedProperty |
| Field Summary | |
|---|---|
protected String |
caption
|
protected boolean |
visible
|
| Constructor Summary | |
|---|---|
protected |
OlapElementBase()
|
| Method Summary | |
|---|---|
Object |
clone()
|
protected int |
computeHashCode()
Computes this object's hash code. |
boolean |
equals(Object o)
|
boolean |
equals(OlapElement mdxElement)
|
String |
getCaption()
Returns the display name of this catalog element. |
String |
getLocalized(OlapElement.LocalizedProperty prop,
Locale locale)
Returns the value of a property (caption or description) of this element in the given locale. |
protected abstract org.apache.log4j.Logger |
getLogger()
|
int |
hashCode()
|
boolean |
isVisible()
Returns whether this element is visible to end-users. |
void |
setCaption(String caption)
Sets the display name of this catalog element. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface mondrian.olap.OlapElement |
|---|
getDescription, getDimension, getHierarchy, getName, getQualifiedName, getUniqueName, lookupChild |
| Field Detail |
|---|
protected String caption
protected boolean visible
| Constructor Detail |
|---|
protected OlapElementBase()
| Method Detail |
|---|
protected abstract org.apache.log4j.Logger getLogger()
public boolean equals(Object o)
equals in class Objectpublic boolean equals(OlapElement mdxElement)
public int hashCode()
hashCode in class Objectprotected int computeHashCode()
public String toString()
toString in class Objectpublic Object clone()
clone in class Objectpublic String getCaption()
getCaption in interface OlapElementpublic void setCaption(String caption)
public boolean isVisible()
OlapElementVisibility is a hint for client applications. An element's visibility does not affect how it is treated when MDX queries are evaluated.
isVisible in interface OlapElement
public String getLocalized(OlapElement.LocalizedProperty prop,
Locale locale)
OlapElement
getLocalized in interface OlapElementlocale - Locale
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||