public final class SystemPropositionConverter extends Object
| Constructor and Description |
|---|
SystemPropositionConverter() |
| Modifier and Type | Method and Description |
|---|---|
List<org.protempa.PropositionDefinition> |
convert(SystemProposition proposition)
Converts a Eureka database entity into an equivalent list of Protempa
proposition definitions.
|
org.protempa.PropositionDefinition |
getPrimaryPropositionDefinition()
Retrieves the primary proposition created by a call to
#convert(edu.emory.cci.aiw.cvrg.eureka.common.entity.PhenotypeEntity). |
String |
getPrimaryPropositionId() |
public org.protempa.PropositionDefinition getPrimaryPropositionDefinition()
#convert(edu.emory.cci.aiw.cvrg.eureka.common.entity.PhenotypeEntity).
This is mostly for converters invoking each other and needing only
the final highest level (ie, primary) proposition that was created.PropositionDefinition.public String getPrimaryPropositionId()
public List<org.protempa.PropositionDefinition> convert(SystemProposition proposition)
proposition - The database entity to convertPropositionDefinitionsCopyright © 2012–2021 Emory University. All rights reserved.