Cambiar nombre a TestType por MedicalTestType para ser más explicito

y refactorización de todos sus usos.
This commit is contained in:
Roberto Orden Erena
2019-12-26 12:26:02 +01:00
parent 066ddeba51
commit 2726d2564a
6 changed files with 12 additions and 14 deletions

View File

@@ -5,6 +5,8 @@ import java.util.Date;
import javax.xml.bind.annotation.XmlRootElement;
import common.MedicalTestType;
/**
*
* @author Roberto Orden Erena <rorden@uoc.edu>
@@ -23,10 +25,7 @@ public class MedicalTestTO implements Serializable {
private MedicalTestType type;
private PatientTO patient;
private SpecialistDoctorTO specialistDoctor;
public static enum MedicalTestType {
BLOD_TEST, MAGNETIC_RESONANCE, TAC
}
public MedicalTestTO(int id, Date date, int time, String observations, String highresimage, MedicalTestType type,
PatientTO patiend, SpecialistDoctorTO specialistDoctor) {