Class OrderEntryGroup
- java.lang.Object
-
- de.hybris.platform.warehousing.sourcing.context.grouping.OrderEntryGroup
-
public class OrderEntryGroup extends java.lang.ObjectData transfer object used to maintain a group/collection ofAbstractOrderEntryModel.
-
-
Constructor Summary
Constructors Constructor Description OrderEntryGroup(java.util.Collection<AbstractOrderEntryModel> entries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(AbstractOrderEntryModel entry)Add an entry to the group.voidaddAll(java.util.Collection<AbstractOrderEntryModel> entries)Add a collection of entries to the group.java.util.Collection<AbstractOrderEntryModel>getEntries()Gets the entries in the group.intsize()Gets the size of group.
-
-
-
Constructor Detail
-
OrderEntryGroup
public OrderEntryGroup(java.util.Collection<AbstractOrderEntryModel> entries)
-
-
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
-
-