Enum Class PublicationAssociationStatus
java.lang.Object
java.lang.Enum<PublicationAssociationStatus>
ubic.gemma.model.common.description.PublicationAssociationStatus
- All Implemented Interfaces:
Serializable, Comparable<PublicationAssociationStatus>, Constable
Whether a
PublicationAssociation affirms or denies the link between an experiment and a
publication.
REJECTED is the addition that matters. Before this table Gemma could say "the publication
for this experiment is X" but had no way to say "Y was considered and ruled out, on this evidence,
by this authority" — so every rejection had to live outside Gemma in a hand-maintained exclusion
file, and every re-run of a publication finder re-proposed the paper a curator had already thrown
out.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic PublicationAssociationStatusParse the lowercase external form back into the enum.static PublicationAssociationStatusReturns the enum constant of this class with the specified name.static PublicationAssociationStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCEPTED
This publication belongs to this experiment. Mirrored into theprimary/other-relevantlink the rest of Gemma (and Gemma 1.x) reads, according to the row'srole. -
REJECTED
This publication was considered for this experiment and ruled out. There is deliberately no corresponding link on the experiment: a rejected row is a record of the decision, not a weaker kind of association, and it must stay invisible to anything that lists a dataset's publications.
-
-
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.
-