public class DrugToClinicalTrials
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getClinicalTrialIds()
Get the List of relevant clinical trial ids
|
java.util.Collection<java.lang.String> |
getClinicalTrialsForDrugTerm(java.lang.String drugId)
Get the list of relevant clinical trial ids for the given drug id
|
java.util.List<java.lang.String> |
getDrugIds()
Returns a List of all unique drug ids
|
java.lang.String |
getDrugName(java.lang.String id)
Get the drug name for the given drug id
|
java.util.Collection<java.lang.String> |
getDrugTermsForClinicalTrial(java.lang.String clinicalTrialId)
Get the list of drug terms for a clinical trial using clinical trial id
|
static DrugToClinicalTrials |
getInstance()
Public static getInstance method
|
static void |
main(java.lang.String[] args)
Sample program
|
public static DrugToClinicalTrials getInstance()
public java.util.List<java.lang.String> getDrugIds()
public java.lang.String getDrugName(java.lang.String id)
id
- - unique drug idpublic java.util.List<java.lang.String> getClinicalTrialIds()
public java.util.Collection<java.lang.String> getClinicalTrialsForDrugTerm(java.lang.String drugId)
drugId
- - drug idpublic java.util.Collection<java.lang.String> getDrugTermsForClinicalTrial(java.lang.String clinicalTrialId)
clinicalTrialId
- clinical trial idpublic static void main(java.lang.String[] args)
args
- arguments