public class ComorbidityGroup extends Object implements ComorbidityGroupIF, Serializable
| Constructor and Description |
|---|
ComorbidityGroup()
Constructor
|
ComorbidityGroup(int id,
ComorbidityGroupObject cgo) |
ComorbidityGroup(int id,
String name,
String description,
boolean lowComorbidity) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
The description of the object
|
int |
getId()
the id of the object
|
String |
getName() |
boolean |
isComorbidityPresent() |
boolean |
isLowComorbidity() |
void |
setDescription(String description)
Sets the objects internal description
|
void |
setId(int id)
Sets the id for the object at run time
|
void |
setLowComorbidity(boolean lowComorbidity) |
void |
setName(String name) |
String |
toString() |
public ComorbidityGroup()
public ComorbidityGroup(int id,
String name,
String description,
boolean lowComorbidity)
id - name - description - lowComorbidity - public ComorbidityGroup(int id,
ComorbidityGroupObject cgo)
throws ParseException
id - cgo - ParseExceptionpublic int getId()
IdentifiableIFgetId in interface IdentifiableIFgetId in interface ComorbidityGroupIFpublic void setId(int id)
IdentifiableIFsetId in interface IdentifiableIFsetId in interface ComorbidityGroupIFid - the id to setpublic String getName()
getName in interface NameableIFgetName in interface ComorbidityGroupIFpublic void setName(String name)
setName in interface NameableIFsetName in interface ComorbidityGroupIFname - the name to setpublic String getDescription()
DescribableIFgetDescription in interface DescribableIFgetDescription in interface ComorbidityGroupIFpublic void setDescription(String description)
DescribableIFsetDescription in interface DescribableIFsetDescription in interface ComorbidityGroupIFdescription - the description to setpublic boolean isLowComorbidity()
isLowComorbidity in interface ComorbidityGroupIFpublic void setLowComorbidity(boolean lowComorbidity)
setLowComorbidity in interface ComorbidityGroupIFlowComorbidity - the lowComorbidity to setpublic boolean isComorbidityPresent()
isComorbidityPresent in interface ComorbidityGroupIFCopyright © 2022. All rights reserved.