|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.emfstore.internal.server.conflictDetection.ModelElementIdToEObjectMappingImpl
public class ModelElementIdToEObjectMappingImpl
| Constructor Summary | |
|---|---|
ModelElementIdToEObjectMappingImpl(ModelElementIdToEObjectMapping mapping)
Constructor. |
|
ModelElementIdToEObjectMappingImpl(ModelElementIdToEObjectMapping mapping,
List<AbstractOperation> operationsList1,
List<AbstractOperation> operationsList2)
Constructor. |
|
ModelElementIdToEObjectMappingImpl(ModelElementIdToEObjectMapping mapping,
List<ChangePackage> changePackages)
Constructor. |
|
ModelElementIdToEObjectMappingImpl(Project project,
ChangePackage changePackage)
Constructor. |
|
| Method Summary | |
|---|---|
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(ChangePackage changePackage)
Adds all model elements that are involved in operations contained in the ChangePackage and their
respective IDs into the mapping. |
void |
put(Collection<AbstractOperation> operations)
Put the given elements from the operations to the mapping. |
void |
put(List<ChangePackage> changePackages)
Adds all model elements that are involved in operations contained in the ChangePackage and their
respective IDs into the mapping. |
ESModelElementIdToEObjectMappingImpl |
toAPI()
Returns the API interface of this class. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModelElementIdToEObjectMappingImpl(ModelElementIdToEObjectMapping mapping)
mapping - an initial mapping from {EObject}s to their ModelElementIds
public ModelElementIdToEObjectMappingImpl(ModelElementIdToEObjectMapping mapping,
List<ChangePackage> changePackages)
mapping - an initial mapping from {EObject}s to their ModelElementIdschangePackages - a list of ChangePackages whose involved model elements should
be added to the mapping
public 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 mapping
public ModelElementIdToEObjectMappingImpl(Project project,
ChangePackage changePackage)
project - the project which contains the initial mapping from {EObject}s to their
ESModelElementIdschangePackage - a ChangePackages whose involved model elements should
be added to the mapping| Method Detail |
|---|
public void put(List<ChangePackage> changePackages)
ChangePackage and their
respective IDs into the mapping.
changePackages - the ChangePackages whose model elements should be added to the mappingpublic void put(ChangePackage changePackage)
ChangePackage and their
respective IDs into the mapping.
changePackage - the ChangePackage whose model elements should be added to the mappingpublic void put(Collection<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 ID
ESIdToEObjectMapping.get(java.lang.Object)public ESModelElementIdToEObjectMappingImpl toAPI()
toAPI in interface APIDelegate<ESModelElementIdToEObjectMappingImpl>public ESModelElementIdToEObjectMappingImpl createAPI()
createAPI in interface APIDelegate<ESModelElementIdToEObjectMappingImpl>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||