Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.olap.metadata
Interface OlapList

All Superinterfaces:
Collection, List
All Known Implementing Classes:
CubeList, DefaultOlapList, DimensionList, HierarchyList, LevelList, MeasureList, MemberList

public interface OlapList
extends List

OlapList defines two methods to retrieve an olap object from its contents, one using the unique id, and the other using the name.


Method Summary
 OlapObject getID(String id)
          Finds the olap object from the list, using its unique id.
 OlapObject getName(String name)
          Finds the olap object from the list, using its name.
 
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
 

Method Detail

getID

OlapObject getID(String id)
Finds the olap object from the list, using its unique id.

Parameters:
id - the id to search for
Returns:
the olap object if found, null otherwise

getName

OlapObject getName(String name)
Finds the olap object from the list, using its name.

Parameters:
name - the name to search for
Returns:
the olap object if found, null otherwise

Copyright © 2011 Citra Technologies. All Rights Reserved.