public final class ValueThresholdsTranslator extends Object implements PropositionTranslator<org.eurekaclinical.eureka.client.comm.ValueThresholds,ValueThresholdGroupEntity>
| Constructor and Description |
|---|
ValueThresholdsTranslator(ValueComparatorDao inValueComparatorDao,
ThresholdsOperatorDao inThresholdsOperatorDao,
edu.emory.cci.aiw.cvrg.eureka.services.translation.TranslatorSupport inSupport,
TimeUnitDao inTimeUnitDao,
RelationOperatorDao inRelationOpDao) |
| Modifier and Type | Method and Description |
|---|---|
ValueThresholdGroupEntity |
translateFromPhenotype(org.eurekaclinical.eureka.client.comm.ValueThresholds phenotype)
Translates the given phenotype to a proposition understood by the
services layer data model.
|
org.eurekaclinical.eureka.client.comm.ValueThresholds |
translateFromProposition(ValueThresholdGroupEntity entity)
Translates the given proposition entity into a phenotype understood by
the webapp layer.
|
@Inject public ValueThresholdsTranslator(ValueComparatorDao inValueComparatorDao, ThresholdsOperatorDao inThresholdsOperatorDao, edu.emory.cci.aiw.cvrg.eureka.services.translation.TranslatorSupport inSupport, TimeUnitDao inTimeUnitDao, RelationOperatorDao inRelationOpDao)
public ValueThresholdGroupEntity translateFromPhenotype(org.eurekaclinical.eureka.client.comm.ValueThresholds phenotype) throws org.eurekaclinical.eureka.client.comm.exception.PhenotypeHandlingException
PropositionTranslatorPropositionTranslator.translateFromProposition(PhenotypeEntity)
.translateFromPhenotype in interface PropositionTranslator<org.eurekaclinical.eureka.client.comm.ValueThresholds,ValueThresholdGroupEntity>phenotype - the phenotype to translate fromPhenotypeEntity equivalent to the phenotype.org.eurekaclinical.eureka.client.comm.exception.PhenotypeHandlingException - if an error occurred retrieving
proposition definitions.public org.eurekaclinical.eureka.client.comm.ValueThresholds translateFromProposition(ValueThresholdGroupEntity entity)
PropositionTranslatorPropositionTranslator.translateFromPhenotype(Phenotype).translateFromProposition in interface PropositionTranslator<org.eurekaclinical.eureka.client.comm.ValueThresholds,ValueThresholdGroupEntity>entity - the proposition to translate fromPhenotype equivalent to the proposition.Copyright © 2012–2016 Emory University. All rights reserved.