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()
DescribableIFgetDescription in interface DescribableIFpublic void setDescription(String description)
DescribableIFsetDescription in interface DescribableIFpublic String toString()
toString in class Enum<ComorbidityLevel_EN>public int getId()
IdentifiableIFgetId in interface IdentifiableIFpublic void setId(int id)
IdentifiableIFsetId in interface IdentifiableIFid - the id to setCopyright © 2020. All rights reserved.