Class EventResponse
java.lang.Object
com.iland.core.web.rest.response.event.EventResponse
- All Implemented Interfaces:
Serializable
Event Response.
- Author:
- Cory Snyder
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEventResponse(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. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets details.The name of the entity at the time of the event.Gets entity type.Gets entity uuid.Gets initiated by full name.Gets initiated by username.Gets owner id.Gets owner type.Gets task uuid.Gets timestamp.getType()Gets type.getUuid()Gets uuid.inthashCode()toString()
-
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 uuidownerType- the owner typeownerId- the owner identityUuid- the entity uuidentityName- the entity nameentityType- the entity typetype- the typetimestamp- the timestamptaskUuid- the task uuidinitiatedByUsername- the initiated by usernameinitiatedByFullName- the initiated by full namedetails- the details
-
-
Method Details
-
getUuid
Gets uuid.- Returns:
- the uuid
-
getOwnerType
Gets owner type.- Returns:
- the owner type
-
getOwnerId
Gets owner id.- Returns:
- the owner id
-
getEntityUuid
Gets entity uuid.- Returns:
- the entity uuid
-
getEntityType
Gets entity type.- Returns:
- the entity type
-
getType
Gets type.- Returns:
- the type
-
getTimestamp
Gets timestamp.- Returns:
- the timestamp
-
getTaskUuid
Gets task uuid.- Returns:
- the task uuid
-
getInitiatedByUsername
Gets initiated by username.- Returns:
- the initiated by username
-
getInitiatedByFullName
Gets initiated by full name.- Returns:
- the initiated by full name
-
getDetails
Gets details.- Returns:
- the details
-
getEntityName
The name of the entity at the time of the event.- Returns:
- the name of the entity.
-
equals
-
hashCode
public int hashCode() -
toString
-