com.citra.pivot.olap.metadata
Class DefaultOlapList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
com.citra.pivot.olap.metadata.DefaultOlapList
- All Implemented Interfaces:
- OlapList, Serializable, Cloneable, Collection, List, RandomAccess
- Direct Known Subclasses:
- CubeList, DimensionList, HierarchyList, LevelList, MeasureList, MemberList
public class DefaultOlapList
- extends ArrayList
- implements OlapList
DefaultOlapList is an olap list, containing any type of OlapObject.
- 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 |
DefaultOlapList
public DefaultOlapList()
- Constructs a DefaultOlapList.
DefaultOlapList
public DefaultOlapList(OlapObject olap)
- Constructs a DefaultOlapList.
DefaultOlapList
public DefaultOlapList(Collection members)
- Constructs a DefaultOlapList.
getID
public OlapObject getID(String id)
- Finds the olap object from the list, using its unique id.
- Specified by:
getID
in interface OlapList
- Parameters:
id
- the id to search for
- Returns:
- the olap object if found, null otherwise
getName
public OlapObject getName(String name)
- Finds the olap object from the list, using its name.
- Specified by:
getName
in interface OlapList
- Parameters:
name
- the name to search for
- Returns:
- the olap object if found, null otherwise