public class PullFeature extends OperationImplementation
Modifier and Type | Field and Description |
---|---|
List<org.eclipse.emf.ecore.EStructuralFeature> |
features |
org.eclipse.emf.ecore.EClass |
targetClass |
Constructor and Description |
---|
PullFeature() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkFeaturesSameMultiplicity() |
boolean |
checkFeaturesSameType() |
boolean |
checkReferencesContainment() |
boolean |
checkReferencesOpposite() |
boolean |
checkTargetClassCommonSuperType(org.eclipse.emf.ecore.EClass targetClass) |
void |
execute(Metamodel metamodel,
Model model)
Execute the operation.
|
void |
initialize(Metamodel metamodel)
Initialize the parameters of the operation.
|
checkAndExecute, checkPreconditions, checkRestriction, checkRestriction
public List<org.eclipse.emf.ecore.EStructuralFeature> features
public org.eclipse.emf.ecore.EClass targetClass
public boolean checkTargetClassCommonSuperType(org.eclipse.emf.ecore.EClass targetClass)
public boolean checkReferencesOpposite()
public boolean checkReferencesContainment()
public boolean checkFeaturesSameMultiplicity()
public boolean checkFeaturesSameType()
public void initialize(Metamodel metamodel)
initialize
in class OperationImplementation
public void execute(Metamodel metamodel, Model model) throws MigrationException
MigrationException
Copyright © 2019. All rights reserved.