public class BioSource extends BioMaterial<BioSourceData>
Sample
:s.Modifier and Type | Field and Description |
---|---|
static Item |
TYPE
The type of item represented by this class.
|
MAX_EXTERNAL_ID_LENGTH, MAX_STORAGE_LOCATION_LENGTH
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
Modifier and Type | Method and Description |
---|---|
Set<Annotatable> |
getAnnotatableParents()
Always null.
|
static ItemQuery<BioSource> |
getQuery()
Get a query that returns biosource items.
|
ItemQuery<Sample> |
getSamples()
Get a query that returns all samples created from this biosource.
|
Item |
getType()
Get the type of item represented by the object.
|
boolean |
isUsed()
Check that:
no
Sample has been created from this biosource
|
addFile, getExternalId, getFiles, getStorageLocation, removeFile, setExternalId, setFiles, setStorageLocation
getDescription, getName, isRemoved, setDescription, setName, setRemoved
getItemKey, getProjectKey, isShared, setItemKey, setProjectKey
checkPermission, equals, getDbControl, getId, getPermissions, getSessionControl, getVersion, hashCode, hasPermission, isDetached, isInDatabase, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getVersion
checkPermission, hasPermission
public static final Item TYPE
Item.BIOSOURCE
,
getType()
public static ItemQuery<BioSource> getQuery()
ItemQuery
object.public Item getType()
Identifiable
Item
enumeration.public Set<Annotatable> getAnnotatableParents() throws BaseException
BaseException
public boolean isUsed() throws BaseException
Sample
has been created from this biosource
isUsed
in class BasicItem<BioSourceData>
BaseException
public ItemQuery<Sample> getSamples()
ItemQuery
object