Package cdm.product.template.functions
Class FilterTradeLot
java.lang.Object
cdm.product.template.functions.FilterTradeLot
- All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
- Direct Known Subclasses:
FilterTradeLot.FilterTradeLotDefault
public abstract class FilterTradeLot
extends Object
implements com.rosetta.model.lib.functions.RosettaFunction
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.rosetta.model.lib.functions.ModelObjectValidator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract List<TradeLot.TradeLotBuilder> doEvaluate(List<? extends TradeLot> tradeLots, List<? extends Identifier> lotIdentifier) evaluate(List<? extends TradeLot> tradeLots, List<? extends Identifier> lotIdentifier) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.functions.RosettaFunction
toBuilder, toBuilder, toBuilder
-
Field Details
-
objectValidator
@Inject protected com.rosetta.model.lib.functions.ModelObjectValidator objectValidator
-
-
Constructor Details
-
FilterTradeLot
public FilterTradeLot()
-
-
Method Details
-
evaluate
public List<? extends TradeLot> evaluate(List<? extends TradeLot> tradeLots, List<? extends Identifier> lotIdentifier) - Parameters:
tradeLots- List of TradeLots to filter.lotIdentifier- The lot Identifiers to filter by.- Returns:
- filteredTradeLots
-
doEvaluate
protected abstract List<TradeLot.TradeLotBuilder> doEvaluate(List<? extends TradeLot> tradeLots, List<? extends Identifier> lotIdentifier)
-