Package org.openwms.common.tasks.api
Class TaskVO
A TaskVO.
- Author:
- Heiko Scherrer
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private ZonedDateTime
static final String
private @NotEmpty(groups=Update.class) String
private ZonedDateTime
private TaskState
private String
private @NotEmpty(groups=Create.class) String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
All Fields.getpKey()
getState()
getType()
int
hashCode()
All Fields.void
setDescription
(String description) void
setFinishedAt
(ZonedDateTime finishedAt) void
void
setStartedAt
(ZonedDateTime startedAt) void
void
void
Methods inherited from class org.ameba.http.AbstractBase
getOl, setOl
Methods inherited from class org.springframework.hateoas.RepresentationModel
add, add, add, addAllIf, addIf, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, of, of, removeLinks, toString
-
Field Details
-
MEDIA_TYPE
- See Also:
-
pKey
-
taskId
-
description
-
type
-
state
-
startedAt
-
finishedAt
-
-
Constructor Details
-
TaskVO
public TaskVO()
-
-
Method Details
-
getpKey
-
setpKey
-
getTaskId
-
setTaskId
-
getDescription
-
setDescription
-
getType
-
setType
-
getState
-
setState
-
getStartedAt
-
setStartedAt
-
getFinishedAt
-
setFinishedAt
-
equals
All Fields.- Overrides:
equals
in classorg.springframework.hateoas.RepresentationModel<TaskVO>
-
hashCode
public int hashCode()All Fields.- Overrides:
hashCode
in classorg.springframework.hateoas.RepresentationModel<TaskVO>
-