Class LegacyDmrToRootEClassImpl
- java.lang.Object
-
- org.eclipse.emfforms.internal.core.services.segments.LegacyDmrToRootEClassImpl
-
- All Implemented Interfaces:
LegacyDmrToRootEClass
public class LegacyDmrToRootEClassImpl extends java.lang.Object implements LegacyDmrToRootEClass
Default implementation ofLegacyDmrToRootEClass
.- Author:
- Lucas Koehler
-
-
Constructor Summary
Constructors Constructor Description LegacyDmrToRootEClassImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<org.eclipse.emf.ecore.EClass>
getRootEClass(VDomainModelReference dmr)
Determines the rootEClass
of the given legacy domain model reference.
-
-
-
Method Detail
-
getRootEClass
public java.util.Optional<org.eclipse.emf.ecore.EClass> getRootEClass(VDomainModelReference dmr)
Description copied from interface:LegacyDmrToRootEClass
Determines the rootEClass
of the given legacy domain model reference. Returns nothing, if the DMR is segment-based, the given DMR is empty, or there is no fittingDmrToRootEClassConverter
.- Specified by:
getRootEClass
in interfaceLegacyDmrToRootEClass
- Parameters:
dmr
- TheVDomainModelReference
whose root EClass is calculated- Returns:
- The root EClass of the given DMR or nothing if it could not be determined due to one of the reasons listed above.
-
-