public class CompoundPropositionTypeService extends Object implements PropositionTypeService
PropositionTypeService which loads a CompoundProposition
from the given PropositionDefinition. A compound proposition contains one
or more propositions which are evaluated in conjunction with a logical operator
such as "AND" or "OR".
The proposition given to the loadProposition(PropositionDefinition)
method must be of type PropositionType.COMPOUND.
The translation from a PropositionDefinition to a Proposition
is performed by the given RepositoryToEngineTranslator. This must be
set on this class before it is used.
This class is thread-safe and is designed to be wired as a singleton bean in Spring.
CompoundProposition,
RepositoryToEngineTranslator| Constructor and Description |
|---|
CompoundPropositionTypeService() |
| Modifier and Type | Method and Description |
|---|---|
Proposition |
loadProposition(PropositionDefinition propositionDefinition) |
void |
setTranslator(RepositoryToEngineTranslator translator)
Sets the translator on this service to the given translator.
|
public CompoundPropositionTypeService()
public Proposition loadProposition(PropositionDefinition propositionDefinition)
loadProposition in interface PropositionTypeServicepublic void setTranslator(RepositoryToEngineTranslator translator)
translator - the translator to set on this serviceCopyright © 2005–2016 The Kuali Foundation. All rights reserved.