Package com._1c.g5.aef2.models.map
Class MapWorkingCopy<K,V>
java.lang.Object
com._1c.g5.aef2.validators.Validable
com._1c.g5.aef2.models.Model
com._1c.g5.aef2.models.EditableModel
com._1c.g5.aef2.models.map.MapModel<K,V>
com._1c.g5.aef2.models.map.MapWorkingCopy<K,V>
- All Implemented Interfaces:
IEditableModel
,IModel
,IMap<K,
,V> IValidable
,Map<K,
V>
- Direct Known Subclasses:
IMultilanguageFormattedTextModel.MultilanguageFormattedTextWorkingCopy
Map working copy – editable proxy buffer for another map.
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com._1c.g5.aef2.models.map.MapModel
addMapListener, clear, containsKey, containsValue, createWorkingCopy, discard, entrySet, fill, fromCollection, get, getCommittedMap, getUncommittedMap, isElementEqual, isEmpty, isEqual, keySet, notifyMapChanged, put, putAll, queueNotifyMapChanged, remove, removeMapListener, setCommittedMap, setMap, setUncommitedMap, size, toString, values
Methods inherited from class com._1c.g5.aef2.models.EditableModel
isEditable, setEditable
Methods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, commit, dispose, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, notifyModelChanged, notifyModelCommitted, removeModelListener, setComponent, setOnline
Methods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, getValidatorTarget, removeValidator, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, dispose, getComponent, removeModelListener, setComponent
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
MapWorkingCopy
Instantiates a new map working copy.- Parameters:
original
- the original map.
-
-
Method Details
-
validate
public org.eclipse.core.runtime.IStatus validate()Description copied from interface:IValidable
Validates this object state.- Specified by:
validate
in interfaceIValidable
- Overrides:
validate
in classValidable
- Returns:
- the validation status.
-
getChange
- Returns:
- change describing the modifications done to the model.
-
isOnline
public boolean isOnline() -
getOriginalModel
Returns the original map model.- Returns:
- the original map model.
-