Class ReceivingOrder

  • All Implemented Interfaces:
    Serializable, org.ameba.integration.TypedEntity<Long>

    @Entity
    public class ReceivingOrder
    extends org.ameba.integration.jpa.ApplicationEntity
    implements Serializable
    A ReceivingOrder.
    Author:
    Heiko Scherrer
    See Also:
    Serialized Form
    • Field Detail

      • orderId

        private String orderId
        Unique order id, business key.
      • orderState

        private OrderState orderState
        Current state of this order.
      • locked

        private boolean locked
        Property to lock/unlock an order.
        • true: locked
        • false: unlocked
        Default is
      • priority

        private int priority
        Current priority of the order.
      • latestDueDate

        private ZonedDateTime latestDueDate
        Latest date of this order can be processed.
      • startDate

        private ZonedDateTime startDate
        Earliest date the order can be started.
      • nextAllocationDate

        private ZonedDateTime nextAllocationDate
        Date when the order should be allocated.
      • problem

        private Problem problem
        Latest problem that is occurred on this order.
    • Constructor Detail

      • ReceivingOrder

        protected ReceivingOrder()
        Used by the JPA provider.
      • ReceivingOrder

        protected ReceivingOrder​(String orderId)