Cambiar nombre a TestType por MedicalTestType para ser más explicito
y refactorización de todos sus usos.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user