Class PullOperation
- java.lang.Object
-
- org.eclipse.emf.edapt.declaration.OperationImplementation
-
- org.eclipse.emf.edapt.declaration.inheritance.PullOperation
-
public class PullOperation extends OperationImplementation
- Version:
- $Rev$
- Author:
- herrmama, $Author$
-
-
Field Summary
Fields Modifier and Type Field Description List<org.eclipse.emf.ecore.EOperation>
operations
org.eclipse.emf.ecore.EClass
targetClass
-
Constructor Summary
Constructors Constructor Description PullOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkOperationsSameMultiplicity()
boolean
checkOperationsSameType()
boolean
checkTargetClass(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
-
operations
public List<org.eclipse.emf.ecore.EOperation> operations
-
targetClass
public org.eclipse.emf.ecore.EClass targetClass
-
-
Method Detail
-
checkTargetClass
public boolean checkTargetClass(org.eclipse.emf.ecore.EClass targetClass)
-
checkOperationsSameMultiplicity
public boolean checkOperationsSameMultiplicity()
-
checkOperationsSameType
public boolean checkOperationsSameType()
-
initialize
public void initialize(Metamodel metamodel)
Initialize the parameters of the operation.- Overrides:
initialize
in classOperationImplementation
-
-