org.eclipse.emf.emfstore.internal.server.conflictDetection
Class ModelElementIdReservationMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,FeatureNameReservationMap>
org.eclipse.emf.emfstore.internal.server.conflictDetection.ModelElementIdReservationMap
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,FeatureNameReservationMap>
public class ModelElementIdReservationMap
- extends LinkedHashMap<String,FeatureNameReservationMap>
Tracks any reservation based on ModelElementId
s.
- Author:
- mkoegel, emueller
- See Also:
- Serialized Form
Methods inherited from interface java.util.Map |
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
ModelElementIdReservationMap
public ModelElementIdReservationMap()
getConflictBucketCandidates
public Set<ConflictBucketCandidate> getConflictBucketCandidates(String modelElementId)
- Returns a set of
ConflictBucketCandidate
s for a given ModelElementId.
- Parameters:
modelElementId
- the ModelElementId for which to retrieve the ConflictBucketCandidate
s
- Returns:
- a set of
ConflictBucketCandidate
s for the given ModelElementId
getConflictBucketCandidates
public Set<ConflictBucketCandidate> getConflictBucketCandidates(String modelElementId,
String featureName)
- Returns a set of
ConflictBucketCandidate
s for the combination
of ModelElementId and a feature name.
- Parameters:
modelElementId
- the ModelElementId for which to retrieve the ConflictBucketCandidate
sfeatureName
- a feature name
- Returns:
- a set of
ConflictBucketCandidate
s for the combination
of ModelElementId and a feature name.
getConflictBucketCandidates
public Set<ConflictBucketCandidate> getConflictBucketCandidates(String modelElementId,
String featureName,
String oppositeModelElement)
- Returns a set of
ConflictBucketCandidate
s for the combination
of ModelElementId, a feature name and an opposite model element.
- Parameters:
modelElementId
- the ModelElementId for which to retrieve the ConflictBucketCandidate
sfeatureName
- a feature nameoppositeModelElement
- an opposite model element
- Returns:
- a set of
ConflictBucketCandidate
s for the combination
of ModelElementId, a feature name and an opposite model element
Copyright © 2015. All Rights Reserved.