Package com.appliedolap.essbase.impl
Class EssMemberImpl
java.lang.Object
com.appliedolap.essbase.AbstractEssObject
com.appliedolap.essbase.impl.EssMemberImpl
A member in an Essbase cube.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.appliedolap.essbase.EssObject
EssObject.Type -
Field Summary
Fields inherited from class com.appliedolap.essbase.AbstractEssObject
api -
Method Summary
Modifier and TypeMethodDescriptionintReturns the count of children of this member.Gets the children of this member.Gets the level-0 descendants of this member.intgetLevel()Gets the level of the member as indicated by the REST APIgetName()Returns the name of the member.Gets the parent member (not implemented yet).getType()Gets the type of this object.booleanCheck if the member is a normal member or a dimension member.booleanisLeaf()Checks if the member is a leaf node or level 0 (has no children).
-
Method Details
-
getName
Description copied from interface:EssMemberReturns the name of the member. -
getType
Description copied from interface:EssObjectGets the type of this object. -
getParent
Description copied from interface:EssMemberGets the parent member (not implemented yet). -
getLevel
public int getLevel()Description copied from interface:EssMemberGets the level of the member as indicated by the REST API -
isDimension
public boolean isDimension()Description copied from interface:EssMemberCheck if the member is a normal member or a dimension member.- Specified by:
isDimensionin interfaceEssMember- Returns:
- true if it's a dimension, false if normal member
-
isLeaf
public boolean isLeaf()Description copied from interface:EssMemberChecks if the member is a leaf node or level 0 (has no children). -
getChildren
Description copied from interface:EssMemberGets the children of this member.- Specified by:
getChildrenin interfaceEssMember- Returns:
- the children of this member or an empty collection if none.
-
getChildCount
public int getChildCount()Description copied from interface:EssMemberReturns the count of children of this member.- Specified by:
getChildCountin interfaceEssMember- Returns:
- the number of children
-
getLeafDescendants
Description copied from interface:EssMemberGets the level-0 descendants of this member. There is currently no REST API to do this in one call, so this method works recursively to fetch children of children and so on until the member has been explored.- Specified by:
getLeafDescendantsin interfaceEssMember- Returns:
- the level-0 descendants of this member, or a collection containing just this member if it has no children.
-