Class OrderEntryGroup


  • public class OrderEntryGroup
    extends java.lang.Object
    Data transfer object used to maintain a group/collection of AbstractOrderEntryModel.
    • Method Detail

      • add

        public void add​(AbstractOrderEntryModel entry)
        Add an entry to the group.
        Parameters:
        entry - - the abstract order entry model
      • addAll

        public void addAll​(java.util.Collection<AbstractOrderEntryModel> entries)
        Add a collection of entries to the group.
        Parameters:
        entries - - an immutable collection of abstract order entry models
      • size

        public int size()
        Gets the size of group.
        Returns:
        size of group
      • getEntries

        public java.util.Collection<AbstractOrderEntryModel> getEntries()
        Gets the entries in the group.
        Returns:
        entries in the group; never null