Class CaseEvent

java.lang.Object
org.springframework.hateoas.RepresentationModel<CaseEvent>
com.aquima.web.rest.v1.resource.impl.CaseEvent

public class CaseEvent extends org.springframework.hateoas.RepresentationModel<CaseEvent>
Case event REST API resource.
Since:
9.6
Author:
Voicu Moldovan
  • Constructor Details Link icon

    • CaseEvent Link icon

      public CaseEvent()
  • Method Details Link icon

    • getEventId Link icon

      public long getEventId()
      Returns:
      the id of the case event
    • setEventId Link icon

      public void setEventId(long eventId)
      Sets the id of the case event.
      Parameters:
      eventId - the id of the case event
    • getCaseId Link icon

      public NullableLong getCaseId()
      Returns:
      the id of the case where this event was triggered (never null, but the enclosed value may be null)
    • setCaseId Link icon

      public void setCaseId(NullableLong caseId)
      Sets the id of the case where this event was triggered.
      Parameters:
      caseId - the case id, must not be null (but the enclosed value may be null)
    • getContent Link icon

      public Object getContent()
      Returns:
      the content of this event (parameter map for message events, null for timer events)
    • setContent Link icon

      public void setContent(Object content)
      Sets the content of this event.
      Parameters:
      content - the content (may be null)
    • getTimestamp Link icon

      public Date getTimestamp()
      Returns:
      the date and time when this event was triggered
    • setTimestamp Link icon

      public void setTimestamp(Date timestamp)
      Sets the date and time when this event was triggered
      Parameters:
      timestamp - the timestamp, should not be null
    • getName Link icon

      public String getName()
      Returns:
      the name of this event
    • setName Link icon

      public void setName(String name)
      Sets the name of this event.
      Parameters:
      name - the event name
    • getStatus Link icon

      public String getStatus()
      Returns:
      the status of this event
    • setStatus Link icon

      public void setStatus(String status)
      Sets the status of this event.
      Parameters:
      status - the status of the event (should not be null)
    • getType Link icon

      public String getType()
      Returns:
      the type of this event (timer or message)
    • setType Link icon

      public void setType(String type)
      Sets the type of this event.
      Parameters:
      type - the event type (should not be null)
    • getUser Link icon

      public String getUser()
      Returns:
      the username of the who triggered this event
    • setUser Link icon

      public void setUser(String user)
      Sets the username of the user who triggered this event
      Parameters:
      user - the username
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class org.springframework.hateoas.RepresentationModel<CaseEvent>
    • equals Link icon

      public boolean equals(Object obj)
      Overrides:
      equals in class org.springframework.hateoas.RepresentationModel<CaseEvent>