Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97552795
TestCase.java
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jan 5, 05:18
Size
1 KB
Mime Type
text/x-java
Expires
Tue, Jan 7, 05:18 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23424991
Attached To
R3229 Genome Privacy - SHCS App
TestCase.java
View Options
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
Log In to Comment