Package 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 (fr, 02 dec 2011) $
-
Method Summary
Modifier and TypeMethodDescriptionGet the virtual database that the query is using.boolean
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
Checks if this query is using cloned reporter or not by default.
-
Method Details
-
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 ifhasClonedReporters()
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
-