org.eclipse.viatra.query.runtime.base.api

## Interface FeatureListener

-     public interface FeatureListener

  Interface for observing insertion and deletion of structural feature values ("settings"). (Works both for single-valued and many-valued features.)

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `featureDeleted(org.eclipse.emf.ecore.EObject host, org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.Object value)` Called when the given value is removed from the given feature of the given host EObject.
    `void` | `featureInserted(org.eclipse.emf.ecore.EObject host, org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.Object value)` Called when the given value is inserted into the given feature of the given host EObject.

- - ### Method Detail

    - #### featureInserted

          void featureInserted(org.eclipse.emf.ecore.EObject host,
                               org.eclipse.emf.ecore.EStructuralFeature feature,
                               java.lang.Object value)

      Called when the given value is inserted into the given feature of the given host EObject.
      Parameters:
        `host` - the host (holder) of the feature
        `feature` - the `EAttribute` or `EReference` instance
        `value` - the target of the feature

    - #### featureDeleted

          void featureDeleted(org.eclipse.emf.ecore.EObject host,
                              org.eclipse.emf.ecore.EStructuralFeature feature,
                              java.lang.Object value)

      Called when the given value is removed from the given feature of the given host EObject.
      Parameters:
        `host` - the host (holder) of the feature
        `feature` - the `EAttribute` or `EReference` instance
        `value` - the target of the feature