Page MenuHomec4science

TestCase.java
No OneTemporary

File Metadata

Created
Sun, Jan 5, 05:18

TestCase.java

package framework.test;
import java.util.ArrayList;
import framework.ClinicalFactor;
import framework.WeightedMarker;
public class TestCase {
private int patientId;
private TestName testName;
private ArrayList<WeightedMarker> markers;
private ArrayList<ClinicalFactor> clinicalFactors;
public TestCase(int patientId, TestName testName,
ArrayList<WeightedMarker> markers, ArrayList<ClinicalFactor> clinicalFactors) {
this.patientId = patientId;
this.testName = testName;
this.markers = markers;
this.clinicalFactors = clinicalFactors;
}
public int getPatientId() {
return patientId;
}
public TestName getTestName() {
return testName;
}
public ArrayList<WeightedMarker> getMarkers() {
return markers;
}
public ArrayList<ClinicalFactor> getClinicalFactors() {
return clinicalFactors;
}
public int getTestId() {
return testName.getId();
}
public ArrayList<Integer> getClinicalFactorIds() {
ArrayList<Integer> ids = new ArrayList<>();
for (ClinicalFactor cf : clinicalFactors) {
ids.add(cf.getClinicalFactorId());
}
return ids;
}
}

Event Timeline