Enum Class CurationDecisionScope
java.lang.Object
java.lang.Enum<CurationDecisionScope>
ubic.gemma.model.common.auditAndSecurity.curation.CurationDecisionScope
- All Implemented Interfaces:
Serializable, Comparable<CurationDecisionScope>, Constable
How wide a
CurationDecision reaches — the difference between the
refusal verbs the curation ledger actually uses.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic CurationDecisionScopeParse the external form, accepting either case.static CurationDecisionScopeReturns the enum constant of this class with the specified name.static CurationDecisionScope[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ITEM
One thing: this tag, this value, this deletion. The narrowest ruling, and the onereject_addandreject_dropmake. -
KEY
Everything under one key, INCLUDING siblings that have not been proposed yet. Whatreject_factormeans: the ruling gates the whole key, not the one factor that happened to be in front of the curator. -
PROPOSAL
A whole proposal at once —reject_all. Names the annotation set it answered rather than a key.
-
-
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 JSON / wire surfaces.
-
fromDbValue
Parse the external form, accepting either case.- Parameters:
v- the external spelling- Returns:
- the scope it names
- Throws:
IllegalArgumentException- ifvnames no scope
-