// private Patient patient; public Temperature(double temperature, SCALE scale, RECOREDTYPE recordedFrom, RECORDEDDURING partOfDay, DateTime timeStamp) { this.temperature = temperature; this.scale = scale; this.recordedFrom = recordedFrom; this.partOfDay = partOfDay; this.timeStamp = timeStamp; // this.patient = patient; }
public void setRecordedFrom(RECOREDTYPE recordedFrom) { this.recordedFrom = recordedFrom; }