|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap<K,V> java.util.HashMap<K,V> java.util.LinkedHashMap<String,V> org.eclipse.emf.emfstore.internal.server.conflictDetection.LinkedHashMapWithConflictBucketCandidate<OppositeReservationMap> org.eclipse.emf.emfstore.internal.server.conflictDetection.FeatureNameReservationMap
public class FeatureNameReservationMap
Tracks any reservation based an a feature name.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
Field Summary | |
---|---|
static String |
CONTAINER_FEATURE
The name of the container feature. |
static String |
EXISTENCE_FEATURE
The name of the existence feature. |
Constructor Summary | |
---|---|
FeatureNameReservationMap()
Default constructor that does not make a reservation for all feature. |
|
FeatureNameReservationMap(boolean isAllFeatures)
Constructor. |
Method Summary | |
---|---|
Set<ConflictBucketCandidate> |
getAllConflictBucketCandidates()
Returns all ConflictBucketCandidate s. |
Set<ConflictBucketCandidate> |
getConflictBucketCandidates(String featureName)
Returns the ConflictBucketCandidate s for a given feature name. |
Set<ConflictBucketCandidate> |
getConflictBucketCandidates(String featureName,
String oppositeModelElement)
Returns the ConflictBucketCandidate s for the combination of a feature name and an opposite. |
boolean |
hasExistenceFeature()
Whether this reservation map holds a reservation for an existence feature. |
boolean |
isAllFeatures()
Whether this reservation map has a reservation for all features. |
Methods inherited from class org.eclipse.emf.emfstore.internal.server.conflictDetection.LinkedHashMapWithConflictBucketCandidate |
---|
getConflictBucketCandidate, setConflictBucketCandidate |
Methods inherited from class java.util.LinkedHashMap |
---|
clear, containsValue, get |
Methods inherited from class java.util.HashMap |
---|
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
---|
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Field Detail |
---|
public static final String EXISTENCE_FEATURE
public static final String CONTAINER_FEATURE
Constructor Detail |
---|
public FeatureNameReservationMap(boolean isAllFeatures)
isAllFeatures
- whether to make a reservation for all featurepublic FeatureNameReservationMap()
Method Detail |
---|
public Set<ConflictBucketCandidate> getAllConflictBucketCandidates()
LinkedHashMapWithConflictBucketCandidate
ConflictBucketCandidate
s.
getAllConflictBucketCandidates
in class LinkedHashMapWithConflictBucketCandidate<OppositeReservationMap>
public boolean hasExistenceFeature()
true
, if this reservation holds a reservation for an existence feature, false
otherwisepublic boolean isAllFeatures()
true
, if this reservation map has a reservation for all features false
otherwisepublic Set<ConflictBucketCandidate> getConflictBucketCandidates(String featureName)
ConflictBucketCandidate
s for a given feature name.
featureName
- a feature name
ConflictBucketCandidate
s for the given feature namepublic Set<ConflictBucketCandidate> getConflictBucketCandidates(String featureName, String oppositeModelElement)
ConflictBucketCandidate
s for the combination of a feature name and an opposite.
featureName
- a feature nameoppositeModelElement
- an additional opposite model element
ConflictBucketCandidate
s
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |