|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.jpivot.xmla.XMLA_Member
public class XMLA_Member
Member Implementation for XMLA
Constructor Summary | |
---|---|
XMLA_Member(XMLA_Model model,
java.lang.String uName,
java.lang.String caption,
XMLA_Level lev,
boolean isCalculated)
c'tor |
Method Summary | |
---|---|
void |
accept(ExpVisitor visitor)
Exp is visitable |
void |
accept(Visitor visitor)
|
void |
addProp(Property prop)
add a property |
void |
clearProps()
clear properties |
java.lang.Object |
clone()
|
void |
complete(java.lang.String name,
int type,
long ordinal,
java.lang.String parentUniqueName,
long childrenCardinality,
long parentLevel,
boolean isDataMember,
boolean isPlaceHolderMember,
java.lang.String key)
set all attributes, which were not set in the c'tor |
java.lang.String |
getCaption()
Returns the caption. |
XMLA_Member[] |
getChildren()
|
long |
getChildrenCardinality()
Returns the childrenCardinality. |
int |
getDepth()
get level number = depth of member |
Dimension |
getDimension()
get Dimension of member |
long |
getDisplayInfo()
|
Hierarchy |
getHierarchy()
get hierarchy of member |
java.lang.String |
getKey()
Returns the key. |
java.lang.String |
getLabel()
Returns the caption as Label. |
Level |
getLevel()
Returns the level. |
java.lang.String |
getName()
Returns the name. |
long |
getOrdinal()
Returns the ordinal. |
Member |
getParent()
Returns the parent. |
long |
getParentLevel()
Returns the parentLevel. |
java.lang.String |
getParentUniqueName()
Returns the parentUniqueName. |
Property[] |
getProperties()
get all properties of this member |
Property |
getProperty(java.lang.String name)
get a specific property of this member |
java.lang.Object |
getRootDecoree()
returns the object that has been created by the olap server. |
int |
getRootDistance()
returns the distance from the root member of the hierarchy. |
int |
getType()
Returns the type. |
java.lang.String |
getUniqueName()
Returns the uniqueName. |
boolean |
isAll()
|
boolean |
isCalculated()
Returns the isCalculated. |
boolean |
isChildOf(Member otherM)
determine, whether this member is descendant of other member |
boolean |
isChildrenOk()
|
boolean |
isComplete()
Returns the complete. |
boolean |
isDataMember()
Returns the isDataMember. |
boolean |
isEqual(Member otherM)
|
boolean |
isMicrosoft()
|
boolean |
isMondrian()
|
boolean |
isParentOk()
|
boolean |
isPlaceHolderMember()
Returns the isPlaceHolderMember. |
boolean |
isPropsOk()
|
boolean |
isSAP()
|
void |
setChildren(java.util.ArrayList aChildren)
set list of children. |
void |
setChildrenOk(boolean b)
|
void |
setDisplayInfo(java.lang.String strDisplayInfo)
|
void |
setLevel(XMLA_Level level)
set the Level |
void |
setParent(XMLA_Member parent)
Sets the parent. |
void |
setParentOk(boolean b)
|
void |
setPropsOk(boolean b)
|
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_Member(XMLA_Model model, java.lang.String uName, java.lang.String caption, XMLA_Level lev, boolean isCalculated)
uName
- caption
- levUname
- levelNumber
- hierUName
- lev
- Method Detail |
---|
public boolean isEqual(Member otherM)
other
-
public boolean isChildOf(Member otherM) throws OlapException
other
-
OlapException
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 long getChildrenCardinality()
public boolean isDataMember()
public boolean isPlaceHolderMember()
public java.lang.String getKey()
public java.lang.String getName()
public long getOrdinal()
public long getParentLevel()
public int getType()
public java.lang.String getUniqueName()
getUniqueName
in interface MDXElement
public void complete(java.lang.String name, int type, long ordinal, java.lang.String parentUniqueName, long childrenCardinality, long parentLevel, boolean isDataMember, boolean isPlaceHolderMember, java.lang.String key)
name
- type
- ordinal
- parentUniqueName
- childrenCardinality
- parentLevel
- isDataMember
- isPlaceHolderMember
- key
- public java.lang.String getParentUniqueName()
getParentUniqueName
in interface MDXMember
public Level getLevel()
getLevel
in interface Member
public void setLevel(XMLA_Level level)
public Property[] getProperties()
PropertyHolder
getProperties
in interface PropertyHolder
PropertyHolder.getProperties()
public Property getProperty(java.lang.String name)
PropertyHolder
getProperty
in interface PropertyHolder
PropertyHolder.getProperty(String)
public int getRootDistance()
Member
getRootDistance
in interface Member
Member.getRootDistance()
public int getDepth()
public XMLA_Member[] getChildren() throws OlapException
OlapException
public void setChildren(java.util.ArrayList aChildren)
aNewChildren
- List of children to be addedpublic boolean isComplete()
public Member getParent() throws OlapException
getParent
in interface MDXMember
OlapException
public Dimension getDimension()
public void setParent(XMLA_Member parent)
parent
- The parent to setpublic Hierarchy getHierarchy()
public boolean isCalculated()
isCalculated
in interface Member
public 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
public void addProp(Property prop)
public void clearProps()
public boolean isPropsOk()
public void setPropsOk(boolean b)
b
- public boolean isChildrenOk()
public boolean isParentOk()
public void setChildrenOk(boolean b)
b
- public void setParentOk(boolean b)
b
- public boolean isSAP()
public boolean isMicrosoft()
public boolean isMondrian()
public void accept(ExpVisitor visitor)
Exp
accept
in interface Exp
Exp.accept(com.tonbeller.jpivot.olap.mdxparse.ExpVisitor)
public long getDisplayInfo()
public void setDisplayInfo(java.lang.String strDisplayInfo)
displayInfo
- stringpublic boolean isAll()
isAll
in interface Member
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |