public class EnumerationToSubClasses extends OperationImplementation
Modifier and Type | Field and Description |
---|---|
org.eclipse.emf.ecore.EAttribute |
enumAttribute |
org.eclipse.emf.ecore.EPackage |
ePackage |
Constructor and Description |
---|
EnumerationToSubClasses() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkAttributeTypeEnum() |
boolean |
checkContextClassConcrete() |
boolean |
checkContextClassNoSubTypes(Metamodel metamodel) |
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.EAttribute enumAttribute
public org.eclipse.emf.ecore.EPackage ePackage
public boolean checkAttributeTypeEnum()
public boolean checkContextClassNoSubTypes(Metamodel metamodel)
public boolean checkContextClassConcrete()
public void initialize(Metamodel metamodel)
initialize
in class OperationImplementation
Copyright © 2020. All rights reserved.