Package com._1c.g5.aef2.emf.models
Class EmfMap<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.emf.models.EmfMap<K,V>
- Type Parameters:
K- the type of the map keysV- the type of the map values
- All Implemented Interfaces:
IAttribute<org.eclipse.emf.ecore.EObject,,org.eclipse.emf.ecore.EStructuralFeature> IEditableModel,IEmfAttribute<org.eclipse.emf.ecore.EObject>,IModel,IEmfMapAttribute<K,,V, org.eclipse.emf.ecore.EObject> IMap<K,,V> IValidable,Map<K,V>
- Direct Known Subclasses:
EmfMultilanguageModel,EmfTimeScaleLevelMultilanguageModel
public class EmfMap<K,V>
extends MapModel<K,V>
implements IEmfMapAttribute<K,V,org.eclipse.emf.ecore.EObject>
Represents a EMF map.
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionEmfMap(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature) Instantiates a new EMF map. -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Disposes this model.org.eclipse.emf.ecore.EObjectReturns the object that keeps the attribute.org.eclipse.emf.ecore.EStructuralFeatureReturns the property.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, valuesMethods inherited from class com._1c.g5.aef2.models.EditableModel
isEditable, setEditableMethods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, commit, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, isOnline, notifyModelChanged, notifyModelCommitted, removeModelListener, setComponent, setOnlineMethods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, getValidatorTarget, removeValidator, validate, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com._1c.g5.aef2.models.map.IMap
addMapListener, createWorkingCopy, fill, isEqual, removeMapListenerMethods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, discard, 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
-
Constructor Details
-
EmfMap
public EmfMap(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature) Instantiates a new EMF map.- Parameters:
object- the object.feature- the feature.
-
-
Method Details
-
getChange
-
dispose
public void dispose()Description copied from interface:IModelDisposes this model. -
getObject
public org.eclipse.emf.ecore.EObject getObject()Description copied from interface:IAttributeReturns the object that keeps the attribute.- Specified by:
getObjectin interfaceIAttribute<K,V> - Returns:
- the object that keeps the attribute.
-
getProperty
public org.eclipse.emf.ecore.EStructuralFeature getProperty()Description copied from interface:IAttributeReturns the property.- Specified by:
getPropertyin interfaceIAttribute<K,V> - Returns:
- the property.
-