Class OrderEntryGroup
java.lang.Object
de.hybris.platform.warehousing.sourcing.context.grouping.OrderEntryGroup
Data transfer object used to maintain a group/collection of
AbstractOrderEntryModel.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(AbstractOrderEntryModel entry) Add an entry to the group.voidaddAll(Collection<AbstractOrderEntryModel> entries) Add a collection of entries to the group.Gets the entries in the group.intsize()Gets the size of group.
-
Constructor Details
-
OrderEntryGroup
-
-
Method Details
-
add
Add an entry to the group.- Parameters:
entry- - the abstract order entry model
-
addAll
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
Gets the entries in the group.- Returns:
- entries in the group; never null
-