Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.olap.member
Class AbstractMemberSelection

java.lang.Object
  extended by com.citra.pivot.olap.member.AbstractMemberSelection
All Implemented Interfaces:
OlapSelection, MemberSelection
Direct Known Subclasses:
AncestorMemberSelection, CurrentMemberSelection, ItemMemberSelection, ParentMemberSelection, SelfMemberSelection, StrToMemberSelection

public abstract class AbstractMemberSelection
extends Object
implements MemberSelection

AbstractMemberSelection is the basis of member selections in this package.


Constructor Summary
protected AbstractMemberSelection()
          Constructs an AbstractMemberSelection.
 
Method Summary
 OlapMember resolveMember(Connection connection)
          Retrieves the selection result as an OlapMember.
 Object resolveSelection(Connection connection)
          Retrieves the result of the selection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMemberSelection

protected AbstractMemberSelection()
Constructs an AbstractMemberSelection.

Method Detail

resolveMember

public final OlapMember resolveMember(Connection connection)
                               throws DataSourceException
Retrieves the selection result as an OlapMember.

Specified by:
resolveMember in interface MemberSelection
Parameters:
connection - the connection to the datasource
Returns:
the olap member resolved
Throws:
DataSourceException

resolveSelection

public final Object resolveSelection(Connection connection)
                              throws DataSourceException
Retrieves the result of the selection.

Specified by:
resolveSelection in interface OlapSelection
Parameters:
connection - the datasource connection
Returns:
the selection's result
Throws:
DataSourceException

Copyright © 2011 Citra Technologies. All Rights Reserved.