org.activiti.engine.delegate.event.impl

## Class ActivitiEntityEventImpl

- java.lang.Object
- - org.activiti.engine.delegate.event.impl.ActivitiEventImpl
  - - org.activiti.engine.delegate.event.impl.ActivitiEntityEventImpl

- All Implemented Interfaces:
    ActivitiEntityEvent, ActivitiEvent
  Direct Known Subclasses:
    ActivitiEntityWithVariablesEventImpl

      public class ActivitiEntityEventImpl
      extends ActivitiEventImpl
      implements ActivitiEntityEvent

  Base class for all `ActivitiEvent` implementations, related to entities.
  Author:
    Frederik Heremans

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Object` | `entity`

    - ### Fields inherited from class org.activiti.engine.delegate.event.impl.ActivitiEventImpl

      `executionId, processDefinitionId, processInstanceId, type`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ActivitiEntityEventImpl(Object entity, ActivitiEventType type)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `getEntity()`

    - ### Methods inherited from class org.activiti.engine.delegate.event.impl.ActivitiEventImpl

      `getEngineServices, getExecutionId, getProcessDefinitionId, getProcessInstanceId, getType, setExecutionId, setProcessDefinitionId, setProcessInstanceId, setType`

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

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

    - ### Methods inherited from interface org.activiti.engine.delegate.event.ActivitiEvent

      `getEngineServices, getExecutionId, getProcessDefinitionId, getProcessInstanceId, getType`

- - ### Field Detail

    - #### entity

          protected Object entity

  - ### Constructor Detail

    - #### ActivitiEntityEventImpl

          public ActivitiEntityEventImpl(Object entity,
                                         ActivitiEventType type)

  - ### Method Detail

    - #### getEntity

          public Object getEntity()

      Specified by:
        `getEntity` in interface `ActivitiEntityEvent`
      Returns:
        the entity that is targeted by this event.

Copyright © 2016 Alfresco. All rights reserved.