3.0.1: 2011-11-10

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) $

Method Summary
 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.Identifiable
getId, getType, getVersion
 
Methods inherited from interface net.sf.basedb.core.AccessControlled
checkPermission, getPermissions, hasPermission
 

Method Detail

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)

3.0.1: 2011-11-10