public abstract class OlapElementBase extends Object implements OlapElement
OlapElementBase
is an abstract base class for implementations of
OlapElement
.OlapElement.LocalizedProperty
Modifier and Type | Field and Description |
---|---|
protected String |
caption |
protected boolean |
visible |
Modifier | Constructor and Description |
---|---|
protected |
OlapElementBase() |
Modifier and Type | Method and Description |
---|---|
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() |
finalize, getClass, notify, notifyAll, wait, wait, wait
getDescription, getDimension, getHierarchy, getName, getQualifiedName, getUniqueName, lookupChild
protected String caption
protected boolean visible
protected abstract org.apache.log4j.Logger getLogger()
public boolean equals(OlapElement mdxElement)
protected int computeHashCode()
public String getCaption()
getCaption
in interface OlapElement
public void setCaption(String caption)
public boolean isVisible()
OlapElement
Visibility 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 OlapElement
locale
- LocaleCopyright © 2018 Hitachi Vantara. All rights reserved.