Package net.sf.basedb.core
Interface Subtypable
- All Superinterfaces:
AccessControlled
,Identifiable
- All Known Implementing Classes:
BioMaterial
,BioSource
,DerivedBioAssay
,Extract
,File
,Hardware
,ItemSubtype
,Job
,Kit
,MeasuredBioMaterial
,PhysicalBioAssay
,Protocol
,Sample
,Software
,Tag
public interface Subtypable extends Identifiable
A subtypable item is an item that can have a subtype. Subtypes
are defined by
ItemSubtype
items.- Since:
- 3.0
- Author:
- Nicklas
- Last modified
- $Date: 2011-05-16 14:56:23 +0200 (må, 16 maj 2011) $
-
Method Summary
Modifier and Type Method Description ItemSubtype
getItemSubtype()
Get the subtype of the item.void
setItemSubtype(ItemSubtype subtype)
Set the subtype on the item.Methods inherited from interface net.sf.basedb.core.AccessControlled
checkPermission, getPermissions, hasPermission
Methods inherited from interface net.sf.basedb.core.Identifiable
getId, getType, getVersion
-
Method Details
-
getItemSubtype
ItemSubtype getItemSubtype()Get the subtype of the item.- Returns:
- A subtype of null if not set
- See Also:
SubtypableRelatedItems
-
setItemSubtype
Set the subtype on the item.- Parameters:
subtype
- A subtype or null- See Also:
ItemSubtype.setOnItem(Subtypable)
-