net.sf.basedb.core
Interface Subtypable
- All Superinterfaces:
- AccessControlled, Identifiable
- All Known Implementing Classes:
- BioMaterial, BioSource, DerivedBioAssay, Extract, File, Hardware, ItemSubtype, 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 (Mon, 16 May 2011) $
getItemSubtype
ItemSubtype getItemSubtype()
- Get the subtype of the item.
- Returns:
- A subtype of null if not set
- See Also:
SubtypableRelatedItems
setItemSubtype
void setItemSubtype(ItemSubtype subtype)
- Set the subtype on the item.
- Parameters:
subtype
- A subtype or null- See Also:
ItemSubtype.setOnItem(Subtypable)