|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.biocomfort.TO.data.DataTO
com.biocomfort.TO.data.BloodPressureTO
public class BloodPressureTO
Represents the measurement data of a blood pressure monitor.
Each time a measurement of a medical device is received by the SDK an
onDataReceived
event of the SDKDataListener
is
fired. The parameter data
of this event method transfers an
instance of a BloodPressureTO
in case that the medical device
that sends the measurement is a blood pressure monitor.
SDKDataListener.onDataReceived(com.biocomfort.TO.MedicalDeviceTO, TO)
Constructor Summary | |
---|---|
BloodPressureTO()
Constructs a BloodPressureTO object with initializing it
so that the systolic blood pressure is set to 0 mmHG, the diastolic
blood pressure is set to 0 mmHG and the pulse are set to 0 1/min. |
Method Summary | |
---|---|
int |
getDiastolic()
Returns the value of the diastolic blood pressure contained in the measurement represented by this BloodPressureTO object. |
int |
getPulse()
Returns the value of the pulse contained in the measurement represented by this BloodPressureTO object. |
int |
getSystolic()
Returns the value of the systolic blood pressure contained in the measurement represented by this BloodPressureTO object. |
void |
setDiastolic(int diastolic)
Sets the value of the diastolic blood pressure contained in the measurement represented by this BloodPressureTO object. |
void |
setPulse(int pulse)
Sets the value of the pulse contained in the measurement represented by this BloodPressureTO object. |
void |
setSystolic(int systolic)
Sets the value of the systolic blood pressure contained in the measurement represented by this BloodPressureTO object. |
java.lang.String |
toString()
Converts this BloodPressureTO object to a
String of the form:
BloodPressureTO (dateTime:dow mon dd hh:mm:ss zzz yyyy,transmittedDataSet:t,user:u,systolic:sys,diastolic:dias,pulse:p). |
Methods inherited from class com.biocomfort.TO.data.DataTO |
---|
getDateTime, getDay, getHourOfDay, getMinute, getMonth, getSecond, getUser, getYear, isTransmittedDataSet, setDateTime, setDateTime, setTransmittedDataSet, setUser |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BloodPressureTO()
BloodPressureTO
object with initializing it
so that the systolic blood pressure is set to 0 mmHG, the diastolic
blood pressure is set to 0 mmHG and the pulse are set to 0 1/min.
Method Detail |
---|
public int getSystolic()
BloodPressureTO
object.
The unit of this value is mmHG.
public void setSystolic(int systolic)
BloodPressureTO
object.
The unit of this value is mmHG.
systolic
- the new measurement's systolic blood pressure value
(in mmHG)public int getDiastolic()
BloodPressureTO
object.
The unit of this value is mmHG.
public void setDiastolic(int diastolic)
BloodPressureTO
object.
The unit of this value is mmHG.
diastolic
- the new measurement's diastolic blood pressure value
(in mmHG)public int getPulse()
BloodPressureTO
object. The unit of
this value is 1/min.
public void setPulse(int pulse)
BloodPressureTO
object. The unit of this value
is 1/min.
pulse
- the new measurement's pulse value (in 1/min)public java.lang.String toString()
BloodPressureTO
object to a
String
of the form:
where:BloodPressureTO (dateTime:dow mon dd hh:mm:ss zzz yyyy,transmittedDataSet:t,user:u,systolic:sys,diastolic:dias,pulse:p).
true
, 'false' otherwise.java.util.Date.toString()
for more details.
toString
in class java.lang.Object
Date.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |