Originally Opened: @Alfiva (2015-01-23 09:27:30)
Originally Closed: 2015-05-26 17:45:18
This was brought up in the forums:
the setter and getter methods for diastolic blood pressure have the systolic variable in them. That's why I kept getting Event object not set when trying to send my diastolic context events.
Here is the code snippit from BloodPressure.class:
public void setDias(Measurement m){
if(m != null){
changeProperty(PROP_SYSTOLIC, m);
}
}
public Measurement getDias(){
return (Measurement) getProperty(PROP_SYSTOLIC);
}
EDIT1: BTW. I noticed some a minor typo in the same class when declaring the strings.
public static final String PROP_SYSTOLIC = HealthMeasurementOntology.NAMESPACE
+ "systolicBloodPreassure";
public static final String PROP_DIASTOLIC = HealthMeasurementOntology.NAMESPACE
+ "diatolicBloodPreassure";
--
From: this issue has been automatically imported from our old issue tracker
Originally Opened: @Alfiva (2015-01-23 09:27:30) Originally Closed: 2015-05-26 17:45:18
This was brought up in the forums:
the setter and getter methods for diastolic blood pressure have the systolic variable in them. That's why I kept getting Event object not set when trying to send my diastolic context events.
Here is the code snippit from BloodPressure.class:
EDIT1: BTW. I noticed some a minor typo in the same class when declaring the strings.
--
From: this issue has been automatically imported from our old issue tracker