Package net.sf.basedb.core
Interface Registered
- All Superinterfaces:
AccessControlled
,Identifiable
- All Known Implementing Classes:
AnnotationType
,AnnotationTypeCategory
,ArrayBatch
,ArrayDesign
,ArraySlide
,BioMaterialEvent
,BioPlate
,BioPlateEvent
,BioSource
,Client
,DerivedBioAssay
,Experiment
,Extract
,ExtraValueType
,Formula
,Group
,Hardware
,ItemSubtype
,Kit
,MeasuredBioMaterial
,MimeType
,News
,PhysicalBioAssay
,Plate
,PlateEvent
,PlateGeometry
,PlateMapping
,PlateType
,PluginConfiguration
,PluginDefinition
,PluginType
,Project
,Protocol
,QuotaType
,RawBioAssay
,ReporterCloneTemplate
,ReporterList
,ReporterType
,Role
,Sample
,Software
,Tag
,User
,UserDevice
Items that implements this interface has their registration
date stored in the database. Note to implementors!!! Do not
forget that Date is a mutable class and that a copy must be made
before returning the value to client applications.
See
DateUtil.copy(Date)
- Version:
- 2.10
- Author:
- Nicklas
- Last modified
- $Date: 2017-03-13 09:15:46 +0100 (må, 13 mar 2017) $
-
Method Summary
Modifier and TypeMethodDescriptionGet the date that the item was registered in the database.void
setEntryDate
(Date entryDate) Set the date the entry was registered in the database.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
-
getEntryDate
Date getEntryDate()Get the date that the item was registered in the database.- Returns:
- A date or null if this is not known
- Since:
- 2.10
-
setEntryDate
Set the date the entry was registered in the database. Implementations should only allow this property to be set before the item is first stored in the database. The intention of this method is to facilitate export/import of data between server.- Parameters:
entryDate
- A date or null to use today's date- Since:
- 3.11
-