Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98856862
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
Thu, Jan 16, 23:32
Size
1 KB
Mime Type
text/x-java
Expires
Sat, Jan 18, 23:32 (2 d)
Engine
blob
Format
Raw Data
Handle
23657297
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