Class CurationDetails
- java.lang.Object
-
- ubic.gemma.model.common.auditAndSecurity.curation.CurationDetails
-
- All Implemented Interfaces:
Serializable
,Identifiable
public class CurationDetails extends Object implements Identifiable, Serializable
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
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CurationDetails()
CurationDetails(Date lastUpdated, AuditEvent lastNeedsAttentionEvent, Boolean needsAttention, AuditEvent lastTroubledEvent, Boolean troubled, AuditEvent lastNoteUpdateEvent, String curationNote)
-
Method Summary
-
-
-
Constructor Detail
-
CurationDetails
public CurationDetails()
-
CurationDetails
public CurationDetails(Date lastUpdated, AuditEvent lastNeedsAttentionEvent, Boolean needsAttention, AuditEvent lastTroubledEvent, Boolean troubled, AuditEvent lastNoteUpdateEvent, String curationNote)
-
-
Method Detail
-
equals
public boolean equals(Object object)
Compares the objects type and IDs.
-
getId
public Long getId()
- Specified by:
getId
in interfaceIdentifiable
-
setId
public void setId(Long id)
-
getLastUpdated
public Date getLastUpdated()
-
setLastUpdated
public void setLastUpdated(Date lastUpdated)
-
getLastNeedsAttentionEvent
public AuditEvent getLastNeedsAttentionEvent()
-
setLastNeedsAttentionEvent
public void setLastNeedsAttentionEvent(AuditEvent lastNeedsAttentionEvent)
-
getNeedsAttention
public Boolean getNeedsAttention()
-
setNeedsAttention
public void setNeedsAttention(Boolean needsAttention)
-
getLastTroubledEvent
public AuditEvent getLastTroubledEvent()
-
setLastTroubledEvent
public void setLastTroubledEvent(AuditEvent lastTroubledEvent)
-
getTroubled
public 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.
-
setTroubled
public void setTroubled(Boolean troubled)
-
getLastNoteUpdateEvent
public AuditEvent getLastNoteUpdateEvent()
-
setLastNoteUpdateEvent
public void setLastNoteUpdateEvent(AuditEvent lastNoteUpdateEvent)
-
getCurationNote
public String getCurationNote()
-
setCurationNote
public void setCurationNote(String curationNote)
-
-