public class TableDmrToRootEClassConverter extends FeatureDmrToRootEClassConverter
VTableDomainModelReference
to its root EClass.NOT_APPLICABLE
Constructor and Description |
---|
TableDmrToRootEClassConverter() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Ungets manually retrieved LegacyDmrToRootEClass.
|
org.eclipse.emf.ecore.EClass |
getRootEClass(VDomainModelReference dmr)
Determines the root
EClass of the given legacy domain model reference. |
double |
isApplicable(VDomainModelReference dmr)
Returns a double that expresses if and how suitable this DmrToRootEClassConverter is for the given
VDomainModelReference . |
public double isApplicable(VDomainModelReference dmr)
DmrToRootEClassConverter
VDomainModelReference
.isApplicable
in interface DmrToRootEClassConverter
isApplicable
in class FeatureDmrToRootEClassConverter
dmr
- The VDomainModelReference
DmrToRootEClassConverter.NOT_APPLICABLE
if it can't work with the given
VDomainModelReference
.public org.eclipse.emf.ecore.EClass getRootEClass(VDomainModelReference dmr) throws IllegalArgumentException
DmrToRootEClassConverter
EClass
of the given legacy domain model reference. Throws an exception if the root
EClass could not be determined because this means that the given DMR is invalid.getRootEClass
in interface DmrToRootEClassConverter
getRootEClass
in class FeatureDmrToRootEClassConverter
dmr
- The VDomainModelReference
whose root EClass is calculatedIllegalArgumentException
- if the root EClass cannot be determined because of an invalid dmrpublic void dispose()
Copyright © 2019. All rights reserved.