Class RecordModel

java.lang.Object
com.example.cardiacrecorder.RecordModel

public class RecordModel extends Object
  • Constructor Details

    • RecordModel

      public RecordModel()
    • RecordModel

      public RecordModel(String heartRate, String diastolic, String systolic, String comment, com.google.firebase.Timestamp timestamp)
      Constructs a new RecordModel object with the provided data.
      Parameters:
      heartRate - The heart rate value of the record.
      diastolic - The diastolic blood pressure value of the record.
      systolic - The systolic blood pressure value of the record.
      comment - The comment associated with the record.
      timestamp - The timestamp indicating the time of the record.
  • Method Details

    • getHeartRate

      public String getHeartRate()
    • setHeartRate

      public void setHeartRate(String heartRate)
    • getDiastolic

      public String getDiastolic()
    • setDiastolic

      public void setDiastolic(String diastolic)
    • getSystolic

      public String getSystolic()
    • setSystolic

      public void setSystolic(String systolic)
    • getComment

      public String getComment()
    • setComment

      public void setComment(String comment)
    • getTimestamp

      public com.google.firebase.Timestamp getTimestamp()
    • setTimestamp

      public void setTimestamp(com.google.firebase.Timestamp timestamp)