use of ubic.gemma.model.genome.gene.phenotype.valueObject.EvidenceSourceValueObject in project Gemma by PavlidisLab.
the class EvidenceImporterAbstractCLI method makeEvidenceSource.
EvidenceSourceValueObject makeEvidenceSource(String databaseID, String externalDatabaseName) {
EvidenceSourceValueObject evidenceSourceValueObject = null;
if (databaseID != null && externalDatabaseName != null && !externalDatabaseName.isEmpty()) {
ExternalDatabaseValueObject externalDatabase = new ExternalDatabaseValueObject();
externalDatabase.setName(externalDatabaseName);
evidenceSourceValueObject = new EvidenceSourceValueObject(databaseID, externalDatabase);
}
return evidenceSourceValueObject;
}
Aggregations