Class TaskEO

java.lang.Object
org.ameba.integration.jpa.BaseEntity
org.ameba.integration.jpa.ApplicationEntity
org.openwms.common.tasks.impl.TaskEO
All Implemented Interfaces:
Serializable, org.ameba.integration.TypedEntity<Long>

@Entity public class TaskEO extends org.ameba.integration.jpa.ApplicationEntity implements Serializable
A TaskEO.
Author:
Heiko Scherrer
See Also:
  • Field Details

    • taskId

      @NotNull private @NotNull String taskId
    • description

      private String description
    • type

      @NotNull private @NotNull String type
    • state

      private TaskState state
    • parentTask

      private TaskEO parentTask
    • taskGroup

      private TaskGroupEO taskGroup
    • assignedTo

      private String assignedTo
    • assignedAt

      @DateTimeFormat(pattern="yyyy-MM-dd\'T\'HH:mm:ssXXX") private ZonedDateTime assignedAt
    • startedAt

      @DateTimeFormat(pattern="yyyy-MM-dd\'T\'HH:mm:ssXXX") private ZonedDateTime startedAt
    • finishedAt

      @DateTimeFormat(pattern="yyyy-MM-dd\'T\'HH:mm:ssXXX") private ZonedDateTime finishedAt
  • Constructor Details

    • TaskEO

      public TaskEO()
  • Method Details

    • onEntityPersist

      protected void onEntityPersist()
      Overrides:
      onEntityPersist in class org.ameba.integration.jpa.ApplicationEntity
    • getTaskId

      public String getTaskId()
    • setTaskId

      public void setTaskId(String taskId)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getState

      public TaskState getState()
    • setState

      public void setState(TaskState state)
    • getParentTask

      public TaskEO getParentTask()
    • setParentTask

      public void setParentTask(TaskEO parentTask)
    • getTaskGroup

      public TaskGroupEO getTaskGroup()
    • setTaskGroup

      public void setTaskGroup(TaskGroupEO taskGroup)
    • getAssignedTo

      public String getAssignedTo()
    • setAssignedTo

      public void setAssignedTo(String assignedTo)
    • getAssignedAt

      public ZonedDateTime getAssignedAt()
    • setAssignedAt

      public void setAssignedAt(ZonedDateTime assignedAt)
    • getStartedAt

      public ZonedDateTime getStartedAt()
    • setStartedAt

      public void setStartedAt(ZonedDateTime startedAt)
    • getFinishedAt

      public ZonedDateTime getFinishedAt()
    • setFinishedAt

      public void setFinishedAt(ZonedDateTime finishedAt)
    • equals

      public boolean equals(Object o)
      All fields.
      Overrides:
      equals in class org.ameba.integration.jpa.ApplicationEntity
    • hashCode

      public int hashCode()
      All fields.
      Overrides:
      hashCode in class org.ameba.integration.jpa.ApplicationEntity
    • toString

      public String toString()
      All fields.
      Overrides:
      toString in class Object