|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.basedb.core.BasicItem<D>
net.sf.basedb.core.ChildItem<DataCubeColumnData>
net.sf.basedb.core.DataCubeColumn
public class DataCubeColumn
Represents the column coordinate in a data cube. A BioAssay must have a link to an item of this type. It is
possible for more than one bioassay to link to the same column.
Actually, if two BioAssaySet:s, one which is the child of the other,
are in the same data cube, a bioassay must link to the same column as
the parent bioassay.
| Field Summary | |
|---|---|
static Item |
TYPE
The type of item represented by this class. |
| Constructor Summary | |
|---|---|
DataCubeColumn(DataCubeColumnData data)
Creates a new data cube item from the given data. |
|
| Method Summary | |
|---|---|
static DataCubeColumn |
getById(DbControl dc,
int id)
Get a DataCubeColumn item when you know the id. |
short |
getColumnNo()
Get the number of this column. |
DataCube |
getDataCube()
Get the data cube this layer belongs to. |
short |
getDataCubeNo()
Get the number of the data cube this layer belongs to. |
(package private) static DataCubeColumn |
getNew(DbControl dc,
DataCube cube)
Create a new DataCubeColumn item. |
(package private) Permission |
getPermissionForWriteDeleteAndCreate()
USE permission is enough to be able to manage data cubes. |
(package private) SharedData |
getSharedParent()
Get the experiment. |
Item |
getType()
Get the type of item represented by the object. |
(package private) VirtualDb |
getVirtualDb()
Get the virtual database this column belongs to. |
(package private) void |
initPermissions(int granted,
int denied)
Deny DELETE permission. |
private void |
setColumnNo(short columnNo)
|
private void |
setDataCube(DataCube cube)
Set the experiment. |
| Methods inherited from class net.sf.basedb.core.ChildItem |
|---|
getPluginPermissions |
| Methods inherited from class net.sf.basedb.core.BasicItem |
|---|
addUsingItems, addUsingItems, checkPermission, equals, getData, getDbControl, getId, getPermissions, getSessionControl, getUsingItems, getVersion, hashCode, hasPermission, isDetached, isInDatabase, isUsed, onAfterCommit, onAfterInsert, onBeforeCommit, onRollback, setDbControl, setProjectDefaults, toString, toTransferable, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Item TYPE
Item.DATACUBECOLUMN,
getType()| Constructor Detail |
|---|
DataCubeColumn(DataCubeColumnData data)
data - the data| Method Detail |
|---|
static DataCubeColumn getNew(DbControl dc,
DataCube cube)
throws BaseException
DataCubeColumn item.
dc - The DbControl which will be used for
permission checking and database access.cube - The cube the new column is located in
DataCubeColumn item
BaseException - If there is an error
public static DataCubeColumn getById(DbControl dc,
int id)
throws ItemNotFoundException,
PermissionDeniedException,
BaseException
DataCubeColumn item when you know the id.
dc - The DbControl which will be used for
permission checking and database access.id - The id of the item to load
DataCubeColumn item
ItemNotFoundException - If an item with the specified id
is not found
PermissionDeniedException - If the logged in user doesn't have
Permission.READ permission to the item
BaseException - If there is another errorpublic Item getType()
IdentifiableItem enumeration.
void initPermissions(int granted,
int denied)
throws BaseException
initPermissions in class ChildItem<DataCubeColumnData>granted - Permissions that have been granted by the subclassdenied - Permissions that have been denied by the subclass
BaseException - If the permissions couldn't be initialisedSharedData getSharedParent()
getSharedParent in class ChildItem<DataCubeColumnData>Permission getPermissionForWriteDeleteAndCreate()
getPermissionForWriteDeleteAndCreate in class ChildItem<DataCubeColumnData>
public DataCube getDataCube()
throws PermissionDeniedException,
BaseException
DataCube object
PermissionDeniedException - If the logged in user doesn't have
read permission to the item
BaseException - If there is another error
private void setDataCube(DataCube cube)
throws PermissionDeniedException,
InvalidDataException
PermissionDeniedException
InvalidDataExceptionpublic short getDataCubeNo()
public short getColumnNo()
private void setColumnNo(short columnNo)
VirtualDb getVirtualDb()
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||