Class BloodType

java.lang.Object
org.episteme.core.util.ExtensibleEnum
org.episteme.natural.biology.BloodType
All Implemented Interfaces:
Serializable, Comparable<ExtensibleEnum>

public final class BloodType extends ExtensibleEnum
Extensible categorization of human blood types.
Since:
1.1
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Field Details

    • A_POSITIVE

      public static final BloodType A_POSITIVE
    • A_NEGATIVE

      public static final BloodType A_NEGATIVE
    • B_POSITIVE

      public static final BloodType B_POSITIVE
    • B_NEGATIVE

      public static final BloodType B_NEGATIVE
    • AB_POSITIVE

      public static final BloodType AB_POSITIVE
    • AB_NEGATIVE

      public static final BloodType AB_NEGATIVE
    • O_POSITIVE

      public static final BloodType O_POSITIVE
    • O_NEGATIVE

      public static final BloodType O_NEGATIVE
    • UNKNOWN

      public static final BloodType UNKNOWN
  • Constructor Details

    • BloodType

      public BloodType(String name, String symbol)
      Creates a new user-defined (non-built-in) blood type.
      Parameters:
      name - Name of the blood type.
      symbol - Symbol for the blood type.
  • Method Details

    • getSymbol

      public String getSymbol()
    • isBuiltIn

      public boolean isBuiltIn()
      Description copied from class: ExtensibleEnum
      Checks if this is a built-in (predefined) value. Default implementation returns true to mimic standard Enum behavior unless explicitly overridden.
      Overrides:
      isBuiltIn in class ExtensibleEnum
    • valueOf

      public static BloodType valueOf(String name)
    • values

      public static BloodType[] values()