Class UseSuperClass
- java.lang.Object
-
- org.eclipse.emf.edapt.declaration.OperationImplementation
-
- org.eclipse.emf.edapt.declaration.inheritance.UseSuperClass
-
public class UseSuperClass extends OperationImplementation
- Version:
- $Rev$
- Author:
- herrmama, $Author$
-
-
Constructor Summary
Constructors Constructor Description UseSuperClass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkFeaturesSameMultiplicity()
boolean
checkFeaturesSameSize()
boolean
checkFeaturesSameType()
boolean
checkReplaceByInSuperClass(org.eclipse.emf.ecore.EStructuralFeature replaceBy)
boolean
checkToReplaceInSubClass(org.eclipse.emf.ecore.EStructuralFeature toReplace)
void
execute(Metamodel metamodel, Model model)
-
Methods inherited from class org.eclipse.emf.edapt.declaration.OperationImplementation
checkAndExecute, checkPreconditions, checkRestriction, checkRestriction, initialize
-
-
-
-
Method Detail
-
checkToReplaceInSubClass
public boolean checkToReplaceInSubClass(org.eclipse.emf.ecore.EStructuralFeature toReplace)
-
checkReplaceByInSuperClass
public boolean checkReplaceByInSuperClass(org.eclipse.emf.ecore.EStructuralFeature replaceBy)
-
checkFeaturesSameSize
public boolean checkFeaturesSameSize()
-
checkFeaturesSameMultiplicity
public boolean checkFeaturesSameMultiplicity()
-
checkFeaturesSameType
public boolean checkFeaturesSameType()
-
execute
public void execute(Metamodel metamodel, Model model) throws MigrationException
- Throws:
MigrationException
-
-