@XmlElementWrapper(name = "healthProfile") @XmlElement(name = "measure") public List<Measure> getCurrentMeasures() { // When the currentMeasures is not empty it means it's reading the measures of a person that // will be created with some initial measures. if (this.currentMeasures == null) this.currentMeasures = Measure.getCurrentMeasuresFromPerson( this .personId); // If the currentMeasures is empty then it loads the lates measures of // a person to represent the Health Profile return currentMeasures; }