P - The phenotype type to translate from, a subclass of
Phenotype..PE - The proposition type to translate to, an implementation of
PhenotypeEntity.public interface PropositionTranslator<P extends org.eurekaclinical.eureka.client.comm.Phenotype,PE extends PhenotypeEntity>
| Modifier and Type | Method and Description |
|---|---|
PE |
translateFromPhenotype(P phenotype)
Translates the given phenotype to a proposition understood by the
services layer data model.
|
P |
translateFromProposition(PE proposition)
Translates the given proposition entity into a phenotype understood by
the webapp layer.
|
PE translateFromPhenotype(P phenotype) throws org.eurekaclinical.eureka.client.comm.exception.PhenotypeHandlingException
translateFromProposition(PhenotypeEntity)
.phenotype - the phenotype to translate fromPhenotypeEntity equivalent to the phenotype.org.eurekaclinical.eureka.client.comm.exception.PhenotypeHandlingException - if an error occurred retrieving
proposition definitions.P translateFromProposition(PE proposition)
translateFromPhenotype(Phenotype).proposition - the proposition to translate fromPhenotype equivalent to the proposition.Copyright © 2012–2020 Emory University. All rights reserved.