Package net.sf.basedb.core
Class RawDataUtil
java.lang.Object
net.sf.basedb.core.RawDataUtil
Utiltity class for getting and setting non-public properties of
raw data objects.
- Version:
- 2.0
- Author:
- Nicklas
- Last modified
- $Date: 2009-04-06 14:52:39 +0200 (må, 06 apr 2009) $
-
Field Summary
Modifier and TypeFieldDescriptionprivate static Method
Method for callingRawData.getRawBioAssay()
private static boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RawBioAssay
getRawBioAssay
(DbControl dc, RawData rawData) Get the raw bioassay the raw data belongs to.(package private) static void
init()
Initialise the class.(package private) static void
unload()
Unload all settings.
-
Field Details
-
getRawBioAssayData
Method for callingRawData.getRawBioAssay()
-
isInitialised
private static boolean isInitialised
-
-
Constructor Details
-
RawDataUtil
public RawDataUtil()
-
-
Method Details
-
init
Initialise the class.- Throws:
BaseException
-
unload
static void unload()Unload all settings. -
getRawBioAssay
public static RawBioAssay getRawBioAssay(DbControl dc, RawData rawData) throws PermissionDeniedException, BaseException Get the raw bioassay the raw data belongs to.- Parameters:
dc
- TheDbControl
object used for permission checking and database accessrawData
- The raw data object- Returns:
- A
RawBioAssay
object - Throws:
PermissionDeniedException
- If the logged in user doesn't have read permissionBaseException
- If there is another error
-