Class 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 Detail

      • CurationDetails

        public CurationDetails()
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object object)
        Compares the objects type and IDs.
        Overrides:
        equals in class Object
        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.
      • setId

        public void setId​(Long id)
      • setLastUpdated

        public void setLastUpdated​(@Nullable
                                   Date lastUpdated)
      • setLastNeedsAttentionEvent

        public void setLastNeedsAttentionEvent​(@Nullable
                                               AuditEvent lastNeedsAttentionEvent)
      • getNeedsAttention

        public boolean getNeedsAttention()
      • setNeedsAttention

        public void setNeedsAttention​(boolean needsAttention)
      • setLastTroubledEvent

        public void setLastTroubledEvent​(@Nullable
                                         AuditEvent lastTroubledEvent)
      • setTroubled

        public void setTroubled​(boolean troubled)
      • setLastNoteUpdateEvent

        public void setLastNoteUpdateEvent​(@Nullable
                                           AuditEvent lastNoteUpdateEvent)
      • setCurationNote

        public void setCurationNote​(@Nullable
                                    String curationNote)