Enum Class Disease.DiseaseType

java.lang.Object
java.lang.Enum<Disease.DiseaseType>
net.datafaker.providers.healthcare.Disease.DiseaseType
All Implemented Interfaces:
Serializable, Comparable<Disease.DiseaseType>, Constable
Enclosing class:
Disease

public static enum Disease.DiseaseType extends Enum<Disease.DiseaseType>
  • Enum Constant Details

    • INTERNAL_DISEASE_KEY

      public static final Disease.DiseaseType INTERNAL_DISEASE_KEY
    • NEUROLOGICAL_DISEASE_KEY

      public static final Disease.DiseaseType NEUROLOGICAL_DISEASE_KEY
    • SURGICAL_DISEASE_KEY

      public static final Disease.DiseaseType SURGICAL_DISEASE_KEY
    • PAEDIATRIC_DISEASE_KEY

      public static final Disease.DiseaseType PAEDIATRIC_DISEASE_KEY
    • GYNECOLOGY_AND_OBSTETRICS_DISEASE_KEY

      public static final Disease.DiseaseType GYNECOLOGY_AND_OBSTETRICS_DISEASE_KEY
    • OPHTHALMOLOGY_AND_OTORHINOLARYNGOLOGY_DISEASE_KEY

      public static final Disease.DiseaseType OPHTHALMOLOGY_AND_OTORHINOLARYNGOLOGY_DISEASE_KEY
    • DERMATOLOGY_DISEASE_KEY

      public static final Disease.DiseaseType DERMATOLOGY_DISEASE_KEY
  • Method Details

    • values

      public static Disease.DiseaseType[] 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

      public static Disease.DiseaseType valueOf(String name)
      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 name
      NullPointerException - if the argument is null