Package org.isda.cdm.functions
Class NewAllocationPrimitive
- java.lang.Object
-
- org.isda.cdm.functions.NewAllocationPrimitive
-
- All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
- Direct Known Subclasses:
NewAllocationPrimitiveImpl
public abstract class NewAllocationPrimitive extends java.lang.Object implements com.rosetta.model.lib.functions.RosettaFunction
-
-
Field Summary
Fields Modifier and Type Field Description protected com.rosetta.model.lib.validation.ModelObjectValidator
objectValidator
-
Constructor Summary
Constructors Constructor Description NewAllocationPrimitive()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract AllocationPrimitive.AllocationPrimitiveBuilder
doEvaluate(Execution execution, AllocationInstructions allocationInstructions)
AllocationPrimitive
evaluate(Execution execution, AllocationInstructions allocationInstructions)
-
-
-
Method Detail
-
evaluate
public AllocationPrimitive evaluate(Execution execution, AllocationInstructions allocationInstructions)
- Parameters:
execution
- Block trade to be allocated.allocationInstructions
- Allocation instructions to be applied.- Returns:
- primitive Allocation primitive containing both the original block trade (with the status set to Allocated) and the set of allocated trades.
-
doEvaluate
protected abstract AllocationPrimitive.AllocationPrimitiveBuilder doEvaluate(Execution execution, AllocationInstructions allocationInstructions)
-
-