|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.citra.pivot.olap.metadata.impl.AbstractOlapObject
com.citra.pivot.olap.metadata.impl.OlapHierarchyImpl
public class OlapHierarchyImpl
OlapHierarchyImpl is a modifiable OlapHierarchy implementation.
Field Summary | |
---|---|
protected OlapMemberImpl |
defaultMember
the hierarchy's default member |
protected OlapDimension |
dimension
the hierarchy's dimension |
protected boolean |
hasAll
whether the hierarchy has an 'All' member |
protected LevelList |
levels
the hierarchy's levels |
Fields inherited from class com.citra.pivot.olap.metadata.impl.AbstractOlapObject |
---|
caption, description, id, name |
Constructor Summary | |
---|---|
OlapHierarchyImpl(String name,
String id,
String caption,
String description,
OlapDimensionImpl dimension,
boolean hasAll)
Constructs an OlapHierarchyImpl. |
Method Summary | |
---|---|
OlapMember |
getDefaultMember()
Retrieves the default member of the hierarchy. |
OlapDimension |
getDimension()
Retrieves the dimension this hierarchy belongs to. |
LevelList |
getLevels()
Retrieves the levels that the hierarchy contains. |
boolean |
hasAll()
Determines whether the hierarchy has an 'all' member. |
void |
setDefaultMember(OlapMemberImpl defaultMember)
Assigns the default member of this hierarchy. |
void |
setDimension(OlapDimension dimension)
Assigns the dimension of this hierarchy. |
void |
setHasAll(boolean hasAll)
Determines whether the hierarchy has an 'All' member. |
void |
setLevels(List levels)
Assigns the levels of this hierarchy. |
Methods inherited from class com.citra.pivot.olap.metadata.impl.AbstractOlapObject |
---|
getCaption, getDescription, getID, getName, setCaption, setDescription, setID, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.citra.pivot.olap.metadata.OlapObject |
---|
getCaption, getDescription, getID, getName |
Field Detail |
---|
protected OlapDimension dimension
protected LevelList levels
protected boolean hasAll
protected OlapMemberImpl defaultMember
Constructor Detail |
---|
public OlapHierarchyImpl(String name, String id, String caption, String description, OlapDimensionImpl dimension, boolean hasAll)
Method Detail |
---|
public OlapMember getDefaultMember()
getDefaultMember
in interface OlapHierarchy
public OlapDimension getDimension()
getDimension
in interface OlapHierarchy
public LevelList getLevels()
getLevels
in interface OlapHierarchy
public boolean hasAll()
hasAll
in interface OlapHierarchy
public void setDefaultMember(OlapMemberImpl defaultMember)
defaultMember
- the default member to assignpublic void setDimension(OlapDimension dimension)
dimension
- the dimension to assignpublic void setHasAll(boolean hasAll)
hasAll
- true if the hierarchy has an 'All' member, false otherwisepublic void setLevels(List levels)
levels
- the hierarchy levels to assign
|
Copyright © 2011 Citra Technologies. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |