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
- ParseException
public int getId()
IdentifiableIF
getId
in interface IdentifiableIF
public void setId(int id)
IdentifiableIF
setId
in interface IdentifiableIF
id
- the id to setpublic String getName()
getName
in interface NameableIF
public void setName(String name)
setName
in interface NameableIF
name
- the name to setpublic String getDescription()
DescribableIF
getDescription
in interface DescribableIF
public void setDescription(String description)
DescribableIF
setDescription
in interface DescribableIF
description
- the description to setpublic boolean isLowComorbidity()
isLowComorbidity
in interface ComorbidityGroupIF
public void setLowComorbidity(boolean lowComorbidity)
setLowComorbidity
in interface ComorbidityGroupIF
lowComorbidity
- the lowComorbidity to setpublic boolean isComorbidityPresent()
isComorbidityPresent
in interface ComorbidityGroupIF
Copyright © 2023. All rights reserved.