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 TypeMethodDescriptionvoid
addMapListener
(IMapListener<K, V> listener) Adds the map listener.void
Clears the current stored map and adds all elements of the given map to the stored one.boolean
Checks the map for equality with the current stored map.void
removeMapListener
(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, setComponent
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
Methods 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:
true
if other map is equal to this map,false
otherwise.
-
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:
createWorkingCopy
in interfaceIModel
- Returns:
- the model working copy or
null
if working copies is not supported by the model.
-