Class CaseEvent
java.lang.Object
org.springframework.hateoas.RepresentationModel<CaseEvent>
com.aquima.web.rest.v1.resource.impl.CaseEvent
Case event REST API resource.
- Since:
- 9.6
- Author:
- Voicu Moldovan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
long
getName()
getType()
getUser()
int
hashCode()
void
setCaseId
(NullableLong caseId) Sets the id of the case where this event was triggered.void
setContent
(Object content) Sets the content of this event.void
setEventId
(long eventId) Sets the id of the case event.void
Sets the name of this event.void
Sets the status of this event.void
setTimestamp
(Date timestamp) Sets the date and time when this event was triggeredvoid
Sets the type of this event.void
Sets the username of the user who triggered this event
-
Constructor Details
-
Method Details
-
getEventId
public long getEventId()- Returns:
- the id of the case event
-
setEventId
public void setEventId(long eventId) Sets the id of the case event.- Parameters:
eventId
- the id of the case event
-
getCaseId
- Returns:
- the id of the case where this event was triggered (never null, but the enclosed value may be null)
-
setCaseId
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
- Returns:
- the content of this event (parameter map for message events, null for timer events)
-
setContent
Sets the content of this event.- Parameters:
content
- the content (may be null)
-
getTimestamp
- Returns:
- the date and time when this event was triggered
-
setTimestamp
Sets the date and time when this event was triggered- Parameters:
timestamp
- the timestamp, should not be null
-
getName
- Returns:
- the name of this event
-
setName
Sets the name of this event.- Parameters:
name
- the event name
-
getStatus
- Returns:
- the status of this event
-
setStatus
Sets the status of this event.- Parameters:
status
- the status of the event (should not be null)
-
getType
- Returns:
- the type of this event (timer or message)
-
setType
Sets the type of this event.- Parameters:
type
- the event type (should not be null)
-
getUser
- Returns:
- the username of the who triggered this event
-
setUser
Sets the username of the user who triggered this event- Parameters:
user
- the username
-
hashCode
public int hashCode()- Overrides:
hashCode
in classorg.springframework.hateoas.RepresentationModel<CaseEvent>
-
equals
- Overrides:
equals
in classorg.springframework.hateoas.RepresentationModel<CaseEvent>
-