public class ModelElementIdToEObjectMappingImpl extends Object implements ModelElementIdToEObjectMapping
| Constructor and Description |
|---|
ModelElementIdToEObjectMappingImpl(ModelElementIdToEObjectMapping mapping)
Constructor.
|
ModelElementIdToEObjectMappingImpl(ModelElementIdToEObjectMapping mapping,
List<AbstractChangePackage> changePackages)
Constructor.
|
ModelElementIdToEObjectMappingImpl(ModelElementIdToEObjectMapping mapping,
List<AbstractOperation> operationsList1,
List<AbstractOperation> operationsList2)
Constructor.
|
ModelElementIdToEObjectMappingImpl(Project project,
AbstractChangePackage changePackage)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ESModelElementIdToEObjectMappingImpl |
createAPI()
Creates the API interface for this class.
|
org.eclipse.emf.ecore.EObject |
get(ModelElementId modelElementId)
Get the
EObject for the given ESModelElementId, if any. |
void |
put(AbstractChangePackage changePackage)
Adds all model elements that are involved in operations contained in the
AbstractChangePackage and their
respective IDs into the mapping. |
void |
put(Iterable<AbstractOperation> operations)
Put the given elements from the operations to the mapping.
|
void |
put(List<AbstractChangePackage> changePackages)
Adds all model elements that are involved in operations contained in the
AbstractChangePackage and their
respective IDs into the mapping. |
ESModelElementIdToEObjectMappingImpl |
toAPI()
Returns the API interface of this class.
|
public ModelElementIdToEObjectMappingImpl(ModelElementIdToEObjectMapping mapping)
mapping - an initial mapping from {EObject}s to their ModelElementIdspublic ModelElementIdToEObjectMappingImpl(ModelElementIdToEObjectMapping mapping, List<AbstractChangePackage> changePackages)
mapping - an initial mapping from {EObject}s to their ModelElementIdschangePackages - a list of AbstractChangePackages whose involved model elements should
be added to the mappingpublic ModelElementIdToEObjectMappingImpl(ModelElementIdToEObjectMapping mapping, List<AbstractOperation> operationsList1, List<AbstractOperation> operationsList2)
mapping - an initial mapping from {EObject}s to their
ESModelElementIdsoperationsList1 - list of operations for which involved model elements should
be added to the mappingoperationsList2 - list of operations for which involved model elements should
be added to the mappingpublic ModelElementIdToEObjectMappingImpl(Project project, AbstractChangePackage changePackage)
project - the project which contains the initial mapping from {EObject}s to their
ESModelElementIdschangePackage - a AbstractChangePackages whose involved model elements should
be added to the mappingpublic void put(List<AbstractChangePackage> changePackages)
AbstractChangePackage and their
respective IDs into the mapping.changePackages - the AbstractChangePackage whose model elements should be added to the mappingpublic void put(AbstractChangePackage changePackage)
AbstractChangePackage and their
respective IDs into the mapping.changePackage - the AbstractChangePackage whose model elements should be added to the mappingpublic void put(Iterable<AbstractOperation> operations)
operations - the operationspublic org.eclipse.emf.ecore.EObject get(ModelElementId modelElementId)
EObject for the given ESModelElementId, if any.get in interface ESIdToEObjectMapping<ModelElementId>modelElementId - the IDESIdToEObjectMapping.get(java.lang.Object)public ESModelElementIdToEObjectMappingImpl toAPI()
toAPI in interface APIDelegate<ESModelElementIdToEObjectMappingImpl>public ESModelElementIdToEObjectMappingImpl createAPI()
createAPI in interface APIDelegate<ESModelElementIdToEObjectMappingImpl>Copyright © 2017. All rights reserved.