Package com._1c.g5.aef2.models.map
Interface IMap<K,V>
- All Superinterfaces:
IModel,IValidable,Map<K,V>
- All Known Subinterfaces:
IEmfMapAttribute<K,,V, O> IFormMap<K,,V> IMultilanguageFormattedTextModel,IMultilanguageModel
- All Known Implementing Classes:
BmMap,BmMultilanguageFormatModel,BmMultilanguageFormattedTextModel,BmMultilanguageModel,EmfMap,EmfMoxelMultilanguageTextModel,EmfMultilanguageFormattedTextModel,EmfMultilanguageModel,EmfTimeScaleLevelMultilanguageModel,IMultilanguageFormattedTextModel.MultilanguageFormattedTextWorkingCopy,MapModel,MapWorkingCopy,PojoMap,StandardObjectMultilanguageModel
The model of the map.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddMapListener(IMapListener<K, V> listener) Adds the map listener.voidClears the current stored map and adds all elements of the given map to the stored one.booleanChecks the map for equality with the current stored map.voidremoveMapListener(IMapListener<K, V> listener) Removes the map listener.Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, discard, dispose, getChange, getComponent, isOnline, removeModelListener, setComponentMethods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validateMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Method Details
-
fill
Clears the current stored map and adds all elements of the given map to the stored one.- Parameters:
map- the map to add.
-
isEqual
Checks the map for equality with the current stored map.- Parameters:
other- the other map to check.- Returns:
trueif other map is equal to this map,falseotherwise.
-
addMapListener
Adds the map listener.- Parameters:
listener- the listener to add.
-
removeMapListener
Removes the map listener.- Parameters:
listener- the listener to add.
-
createWorkingCopy
- Specified by:
createWorkingCopyin interfaceIModel- Returns:
- the model working copy or
nullif working copies is not supported by the model.
-