|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.proteios.core.BasicItem<D>
org.proteios.core.OwnedItem<D>
org.proteios.core.SharedItem<D>
org.proteios.core.CommonItem<D>
org.proteios.core.AnnotatedItem<D>
org.proteios.core.BioMaterial<D>
org.proteios.core.MeasuredBioMaterial<LabeledExtractData>
org.proteios.core.LabeledExtract
public class LabeledExtract
This class is used to represent labeled extract items. A labeled extract
is an Extract that has been marked with a Label.
It is also possible to create a labled extract by combining
other labeled extracts, or as a standalone item with no reference to an
extract or other labeled extracts.
| Field Summary | |
|---|---|
static Item |
TYPE
The type of item represented by this class. |
| Fields inherited from class org.proteios.core.BioMaterial |
|---|
MAX_EXTERNAL_ID_LENGTH, MAX_STORAGE_LOCATION_LENGTH |
| Fields inherited from interface org.proteios.core.Nameable |
|---|
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH |
| Method Summary | |
|---|---|
Set<Annotatable> |
getAnnotatableParents()
Get the extract or pooled labeled extracts. |
Extract |
getExtract()
Get the Extract that is the parent of this labeled extract. |
Label |
getLabel()
Get the Label compound used for labeling the extract. |
static ItemQuery<LabeledExtract> |
getQuery()
Get a query that returns labeled extracts. |
Item |
getType()
Get the type of item represented by the object. |
boolean |
isUsed()
Check that: no LabeledExtract:s has been created from this item
|
void |
setExtract(Extract extract)
Set the Extract item that is the the parent
of this labeled extract. |
void |
setLabel(Label label)
Set the Label that was used to label the extract. |
| Methods inherited from class org.proteios.core.BioMaterial |
|---|
addFile, getExternalId, getFiles, getStorageLocation, setExternalId, setFiles, setStorageLocation |
| Methods inherited from class org.proteios.core.CommonItem |
|---|
getDescription, getName, isRemoved, setDescription, setName, setRemoved |
| Methods inherited from class org.proteios.core.SharedItem |
|---|
getItemKey, getProjectKey, isShared, setItemKey, setProjectKey |
| Methods inherited from class org.proteios.core.OwnedItem |
|---|
getOwner, setOwner |
| Methods inherited from class org.proteios.core.BasicItem |
|---|
checkPermission, equals, getDbControl, getId, getPermissions, getSessionControl, getVersion, hashCode, hasPermission, isDetached, isInDatabase, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.proteios.core.Identifiable |
|---|
getId, getVersion |
| Methods inherited from interface org.proteios.core.AccessControlled |
|---|
checkPermission, hasPermission |
| Methods inherited from interface org.proteios.core.Ownable |
|---|
getOwner, setOwner |
| Field Detail |
|---|
public static final Item TYPE
Item.LABELEDEXTRACT,
getType()| Method Detail |
|---|
public static ItemQuery<LabeledExtract> getQuery()
ItemQuery object.public Item getType()
IdentifiableItem enumeration.
public Set<Annotatable> getAnnotatableParents()
throws BaseException
BaseException
public boolean isUsed()
throws BaseException
LabeledExtract:s has been created from this item
isUsed in class MeasuredBioMaterial<LabeledExtractData>BaseException
public Label getLabel()
throws PermissionDeniedException,
BaseException
Label compound used for labeling the extract.
Label object
PermissionDeniedException - If the logged in user doesn't have read
permission for the label
BaseException - If there is another error
public void setLabel(Label label)
throws PermissionDeniedException,
InvalidDataException
Label that was used to label the extract.
label - The new Label item
PermissionDeniedException - If the logged in user doesn't have
write permission for this labeled extract or use permission for the label
InvalidDataException - If the label is null
BaseException - If there is another error
public Extract getExtract()
throws PermissionDeniedException,
BaseException
Extract that is the parent of this labeled extract.
Extract object or null if this is a pooled or
standalone labeled extract
PermissionDeniedException - If the logged in user doesn't have read
permission for the extract
BaseException - If there is another error
public void setExtract(Extract extract)
throws PermissionDeniedException,
InvalidDataException,
BaseException
Extract item that is the the parent
of this labeled extract.
extract - The new Extract item
PermissionDeniedException - If the logged in user doesn't have
write permission for this labeled extract or use permission for the extract
InvalidDataException - If this is a pooled labeled extract
BaseException - If there is another error
|
Last update: 2011-06-23 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||