Package org.openwms.tms
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 Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
Dear JPA ...ProblemHistory
(TransportOrder transportOrder, Message problem) Full constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the problem.Get the correspondingTransportOrder
.Methods inherited from class org.ameba.integration.jpa.BaseEntity
getCreatedBy, getCreateDt, getLastModifiedBy, getLastModifiedDt, getOl, getPk, isNew, setCreatedBy, setCreateDt, setLastModifiedBy, setLastModifiedDt, setOl
-
Field Details
-
transportOrder
-
problem
-
-
Constructor Details
-
ProblemHistory
protected ProblemHistory()Dear JPA ... -
ProblemHistory
Full constructor.- Parameters:
transportOrder
- The TO this problem initially occurredproblem
- The problem itself
-
-
Method Details
-
getProblem
Get the problem.- Returns:
- The problem
-
getTransportOrder
Get the correspondingTransportOrder
.- Returns:
- The transportOrder
-