com.citra.pivot.olap.metadata
Class MemberList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
com.citra.pivot.olap.metadata.DefaultOlapList
com.citra.pivot.olap.metadata.MemberList
- All Implemented Interfaces:
- OlapList, Serializable, Cloneable, Collection, List, RandomAccess
public class MemberList
- extends DefaultOlapList
MemberList is an olap list, containing OlapMembers.
- See Also:
- Serialized Form
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
MemberList
public MemberList()
- Constructs a MemberList.
MemberList
public MemberList(OlapMember member)
- Constructs a MemberList.
MemberList
public MemberList(Collection members)
- Constructs a MemberList.
getMember
public OlapMember getMember(int index)
- Finds the member from the list, using its index.
- Parameters:
index
- index of element to return
getMemberByID
public OlapMember getMemberByID(String id)
- Finds the member from the list, using its unique id.
- Parameters:
id
- the id to search for
- Returns:
- the member if found, null otherwise
getMemberByName
public OlapMember getMemberByName(String name)
- Finds the member from the list, using its name.
- Parameters:
name
- the name to search for
- Returns:
- the member if found, null otherwise