Class EventResponse

java.lang.Object
com.iland.core.web.rest.response.event.EventResponse
All Implemented Interfaces:
Serializable

public class EventResponse extends Object implements Serializable
Event Response.
Author:
Cory Snyder
See Also:
  • Constructor Details

    • EventResponse

      public EventResponse(String uuid, EventOwnerType ownerType, String ownerId, String entityUuid, String entityName, EntityTypeResponse entityType, EventTypeResponse type, Instant timestamp, String taskUuid, String initiatedByUsername, String initiatedByFullName, String details)
      Instantiates a new Event response.
      Parameters:
      uuid - the uuid
      ownerType - the owner type
      ownerId - the owner id
      entityUuid - the entity uuid
      entityName - the entity name
      entityType - the entity type
      type - the type
      timestamp - the timestamp
      taskUuid - the task uuid
      initiatedByUsername - the initiated by username
      initiatedByFullName - the initiated by full name
      details - the details
  • Method Details

    • getUuid

      public String getUuid()
      Gets uuid.
      Returns:
      the uuid
    • getOwnerType

      public EventOwnerType getOwnerType()
      Gets owner type.
      Returns:
      the owner type
    • getOwnerId

      public String getOwnerId()
      Gets owner id.
      Returns:
      the owner id
    • getEntityUuid

      public String getEntityUuid()
      Gets entity uuid.
      Returns:
      the entity uuid
    • getEntityType

      public EntityTypeResponse getEntityType()
      Gets entity type.
      Returns:
      the entity type
    • getType

      public EventTypeResponse getType()
      Gets type.
      Returns:
      the type
    • getTimestamp

      public Instant getTimestamp()
      Gets timestamp.
      Returns:
      the timestamp
    • getTaskUuid

      public String getTaskUuid()
      Gets task uuid.
      Returns:
      the task uuid
    • getInitiatedByUsername

      public String getInitiatedByUsername()
      Gets initiated by username.
      Returns:
      the initiated by username
    • getInitiatedByFullName

      public String getInitiatedByFullName()
      Gets initiated by full name.
      Returns:
      the initiated by full name
    • getDetails

      public String getDetails()
      Gets details.
      Returns:
      the details
    • getEntityName

      public String getEntityName()
      The name of the entity at the time of the event.
      Returns:
      the name of the entity.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object