Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.pivot.olap.string
Class AbstractStringSelection

java.lang.Object
  extended by com.citra.pivot.olap.string.AbstractStringSelection
All Implemented Interfaces:
OlapSelection, StringSelection
Direct Known Subclasses:
NameStringSelection

public abstract class AbstractStringSelection
extends Object
implements StringSelection

AbstractStringSelection is the basis of string selections in this package.


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

Constructor Detail

AbstractStringSelection

protected AbstractStringSelection()
Constructs an AbstractStringSelection.

Method Detail

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

resolveString

public final String resolveString(Connection connection)
                           throws DataSourceException
Retrieves the selection result as a String.

Specified by:
resolveString in interface StringSelection
Parameters:
connection - the connection to the datasource
Returns:
the string resolved
Throws:
DataSourceException

Copyright © 2011 Citra Technologies. All Rights Reserved.