Class ProblemHistory

java.lang.Object
org.ameba.integration.jpa.BaseEntity
org.openwms.tms.ProblemHistory
All Implemented Interfaces:
Serializable, org.ameba.integration.TypedEntity<Long>

@Entity public class ProblemHistory extends org.ameba.integration.jpa.BaseEntity implements Serializable
A ProblemHistory stores an occurred problem, in form of Message, recorded on TransportOrder.
Author:
Heiko Scherrer
See Also:
  • Field Details

  • Constructor Details

    • ProblemHistory

      protected ProblemHistory()
      Dear JPA ...
    • ProblemHistory

      public ProblemHistory(TransportOrder transportOrder, Message problem)
      Full constructor.
      Parameters:
      transportOrder - The TO this problem initially occurred
      problem - The problem itself
  • Method Details

    • getProblem

      public Message getProblem()
      Get the problem.
      Returns:
      The problem
    • getTransportOrder

      public TransportOrder getTransportOrder()
      Get the corresponding TransportOrder.
      Returns:
      The transportOrder