Class UserStepUpdatedEventBody

java.lang.Object
es.kukenan.smartfi.events.common.AbstractEventBody
es.kukenan.smartfi.microservice.clients.events.BaseUsersEventBody
es.kukenan.smartfi.microservice.clients.events.updated.UserStepUpdatedEventBody

public class UserStepUpdatedEventBody extends BaseUsersEventBody
Class that describes the contract of the user step updated event body.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private int
    Step id.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Full state constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns if there are changes registered for the user related to the event.

    Methods inherited from class es.kukenan.smartfi.events.common.AbstractEventBody

    canEqual, equals, getPrincipal, hashCode, setPrincipal, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • step

      private int step
      Step id.
  • Constructor Details

    • UserStepUpdatedEventBody

      public UserStepUpdatedEventBody(String id, int step)
      Full state constructor.
      Parameters:
      id - user identifier.
      step - step identifier.
  • Method Details

    • containsChanges

      public boolean containsChanges()
      Returns if there are changes registered for the user related to the event.
      Returns:
      true if there are changes registered for the user related to the event.