public enum ComorbidityLevel_EN extends Enum<ComorbidityLevel_EN> implements DescribableIF, IdentifiableIF
Enum Constant and Description |
---|
HIGH_COMORBIDITY |
LOW_COMORBIDITY |
NO_COMORBIDITY |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
The description of the object
|
int |
getId()
the id of the object
|
void |
setDescription(String description)
Sets the objects internal description
|
void |
setId(int id)
Sets the id for the object at run time
|
String |
toString() |
static ComorbidityLevel_EN |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComorbidityLevel_EN[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComorbidityLevel_EN NO_COMORBIDITY
public static final ComorbidityLevel_EN LOW_COMORBIDITY
public static final ComorbidityLevel_EN HIGH_COMORBIDITY
public static ComorbidityLevel_EN[] values()
for (ComorbidityLevel_EN c : ComorbidityLevel_EN.values()) System.out.println(c);
public static ComorbidityLevel_EN valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getDescription()
DescribableIF
getDescription
in interface DescribableIF
public void setDescription(String description)
DescribableIF
setDescription
in interface DescribableIF
public String toString()
toString
in class Enum<ComorbidityLevel_EN>
public int getId()
IdentifiableIF
getId
in interface IdentifiableIF
public void setId(int id)
IdentifiableIF
setId
in interface IdentifiableIF
id
- the id to setCopyright © 2022. All rights reserved.