|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.jpivot.xmla.XMLA_Level
public class XMLA_Level
Level Implementation for XMLA
Field Summary |
---|
Fields inherited from interface com.tonbeller.jpivot.olap.model.Displayable |
---|
LABEL_COMPARATOR |
Constructor Summary | |
---|---|
XMLA_Level(XMLA_Model model)
c'tor |
Method Summary | |
---|---|
void |
accept(ExpVisitor visitor)
Exp is visitable |
void |
accept(Visitor visitor)
|
void |
addProp(XMLA_MemberProp prop)
add a property |
java.lang.Object |
clone()
|
java.lang.String |
getCaption()
Returns the caption. |
int |
getCardinality()
Returns the cardinality. |
XMLA_Level |
getChildLevel()
Returns the childLevel. |
int |
getCustomRollupSettings()
Returns the customRollupSettings. |
int |
getDbType()
Returns the dbType. |
int |
getDepth()
|
int |
getDimType()
Returns the dimType. |
java.lang.String |
getDimUniqueName()
Returns the dimUniqueName. |
Hierarchy |
getHierarchy()
Returns the hier. |
java.lang.String |
getHierUniqueName()
Returns the hierUniqueName. |
java.lang.String |
getKeySqlColumnName()
Returns the keySqlColumnName. |
java.lang.String |
getLabel()
Returns the caption as Label |
XMLA_Member[] |
getMembers()
get the members of this level |
java.lang.String |
getName()
Returns the name. |
java.lang.String |
getNameSqlColumnName()
Returns the nameSqlColumnName. |
java.lang.String |
getOrderingProperty()
Returns the orderingProperty. |
XMLA_Level |
getParentLevel()
Returns the parentLevel. |
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. |
java.lang.String |
getUniqueNameSqlColumnName()
Returns the uniqueNameSqlColumnName. |
int |
getUniqueSettings()
Returns the uniqueSettings. |
boolean |
hasChildLevel()
|
boolean |
isAll()
|
boolean |
isEqual(XMLA_Level other)
|
boolean |
isVisible()
Returns the isVisible. |
void |
setCaption(java.lang.String caption)
Sets the caption. |
void |
setCardinality(int cardinality)
Sets the cardinality. |
void |
setChildLevel(XMLA_Level childLevel)
Sets the childLevel. |
void |
setCustomRollupSettings(int customRollupSettings)
Sets the customRollupSettings. |
void |
setDbType(int dbType)
Sets the dbType. |
void |
setDimType(int dimType)
Sets the dimType. |
void |
setDimUniqueName(java.lang.String dimUniqueName)
Sets the dimUniqueName. |
void |
setHierarchy(Hierarchy hier)
Sets the hier. |
void |
setHierUniqueName(java.lang.String hierUniqueName)
Sets the hierUniqueName. |
void |
setKeySqlColumnName(java.lang.String keySqlColumnName)
Sets the keySqlColumnName. |
void |
setMembers(java.util.List mList)
|
void |
setName(java.lang.String name)
Sets the name. |
void |
setNameSqlColumnName(java.lang.String nameSqlColumnName)
Sets the nameSqlColumnName. |
void |
setNumber(int number)
Sets the number. |
void |
setOrderingProperty(java.lang.String orderingProperty)
Sets the orderingProperty. |
void |
setParentLevel(XMLA_Level parentLevel)
Sets the parentLevel. |
void |
setType(int type)
Sets the type. |
void |
setUniqueName(java.lang.String uniqueName)
Sets the uniqueName. |
void |
setUniqueNameSqlColumnName(java.lang.String uniqueNameSqlColumnName)
Sets the uniqueNameSqlColumnName. |
void |
setUniqueSettings(int uniqueSettings)
Sets the uniqueSettings. |
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 |
Constructor Detail |
---|
public XMLA_Level(XMLA_Model model)
model
- Method Detail |
---|
public boolean isEqual(XMLA_Level other)
other
-
public void setMembers(java.util.List mList)
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 getLabel()
getLabel
in interface Displayable
public java.lang.String getCaption()
public int getCardinality()
public int getCustomRollupSettings()
public int getDbType()
public int getDimType()
public java.lang.String getDimUniqueName()
public Hierarchy getHierarchy()
getHierarchy
in interface Level
public java.lang.String getHierUniqueName()
public boolean isVisible()
public java.lang.String getKeySqlColumnName()
public java.lang.String getName()
public java.lang.String getNameSqlColumnName()
public int getDepth()
getDepth
in interface MDXLevel
public java.lang.String getOrderingProperty()
public int getType()
public java.lang.String getUniqueName()
getUniqueName
in interface MDXElement
public java.lang.String getUniqueNameSqlColumnName()
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 setCustomRollupSettings(int customRollupSettings)
customRollupSettings
- The customRollupSettings to setpublic void setDbType(int dbType)
dbType
- The dbType to setpublic void setDimType(int dimType)
dimType
- The dimType to setpublic void setDimUniqueName(java.lang.String dimUniqueName)
dimUniqueName
- The dimUniqueName to setpublic void setHierarchy(Hierarchy hier)
hier
- The hier to setpublic void setHierUniqueName(java.lang.String hierUniqueName)
hierUniqueName
- The hierUniqueName to setpublic void setVisible(boolean isVisible)
isVisible
- The isVisible to setpublic void setKeySqlColumnName(java.lang.String keySqlColumnName)
keySqlColumnName
- The keySqlColumnName to setpublic void setName(java.lang.String name)
name
- The name to setpublic void setNameSqlColumnName(java.lang.String nameSqlColumnName)
nameSqlColumnName
- The nameSqlColumnName to setpublic void setNumber(int number)
number
- The number to setpublic void setOrderingProperty(java.lang.String orderingProperty)
orderingProperty
- The orderingProperty to setpublic void setType(int type)
type
- The type to setpublic void setUniqueName(java.lang.String uniqueName)
uniqueName
- The uniqueName to setpublic void setUniqueNameSqlColumnName(java.lang.String uniqueNameSqlColumnName)
uniqueNameSqlColumnName
- The uniqueNameSqlColumnName to setpublic void setUniqueSettings(int uniqueSettings)
uniqueSettings
- The uniqueSettings to setpublic XMLA_Level getChildLevel()
public XMLA_Level getParentLevel()
public void setChildLevel(XMLA_Level childLevel)
childLevel
- The childLevel to setpublic void setParentLevel(XMLA_Level parentLevel)
parentLevel
- The parentLevel to setpublic XMLA_Member[] getMembers() throws OlapException
OlapException
public java.lang.String toMdx()
toMdx
in interface Exp
public boolean isAll()
isAll
in interface MDXLevel
MDXLevel.isAll()
public boolean hasChildLevel()
hasChildLevel
in interface MDXLevel
MDXLevel.hasChildLevel()
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 |