public class SpecializeSuperType extends OperationImplementation
Modifier and Type | Field and Description |
---|---|
org.eclipse.emf.ecore.EClass |
eClass |
org.eclipse.emf.ecore.EClass |
replaceBy |
org.eclipse.emf.ecore.EClass |
toReplace |
Constructor and Description |
---|
SpecializeSuperType() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkToReplaceSubType() |
boolean |
checkToReplaceSuperType(org.eclipse.emf.ecore.EClass toReplace) |
void |
execute(Metamodel metamodel,
Model model)
Execute the operation.
|
void |
initialize(Metamodel metamodel)
Initialize the parameters of the operation.
|
checkAndExecute, checkPreconditions, checkRestriction, checkRestriction
public org.eclipse.emf.ecore.EClass eClass
public org.eclipse.emf.ecore.EClass toReplace
public org.eclipse.emf.ecore.EClass replaceBy
public boolean checkToReplaceSuperType(org.eclipse.emf.ecore.EClass toReplace)
public boolean checkToReplaceSubType()
public void initialize(Metamodel metamodel)
initialize
in class OperationImplementation
Copyright © 2020. All rights reserved.