org.eclipse.viatra.addon.querybasedfeatures.runtime.handler

## Class SingleValueQueryBasedFeature

- java.lang.Object
- - org.eclipse.viatra.addon.querybasedfeatures.runtime.QueryBasedFeature
  - - org.eclipse.viatra.addon.querybasedfeatures.runtime.handler.SingleValueQueryBasedFeature

-     public class SingleValueQueryBasedFeature
      extends QueryBasedFeature

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `SingleValueQueryBasedFeature(org.eclipse.emf.ecore.EStructuralFeature feature, boolean keepCache)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `afterUpdate()`
    `protected void` | `beforeUpdate()`
    `QueryBasedFeatureKind` | `getKind()`
    `java.lang.Object` | `getSingleReferenceValue(java.lang.Object source)`
    `java.lang.Object` | `getValue(java.lang.Object source)`
    `protected void` | `processAppearedMatch(IPatternMatch signature)`
    `protected void` | `processDisappearedMatch(IPatternMatch signature)`

    - ### Methods inherited from class org.eclipse.viatra.addon.querybasedfeatures.runtime.QueryBasedFeature

      `appendNotificationToList, engineForMatcher, getFeature, getMatcher, getSourceParamName, getSourceValue, getTargetParamName, getTargetValue, initialize, isCached, isInitialized, setMatcher, setSourceParamName, setTargetParamName, startMonitoring`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SingleValueQueryBasedFeature

          protected SingleValueQueryBasedFeature(org.eclipse.emf.ecore.EStructuralFeature feature,
                                                 boolean keepCache)

  - ### Method Detail

    - #### getSingleReferenceValue

          public java.lang.Object getSingleReferenceValue(java.lang.Object source)

    - #### processAppearedMatch

          protected void processAppearedMatch(IPatternMatch signature)

      Specified by:
        `processAppearedMatch` in class `QueryBasedFeature`

    - #### processDisappearedMatch

          protected void processDisappearedMatch(IPatternMatch signature)

      Specified by:
        `processDisappearedMatch` in class `QueryBasedFeature`

    - #### afterUpdate

          protected void afterUpdate()

      Specified by:
        `afterUpdate` in class `QueryBasedFeature`

    - #### beforeUpdate

          protected void beforeUpdate()

      Specified by:
        `beforeUpdate` in class `QueryBasedFeature`

    - #### getKind

          public QueryBasedFeatureKind getKind()

      Specified by:
        `getKind` in class `QueryBasedFeature`

    - #### getValue

          public java.lang.Object getValue(java.lang.Object source)

      Specified by:
        `getValue` in class `QueryBasedFeature`