Class FilterChangePriceQuantity
java.lang.Object
cdm.product.common.settlement.functions.FilterChangePriceQuantity
- All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
- Direct Known Subclasses:
FilterChangePriceQuantity.FilterChangePriceQuantityDefault
public abstract class FilterChangePriceQuantity
extends Object
implements com.rosetta.model.lib.functions.RosettaFunction
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.rosetta.model.lib.functions.ModelObjectValidator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract com.rosetta.model.lib.mapper.MapperC<? extends PriceQuantity> changeWithMatchingObservable(PriceQuantity priceQuantity, List<? extends PriceQuantity> change) protected abstract List<PriceQuantity.PriceQuantityBuilder> doEvaluate(PriceQuantity priceQuantity, List<? extends PriceQuantity> change) List<? extends PriceQuantity> evaluate(PriceQuantity priceQuantity, List<? extends PriceQuantity> change) 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
-
FilterChangePriceQuantity
public FilterChangePriceQuantity()
-
-
Method Details
-
evaluate
public List<? extends PriceQuantity> evaluate(PriceQuantity priceQuantity, List<? extends PriceQuantity> change) - Parameters:
priceQuantity- List of PriceQuantity to update.change- List of new PriceQuantity to use where the units match.- Returns:
- filteredChange
-
doEvaluate
protected abstract List<PriceQuantity.PriceQuantityBuilder> doEvaluate(PriceQuantity priceQuantity, List<? extends PriceQuantity> change) -
changeWithMatchingObservable
protected abstract com.rosetta.model.lib.mapper.MapperC<? extends PriceQuantity> changeWithMatchingObservable(PriceQuantity priceQuantity, List<? extends PriceQuantity> change)
-