Package net.sf.basedb.core.data
Interface OwnableData
-
- All Superinterfaces:
IdentifiableData
- All Known Subinterfaces:
DiskConsumableData
,ShareableData
- All Known Implementing Classes:
AnnotatedData
,AnnotationTypeCategoryData
,AnnotationTypeData
,ArrayBatchData
,ArrayDesignData
,ArraySlideData
,BioMaterialData
,BioPlateData
,BioPlateEventData
,BioSourceData
,ClientData
,CommonData
,DerivedBioAssayData
,DirectoryData
,ExperimentData
,ExtractData
,FileData
,FileServerData
,FormulaData
,HardwareData
,ItemListData
,JobAgentData
,JobData
,KitData
,MeasuredBioMaterialData
,OwnedData
,PermissionTemplateData
,PhysicalBioAssayData
,PlateData
,PlateMappingData
,PlateTypeData
,PluginConfigurationData
,PluginDefinitionData
,ProjectData
,ProtocolData
,RawBioAssayData
,ReporterCloneTemplateData
,ReporterListData
,SampleData
,SharedData
,SoftwareData
,TagData
public interface OwnableData extends IdentifiableData
An ownable item is an item which has an owner. The owner is represented as a required association to aUserData
object.This interface defines Hibernate database mappings for the
owner
property to the database column with the same name. If a subclass wants to map the property to another column, it should override thegetOwner()
method and add a Hibernate tag in the comment.Reference implementation
private UserData owner; public UserData getOwner() { return owner; } public void setOwner(UserData owner) { this.owner = owner; }
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
OwnedData
,Ownable
, Developer documentation: User authentication, Developer documentation: Basic classes and interfaces
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserData
getOwner()
Get theUserData
that is the owner of the item.void
setOwner(UserData owner)
Change the owner of the item.-
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData
getId, getVersion
-
-