Enum Class AnnotationSetSource
java.lang.Object
java.lang.Enum<AnnotationSetSource>
ubic.gemma.model.common.auditAndSecurity.curation.AnnotationSetSource
- All Implemented Interfaces:
Serializable, Comparable<AnnotationSetSource>, Constable
Source discriminator on
AnnotationSet rows. Identifies who
produced the payload, orthogonal to the row's
role.
AGENT— emitted by a curation-agents run. Pairs with theagentVersion/model/ranAtprovenance fields.CURATOR— produced by a human curator (typically DRAFT rows or curator-blessed SNAPSHOTs).GEMMA_INTAKE— produced by the Gemma intake pipeline (e.g. GEO scrape harvest, MINiML parse). Reserves a slot for the case where the platform itself emits a starting-point annotation set for an experiment.EXTERNAL_IMPORT— imported from an external curation source (CRAFT, Rogic, partner-lab handoff, …).
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic AnnotationSetSourceParse the lowercase external form back into the enum.static AnnotationSetSourceReturns the enum constant of this class with the specified name.static AnnotationSetSource[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AGENT
-
CURATOR
-
GEMMA_INTAKE
-
EXTERNAL_IMPORT
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getDbValue
- Returns:
- the lowercase external form, for use in JSON DTOs / API surfaces.
-
fromDbValue
Parse the lowercase external form back into the enum. Accepts either case (delegates tovalueOf(String)after uppercasing).
-