3.2.1: 2012-12-13

net.sf.basedb.core
Interface ClonableReporterQuery

All Known Implementing Classes:
DataCube.RawMappingQuery, DynamicExtraValueQuery, DynamicPositionQuery, DynamicQuery, DynamicReporterQuery, DynamicSpotQuery

public interface ClonableReporterQuery

An interface that indicates that a query may be used together with cloned reporter information.

Since:
3.1
Author:
Nicklas
Last modified
$Date: 2011-12-02 12:09:46 +0100 (Fri, 02 Dec 2011) $

Method Summary
 VirtualDb getVirtualDb()
          Get the virtual database that the query is using.
 boolean hasClonedReporters()
          Check if the virtual database that this query is using has cloned reporter annotations or not.
 void setUseClonedReporters(boolean useClonedReporters)
          Set if cloned reporters should be used by default or not.
 boolean useClonedReporters()
          Checks if this query is using cloned reporter or not by default.
 

Method Detail

hasClonedReporters

boolean hasClonedReporters()
Check if the virtual database that this query is using has cloned reporter annotations or not.


useClonedReporters

boolean useClonedReporters()
Checks if this query is using cloned reporter or not by default. The default setting is to use cloned reporters if they are available in the experiment.

Returns:
TRUE if this query is using cloned reporters, FALSE if not

setUseClonedReporters

void setUseClonedReporters(boolean useClonedReporters)
Set if cloned reporters should be used by default or not. Trying to set this to true is ignored if hasClonedReporters() return false.

Parameters:
useClonedReporters - TRUE to use cloned reporters by default, FALSE to use the master reporters

getVirtualDb

VirtualDb getVirtualDb()
Get the virtual database that the query is using.

Returns:
A virtual db or null if the query is not based on a virtual db

3.2.1: 2012-12-13