com.sas.mdtable
Class AbstractMember
java.lang.Object
|
+--com.sas.mdtable.AbstractNode
|
+--com.sas.mdtable.AbstractMember
- All Implemented Interfaces:
- MemberInterface, NodeInterface, NodeInterface, SimpleNodeInterface
- public abstract class AbstractMember
- extends AbstractNode
- implements MemberInterface
Defines an abstract base class for an implementation of MemberInterface.
- See Also:
AbstractAxis,
AbstractDimension,
AbstractHierarchy,
AbstractLevel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractMember
public AbstractMember(LevelInterface level)
- Constructor.
- Parameters:
level - The level that parents this member.
getLevel
public final LevelInterface getLevel()
- Returns the level that this member is a child of.
- Specified by:
getLevel in interface MemberInterface
- Returns:
- The level that parents this member.
countNodeChildren
public final int countNodeChildren(int maxChildCount)
- Returns zero since members don't have children.
- Specified by:
countNodeChildren in interface SimpleNodeInterface
- Parameters:
maxChildCount - Ignored.- Returns:
- Zero.
getNodeChild
public final SimpleNodeInterface getNodeChild(int index)
- Throws IndexOutOfBoundsException since members don't have children.
- Specified by:
getNodeChild in interface SimpleNodeInterface
- Parameters:
index - Ignored.- Returns:
- Exception always thrown.
getNodeChildCount
public final int getNodeChildCount()
- Returns zero since members don't have children.
- Specified by:
getNodeChildCount in interface SimpleNodeInterface
- Returns:
- Zero.
getNodeChildren
public final SimpleNodeInterface[] getNodeChildren(int index,
int count)
- Throws IndexOutOfBoundsException since members don't have children.
- Specified by:
getNodeChildren in interface SimpleNodeInterface
- Parameters:
index - Ignored.count - Ignored.- Returns:
- Exception always thrown.
getNodeType
public String getNodeType()
- Returns the member's type.
The type serves to categorize a node, i.e. identify it as belonging
to a particular group.
- Specified by:
getNodeType in interface NodeInterface
- Returns:
- "member".
isLeafNode
public final boolean isLeafNode()
- Returns true since members don't have children.
- Specified by:
isLeafNode in interface SimpleNodeInterface
- Returns:
- True.
Copyright © 2005 SAS Institute Inc. All Rights Reserved.
javadoc generated Thu, 16 Feb 2006 02:03:22