|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.jpivot.xmla.XMLA_Hierarchy
public class XMLA_Hierarchy
Hierarchy for XMLA
Field Summary | |
---|---|
static int |
STRUCTURE_FULLYBALANCED
|
static int |
STRUCTURE_RAGGEDBALANCED
|
static int |
STRUCTURE_UNBALANCED
|
Fields inherited from interface com.tonbeller.jpivot.olap.model.Displayable |
---|
LABEL_COMPARATOR |
Constructor Summary | |
---|---|
XMLA_Hierarchy(XMLA_Model model)
|
Method Summary | |
---|---|
void |
accept(ExpVisitor visitor)
Exp is visitable |
void |
accept(Visitor visitor)
|
void |
addLevel(Level lev)
add level for this hierarchy |
java.lang.Object |
clone()
|
Member |
getAllMember()
Returns the allMember. |
java.lang.String |
getAllMemberName()
Returns the allMember. |
java.lang.String |
getCaption()
Returns the caption. |
int |
getCardinality()
Returns the cardinality. |
java.lang.String |
getDefaultMember()
Returns the defaultMember. |
Dimension |
getDimension()
get the Dimension to which this Hierarchy belongs. |
int |
getDimType()
Returns the dimType. |
java.lang.String |
getDimUniqueName()
Returns the dimUniqueName. |
int |
getDimUniqueSettings()
Returns the dimUniqueSettings. |
java.lang.String |
getLabel()
name of this item |
Level[] |
getLevels()
get the Levels of this Hierarchy. |
int |
getOrdinal()
Returns the ordinal. |
java.lang.Object |
getRootDecoree()
returns the object that has been created by the olap server. |
int |
getStructure()
Returns the structure. |
java.lang.String |
getUniqueName()
Returns the uniqueName. |
boolean |
hasAll()
|
boolean |
isDimShared()
Returns the isDimShared. |
boolean |
isDimVisible()
Returns the isDimVisible. |
boolean |
isEqual(XMLA_Hierarchy other)
|
protected boolean |
isMembersGotten()
Returns the isMembersGotten. |
boolean |
isReadWrite()
Returns the isReadWrite. |
boolean |
isVirtual()
Returns the isVirtual. |
void |
setAllMember(java.lang.String allMember)
Sets the allMember. |
void |
setCaption(java.lang.String caption)
Sets the caption. |
void |
setCardinality(int cardinality)
Sets the cardinality. |
void |
setDefaultMember(java.lang.String defaultMember)
Sets the defaultMember. |
void |
setDimension(Dimension dimension)
Sets the dimension. |
void |
setDimShared(boolean isDimShared)
Sets the isDimShared. |
void |
setDimType(int dimType)
Sets the dimType. |
void |
setDimUniqueName(java.lang.String dimUniqueName)
Sets the dimUniqueName. |
void |
setDimUniqueSettings(int dimUniqueSettings)
Sets the dimUniqueSettings. |
void |
setDimVisible(boolean isDimVisible)
Sets the isDimVisible. |
protected void |
setMembersGotten(boolean isMembersGotten)
Sets the isMembersGotten. |
void |
setOrdinal(int ordinal)
Sets the ordinal. |
void |
setReadWrite(boolean isReadWrite)
Sets the isReadWrite. |
void |
setStructure(int structure)
Sets the structure. |
void |
setUniqueName(java.lang.String uniqueName)
Sets the uniqueName. |
void |
setVirtual(boolean isVirtual)
Sets the isVirtual. |
java.lang.String |
toMdx()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int STRUCTURE_FULLYBALANCED
public static final int STRUCTURE_RAGGEDBALANCED
public static final int STRUCTURE_UNBALANCED
Constructor Detail |
---|
public XMLA_Hierarchy(XMLA_Model model)
Method Detail |
---|
public java.lang.String getAllMemberName()
public Member getAllMember()
public java.lang.String getCaption()
public int getCardinality()
public java.lang.String getDefaultMember()
public int getDimType()
public java.lang.String getDimUniqueName()
public int getDimUniqueSettings()
public boolean isDimShared()
public boolean isDimVisible()
public boolean isReadWrite()
public boolean isVirtual()
public int getOrdinal()
public int getStructure()
public java.lang.String getUniqueName()
getUniqueName
in interface MDXElement
public void setAllMember(java.lang.String allMember)
allMember
- The allMember to setpublic void setCaption(java.lang.String caption)
caption
- The caption to setpublic void setCardinality(int cardinality)
cardinality
- The cardinality to setpublic void setDefaultMember(java.lang.String defaultMember)
defaultMember
- The defaultMember to setpublic void setDimType(int dimType)
dimType
- The dimType to setpublic void setDimUniqueName(java.lang.String dimUniqueName)
dimUniqueName
- The dimUniqueName to setpublic void setDimUniqueSettings(int dimUniqueSettings)
dimUniqueSettings
- The dimUniqueSettings to setpublic void setDimShared(boolean isDimShared)
isDimShared
- The isDimShared to setpublic void setDimVisible(boolean isDimVisible)
isDimVisible
- The isDimVisible to setpublic void setReadWrite(boolean isReadWrite)
isReadWrite
- The isReadWrite to setpublic void setVirtual(boolean isVirtual)
isVirtual
- The isVirtual to setpublic void setOrdinal(int ordinal)
ordinal
- The ordinal to setpublic void setStructure(int structure)
structure
- The structure to setpublic void setUniqueName(java.lang.String uniqueName)
uniqueName
- The uniqueName to setpublic Dimension getDimension()
Hierarchy
getDimension
in interface Hierarchy
Hierarchy.getDimension()
public Level[] getLevels()
Hierarchy
getLevels
in interface Hierarchy
Hierarchy.getLevels()
public java.lang.String getLabel()
Displayable
getLabel
in interface Displayable
Displayable.getLabel()
public void accept(Visitor visitor)
accept
in interface Visitable
Visitable.accept(Visitor)
public java.lang.Object getRootDecoree()
Decorator
getRootDecoree
in interface Decorator
Decorator.getRootDecoree()
public void setDimension(Dimension dimension)
dimension
- The dimension to setpublic void addLevel(Level lev)
lev
- public boolean isEqual(XMLA_Hierarchy other)
other
-
protected boolean isMembersGotten()
protected void setMembersGotten(boolean isMembersGotten)
isMembersGotten
- The isMembersGotten to setpublic java.lang.String toMdx()
toMdx
in interface Exp
public java.lang.Object clone()
clone
in interface Exp
clone
in class java.lang.Object
probably not needed any more
public void accept(ExpVisitor visitor)
Exp
accept
in interface Exp
Exp.accept(com.tonbeller.jpivot.olap.mdxparse.ExpVisitor)
public boolean hasAll()
hasAll
in interface Hierarchy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |