Enum Class AnnotationSetDao.SummarySort

java.lang.Object
java.lang.Enum<AnnotationSetDao.SummarySort>
ubic.gemma.persistence.service.common.auditAndSecurity.curation.AnnotationSetDao.SummarySort
All Implemented Interfaces:
Serializable, Comparable<AnnotationSetDao.SummarySort>, Constable
Enclosing interface:
AnnotationSetDao

public static enum AnnotationSetDao.SummarySort extends Enum<AnnotationSetDao.SummarySort>
Field a cross-experiment listing is ordered by. a.id desc is always appended as a tie-breaker, so a page boundary cannot swap two rows sharing a timestamp and hide one from the caller paging through.
  • Enum Constant Details

    • CREATED_AT

      public static final AnnotationSetDao.SummarySort CREATED_AT
      When the row was stored.
    • RAN_AT

      public static final AnnotationSetDao.SummarySort RAN_AT
      When the agent run happened, which is not when it was stored — a queue is ordered by the former.

      🛑 Only ever null on a non-AGENT set: attach stamps ranAt = now on an AGENT set that supplies none, so a caller who omits it gets `ranAt` equal to `createdAt` and the two orderings silently coincide. Nulls sort last under desc.

    • ID

      public static final AnnotationSetDao.SummarySort ID
  • Method Details

    • values

      public static AnnotationSetDao.SummarySort[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AnnotationSetDao.SummarySort valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null