Class PullFeature
- java.lang.Object
-
- org.eclipse.emf.edapt.declaration.OperationImplementation
-
- org.eclipse.emf.edapt.declaration.inheritance.PullFeature
-
public class PullFeature extends OperationImplementation
- Version:
- $Rev$
- Author:
- herrmama, $Author$
-
-
Field Summary
Fields Modifier and Type Field Description List<org.eclipse.emf.ecore.EStructuralFeature>
features
org.eclipse.emf.ecore.EClass
targetClass
-
Constructor Summary
Constructors Constructor Description PullFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkFeaturesSameMultiplicity()
boolean
checkFeaturesSameType()
boolean
checkReferencesContainment()
boolean
checkReferencesOpposite()
boolean
checkTargetClassCommonSuperType(org.eclipse.emf.ecore.EClass targetClass)
void
execute(Metamodel metamodel, Model model)
void
initialize(Metamodel metamodel)
Initialize the parameters of the operation.-
Methods inherited from class org.eclipse.emf.edapt.declaration.OperationImplementation
checkAndExecute, checkPreconditions, checkRestriction, checkRestriction
-
-
-
-
Field Detail
-
features
public List<org.eclipse.emf.ecore.EStructuralFeature> features
-
targetClass
public org.eclipse.emf.ecore.EClass targetClass
-
-
Method Detail
-
checkTargetClassCommonSuperType
public boolean checkTargetClassCommonSuperType(org.eclipse.emf.ecore.EClass targetClass)
-
checkReferencesOpposite
public boolean checkReferencesOpposite()
-
checkReferencesContainment
public boolean checkReferencesContainment()
-
checkFeaturesSameMultiplicity
public boolean checkFeaturesSameMultiplicity()
-
checkFeaturesSameType
public boolean checkFeaturesSameType()
-
initialize
public void initialize(Metamodel metamodel)
Initialize the parameters of the operation.- Overrides:
initialize
in classOperationImplementation
-
execute
public void execute(Metamodel metamodel, Model model) throws MigrationException
- Throws:
MigrationException
-
-