Enum Class Affection
- All Implemented Interfaces:
Serializable
,Comparable<Affection>
,Constable
Categorical sample trait for association and analysis
Samples can have unknown status, be affected or unaffected by the
categorical trait, or they can be marked as actually having an
other trait value (stored in an associated value in the Sample class)
- Since:
- Sept. 2011
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSuffers from the diseaseAn "other" trait: value of the trait is stored elsewhere and is an arbitrary stringUnaffected by the diseaseStatus is unknown -
Method Summary
-
Enum Constant Details
-
UNKNOWN
Status is unknown -
AFFECTED
Suffers from the disease -
UNAFFECTED
Unaffected by the disease -
OTHER
An "other" trait: value of the trait is stored elsewhere and is an arbitrary string
-
-
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
-