Class 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 root EClass of the given legacy domain model reference.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LegacyDmrToRootEClassImpl

        public LegacyDmrToRootEClassImpl()
    • Method Detail

      • getRootEClass

        public java.util.Optional<org.eclipse.emf.ecore.EClass> getRootEClass​(VDomainModelReference dmr)
        Description copied from interface: LegacyDmrToRootEClass
        Determines the root EClass of the given legacy domain model reference. Returns nothing, if the DMR is segment-based, the given DMR is empty, or there is no fitting DmrToRootEClassConverter.
        Specified by:
        getRootEClass in interface LegacyDmrToRootEClass
        Parameters:
        dmr - The VDomainModelReference 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.