public class FeatureNameReservationMap extends LinkedHashMapWithConflictBucketCandidate<OppositeReservationMap>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
static String |
CONTAINER_FEATURE
The name of the container feature.
|
static String |
EXISTENCE_FEATURE
The name of the existence feature.
|
| Constructor and Description |
|---|
FeatureNameReservationMap()
Default constructor that does not make a reservation for all feature.
|
FeatureNameReservationMap(boolean isAllFeatures)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Set<ConflictBucketCandidate> |
getAllConflictBucketCandidates()
Returns all
ConflictBucketCandidates. |
Set<ConflictBucketCandidate> |
getConflictBucketCandidates(String featureName)
Returns the
ConflictBucketCandidates for a given feature name. |
Set<ConflictBucketCandidate> |
getConflictBucketCandidates(String featureName,
String oppositeModelElement)
Returns the
ConflictBucketCandidates 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.
|
getConflictBucketCandidate, setConflictBucketCandidateclear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic static final String EXISTENCE_FEATURE
public static final String CONTAINER_FEATURE
public FeatureNameReservationMap(boolean isAllFeatures)
isAllFeatures - whether to make a reservation for all featurepublic FeatureNameReservationMap()
public Set<ConflictBucketCandidate> getAllConflictBucketCandidates()
LinkedHashMapWithConflictBucketCandidateConflictBucketCandidates.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)
ConflictBucketCandidates for a given feature name.featureName - a feature nameConflictBucketCandidates for the given feature namepublic Set<ConflictBucketCandidate> getConflictBucketCandidates(String featureName, String oppositeModelElement)
ConflictBucketCandidates for the combination of a feature name and an opposite.featureName - a feature nameoppositeModelElement - an additional opposite model elementConflictBucketCandidatesCopyright © 2017. All rights reserved.