public final class RuleConditionDmrUtil extends Object
|Modifier and Type||Method and Description|
Get the root EClass for the
Get the root EObjects for the owner's domain model reference.
public static Optional<org.eclipse.emf.ecore.EClass> getDmrRootEClass(EMFFormsDatabindingEMF databinding, ReportService reportService, org.eclipse.emf.ecore.EObject owner)
VDomainModelReferenceto create. If the rule
Conditionis contained in another Condition with a DMR, the root EClass is determined by resolving the container Condition(s) down from the domain root. Otherwise, the root EClass is the EClass of the domain root.
public static List<org.eclipse.emf.ecore.EObject> getDmrRootObject(EMFFormsDatabindingEMF databinding, ReportService reportService, org.eclipse.emf.ecore.EObject domainRoot, org.eclipse.emf.ecore.EObject owner)
domainRoot. IF the owner is nested in one or more
IterateConditions, the iterate conditions' dmrs are resolved and all possible root objects collected and returned.
EMFFormsDatabindingEMFused to resolve dmrs
ReportServiceto report databinding errors
domainRoot- The domain root (usually the view model context's domain model)
owner- The eObject containing the dmr (usually a
Copyright © 2020. All rights reserved.