Class EmfMap<K,V>

Type Parameters:
K - the type of the map keys
V - 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.
See Also:
  • 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

      public IChange getChange()
      Specified by:
      getChange in interface IModel
      Returns:
      change describing the modifications done to the model.
    • dispose

      public void dispose()
      Description copied from interface: IModel
      Disposes this model.
      Specified by:
      dispose in interface IModel
      Overrides:
      dispose in class Model
    • getObject

      public org.eclipse.emf.ecore.EObject getObject()
      Description copied from interface: IAttribute
      Returns the object that keeps the attribute.
      Specified by:
      getObject in interface IAttribute<K,V>
      Returns:
      the object that keeps the attribute.
    • getProperty

      public org.eclipse.emf.ecore.EStructuralFeature getProperty()
      Description copied from interface: IAttribute
      Returns the property.
      Specified by:
      getProperty in interface IAttribute<K,V>
      Returns:
      the property.