Class CurationDetails
java.lang.Object
ubic.gemma.model.common.AbstractIdentifiable
ubic.gemma.model.common.auditAndSecurity.curation.CurationDetails
- All Implemented Interfaces:
- Identifiable
Class encapsulating all the curation information for Curatable objects. This includes a flag to indicate whether
the entity is "troubled". For ExpressionExperiments as of 2019, this troubled flag will reflect whether an associated
ArrayDesign is troubled.
- Author:
- tesarst
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanCompares the objects type and IDs.booleanbooleanIf you are trying to check for trouble of an expression experiment, you might consider using the methodExpressionExperimentService.isTroubled(ubic.gemma.model.expression.experiment.ExpressionExperiment)which also checks the parenting array designsinthashCode()Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.voidsetCurationNote(String curationNote) voidsetLastNeedsAttentionEvent(AuditEvent lastNeedsAttentionEvent) voidsetLastNoteUpdateEvent(AuditEvent lastNoteUpdateEvent) voidsetLastTroubledEvent(AuditEvent lastTroubledEvent) voidsetLastUpdated(Date lastUpdated) voidsetNeedsAttention(boolean needsAttention) voidsetTroubled(boolean troubled) Methods inherited from class AbstractIdentifiablegetId, setId, toString
- 
Constructor Details- 
CurationDetailspublic CurationDetails()
 
- 
- 
Method Details- 
equalsCompares the objects type and IDs.- Specified by:
- equalsin class- AbstractIdentifiable
- Parameters:
- object- the object to compare this instance to.
- Returns:
- true, if this instance and the given object are the same type and have the same ID. False otherwise.
 
- 
hashCodepublic int hashCode()Description copied from class:AbstractIdentifiableImportant note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.- Specified by:
- hashCodein class- AbstractIdentifiable
 
- 
getLastUpdated
- 
setLastUpdated
- 
getLastNeedsAttentionEvent
- 
setLastNeedsAttentionEvent
- 
getNeedsAttentionpublic boolean getNeedsAttention()
- 
setNeedsAttentionpublic void setNeedsAttention(boolean needsAttention) 
- 
getLastTroubledEvent
- 
setLastTroubledEvent
- 
getTroubledpublic boolean getTroubled()If you are trying to check for trouble of an expression experiment, you might consider using the methodExpressionExperimentService.isTroubled(ubic.gemma.model.expression.experiment.ExpressionExperiment)which also checks the parenting array designs- Returns:
- true only if these curation details trouble flag is set to true.
 
- 
setTroubledpublic void setTroubled(boolean troubled) 
- 
getLastNoteUpdateEvent
- 
setLastNoteUpdateEvent
- 
getCurationNote
- 
setCurationNote
 
-