|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.olap.OlapElementBase mondrian.olap.HierarchyBase
public abstract class HierarchyBase
Skeleton implementation for Hierarchy
.
Field Summary | |
---|---|
protected String |
allLevelName
|
protected String |
allMemberName
|
protected String |
description
|
protected Dimension |
dimension
|
protected boolean |
hasAll
|
protected Level[] |
levels
|
protected String |
name
|
protected String |
subName
name and subName are the name of the
hierarchy, respectively containing and not containing dimension
name. |
protected String |
uniqueName
|
Fields inherited from class mondrian.olap.OlapElementBase |
---|
caption |
Constructor Summary | |
---|---|
protected |
HierarchyBase(Dimension dimension,
String subName,
boolean hasAll)
|
Method Summary | |
---|---|
boolean |
equals(OlapElement mdxElement)
|
String |
getAllLevelName()
Returns the name of the 'all' level in this hierarchy. |
String |
getAllMemberName()
|
String |
getDescription()
|
Dimension |
getDimension()
Returns the dimension this hierarchy belongs to. |
Hierarchy |
getHierarchy()
|
Level[] |
getLevels()
Returns the levels in this hierarchy. |
String |
getName()
|
String |
getQualifiedName()
Returns the name of this element qualified by its class, for example "hierarchy 'Customers'". |
String |
getSubName()
Returns the name of the hierarchy sans dimension name. |
String |
getUniqueName()
|
boolean |
hasAll()
|
abstract boolean |
isRagged()
|
OlapElement |
lookupChild(SchemaReader schemaReader,
Id.Segment s)
Looks up a child element, returning null if it does not exist. |
OlapElement |
lookupChild(SchemaReader schemaReader,
Id.Segment s,
MatchType matchType)
|
Methods inherited from class mondrian.olap.OlapElementBase |
---|
clone, computeHashCode, equals, getCaption, getLogger, hashCode, setCaption, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface mondrian.olap.Hierarchy |
---|
createMember, getAllMember, getDefaultMember, getNullMember |
Methods inherited from interface mondrian.olap.OlapElement |
---|
getCaption |
Field Detail |
---|
protected final Dimension dimension
protected final String subName
name
and subName
are the name of the
hierarchy, respectively containing and not containing dimension
name. For example:
uniqueName | name | subName |
---|---|---|
[Time.Weekly] | Time.Weekly | Weekly |
[Customers] | Customers | null |
protected final String name
protected final String uniqueName
protected String description
protected Level[] levels
protected final boolean hasAll
protected String allMemberName
protected String allLevelName
Constructor Detail |
---|
protected HierarchyBase(Dimension dimension, String subName, boolean hasAll)
Method Detail |
---|
public String getSubName()
public String getUniqueName()
getUniqueName
in interface OlapElement
public String getName()
getName
in interface OlapElement
public String getQualifiedName()
OlapElement
getQualifiedName
in interface OlapElement
public abstract boolean isRagged()
public String getDescription()
getDescription
in interface OlapElement
public Dimension getDimension()
Hierarchy
getDimension
in interface Hierarchy
getDimension
in interface OlapElement
public Level[] getLevels()
Hierarchy
If a hierarchy is subject to access-control, some of the levels may
not be visible; use SchemaReader.getHierarchyLevels(mondrian.olap.Hierarchy)
instead.
getLevels
in interface Hierarchy
public Hierarchy getHierarchy()
getHierarchy
in interface OlapElement
public boolean hasAll()
hasAll
in interface Hierarchy
public boolean equals(OlapElement mdxElement)
equals
in class OlapElementBase
public OlapElement lookupChild(SchemaReader schemaReader, Id.Segment s)
OlapElement
lookupChild
in interface OlapElement
public OlapElement lookupChild(SchemaReader schemaReader, Id.Segment s, MatchType matchType)
lookupChild
in interface OlapElement
public String getAllMemberName()
public String getAllLevelName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |