Interface OrderEntryMatcher<T>

  • Type Parameters:
    T - - the matcher object type
    All Known Implementing Classes:
    PosOrderEntryMatcher

    public interface OrderEntryMatcher<T>
    The matcher will determine which attribute of a AbstractOrderEntryModel will be used for matching.
    • Method Detail

      • getMatchingObject

        T getMatchingObject​(AbstractOrderEntryModel orderEntry)
        Get the order entry model attribute used to match it to other order entries.
        Parameters:
        orderEntry - - the abstract order entry model
        Returns:
        the matching attribute; or null if the attribute is null