|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.jpivot.xmla.XMLA_Dimension
public class XMLA_Dimension
XMLA Dimension
Field Summary | |
---|---|
static int |
MD_DIMTYPE_MEASURE
|
static int |
MD_DIMTYPE_OTHER
|
static int |
MD_DIMTYPE_TIME
|
Fields inherited from interface com.tonbeller.jpivot.olap.model.Dimension |
---|
MEASURES_FIRST_COMPARATOR |
Fields inherited from interface com.tonbeller.jpivot.olap.model.Displayable |
---|
LABEL_COMPARATOR |
Constructor Summary | |
---|---|
XMLA_Dimension()
|
Method Summary | |
---|---|
void |
accept(ExpVisitor visitor)
Exp is visitable |
void |
accept(Visitor visitor)
|
void |
addHier(Hierarchy hier)
add hierarchy for this dimension |
void |
addProp(XMLA_MemberProp prop)
add a property |
java.lang.Object |
clone()
|
java.lang.String |
getCaption()
Returns the caption. |
int |
getCardinality()
Returns the cardinality. |
java.lang.String |
getDefaultHier()
Returns the defaultHier. |
Hierarchy[] |
getHierarchies()
return the hierarchies of this dimension |
java.lang.String |
getLabel()
name of this item |
java.lang.String |
getName()
Returns the name. |
int |
getOrdinal()
Returns the ordinal. |
XMLA_MemberProp |
getProp(java.lang.String xmlTag)
retrieve a property |
java.util.Map |
getProps()
|
java.lang.Object |
getRootDecoree()
returns the object that has been created by the olap server. |
int |
getType()
Returns the type. |
java.lang.String |
getUniqueName()
Returns the uniqueName. |
int |
getUniqueSettings()
Returns the uniqueSettings. |
boolean |
isMeasure()
true if this is the measures dimension |
boolean |
isReadWrite()
Returns the isReadWrite. |
boolean |
isTime()
return true if this is a time dimension. |
boolean |
isVirtual()
Returns the isVirtual. |
boolean |
isVisible()
Returns the isVisible. |
void |
setCaption(java.lang.String caption)
Sets the caption. |
void |
setCardinality(int cardinality)
Sets the cardinality. |
void |
setDefaultHier(java.lang.String defaultHier)
Sets the defaultHier. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setOrdinal(int ordinal)
Sets the ordinal. |
void |
setReadWrite(boolean isReadWrite)
Sets the isReadWrite. |
void |
setType(int type)
Sets the type. |
void |
setUniqueName(java.lang.String uniqueName)
Sets the uniqueName. |
void |
setUniqueSettings(int uniqueSettings)
Sets the uniqueSettings. |
void |
setVirtual(boolean isVirtual)
Sets the isVirtual. |
void |
setVisible(boolean isVisible)
Sets the isVisible. |
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 MD_DIMTYPE_TIME
public static final int MD_DIMTYPE_MEASURE
public static final int MD_DIMTYPE_OTHER
Constructor Detail |
---|
public XMLA_Dimension()
Method Detail |
---|
public boolean isMeasure()
Dimension
isMeasure
in interface Dimension
Dimension.isMeasure()
public boolean isTime()
Dimension
isTime
in interface Dimension
Dimension.isTime()
public java.lang.String getLabel()
Displayable
getLabel
in interface Displayable
public Hierarchy[] getHierarchies()
Dimension
getHierarchies
in interface Dimension
Dimension.getHierarchies()
public void accept(Visitor visitor)
accept
in interface Visitable
Visitable.accept(Visitor)
public java.lang.Object getRootDecoree()
Decorator
getRootDecoree
in interface Decorator
public java.lang.String getCaption()
public int getCardinality()
public java.lang.String getDefaultHier()
public boolean isReadWrite()
public boolean isVirtual()
public boolean isVisible()
public java.lang.String getName()
public int getOrdinal()
public int getType()
public java.lang.String getUniqueName()
getUniqueName
in interface MDXElement
public int getUniqueSettings()
public void setCaption(java.lang.String caption)
caption
- The caption to setpublic void setCardinality(int cardinality)
cardinality
- The cardinality to setpublic void setDefaultHier(java.lang.String defaultHier)
defaultHier
- The defaultHier to setpublic void setReadWrite(boolean isReadWrite)
isReadWrite
- The isReadWrite to setpublic void setVirtual(boolean isVirtual)
isVirtual
- The isVirtual to setpublic void setVisible(boolean isVisible)
isVisible
- The isVisible to setpublic void setName(java.lang.String name)
name
- The name to setpublic void setOrdinal(int ordinal)
ordinal
- The ordinal to setpublic void setType(int type)
type
- The type to setpublic void setUniqueName(java.lang.String uniqueName)
uniqueName
- The uniqueName to setpublic void setUniqueSettings(int uniqueSettings)
uniqueSettings
- The uniqueSettings to setpublic void addHier(Hierarchy hier)
hier
- public java.lang.String toMdx()
toMdx
in interface Exp
Exp.toMdx()
public java.lang.Object clone()
clone
in interface Exp
clone
in class java.lang.Object
probably not needed
public java.util.Map getProps()
public void addProp(XMLA_MemberProp prop)
public XMLA_MemberProp getProp(java.lang.String xmlTag)
public void accept(ExpVisitor visitor)
Exp
accept
in interface Exp
Exp.accept(com.tonbeller.jpivot.olap.mdxparse.ExpVisitor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |