Class TransportStartComparator

java.lang.Object
org.openwms.tms.impl.state.TransportStartComparator
All Implemented Interfaces:
Serializable, Comparator<TransportOrder>

class TransportStartComparator extends Object implements Comparator<TransportOrder>, Serializable
A TransportStartComparator. I used to sort TransportOrders is a particular order. Unfortunately some fields of the TransportOrder class are defined as Enums for a better handling in business logic. Persisting these fields as Strings makes it impossible to do a proper sorting in the database with JPA. Hence we must do it with Comparators in the application layer.
Author:
Heiko Scherrer
See Also:
  • Constructor Details

    • TransportStartComparator

      TransportStartComparator()
  • Method Details