org.eclipse.incquery.runtime.base.api

## Interface DataTypeListener

-     public interface DataTypeListener

  Interface for observing insertion and deletion of instances of data types.
  Author:
    Tamas Szabo

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `dataTypeInstanceDeleted(org.eclipse.emf.ecore.EDataType type, java.lang.Object instance, boolean lastOccurrence)` Called when an instance of the given type is deleted.
    `void` | `dataTypeInstanceInserted(org.eclipse.emf.ecore.EDataType type, java.lang.Object instance, boolean firstOccurrence)` Called when an instance of the given type is inserted.

- - ### Method Detail

    - #### dataTypeInstanceInserted

          void dataTypeInstanceInserted(org.eclipse.emf.ecore.EDataType type,
                                        java.lang.Object instance,
                                        boolean firstOccurrence)

      Called when an instance of the given type is inserted.
      Parameters:
        `type` - the `EDataType`
        `instance` - the instance of the data type
        `firstOccurrence` - true if this value was not previously present in the model

    - #### dataTypeInstanceDeleted

          void dataTypeInstanceDeleted(org.eclipse.emf.ecore.EDataType type,
                                       java.lang.Object instance,
                                       boolean lastOccurrence)

      Called when an instance of the given type is deleted.
      Parameters:
        `type` - the `EDataType`
        `instance` - the instance of the data type
        `lastOccurrence` - true if this value is no longer present in the model