Class Allocate

  • All Implemented Interfaces:
    com.rosetta.model.lib.functions.RosettaFunction
    Direct Known Subclasses:
    AllocateImpl

    public class Allocate
    extends java.lang.Object
    implements com.rosetta.model.lib.functions.RosettaFunction
    • Field Detail

      • objectValidator

        @Inject
        protected com.rosetta.model.lib.validation.ModelObjectValidator objectValidator
    • Constructor Detail

      • Allocate

        public Allocate()
    • Method Detail

      • evaluate

        public Event evaluate​(Execution execution,
                              AllocationInstructions allocationInstructions,
                              Event previousEvent)
        Parameters:
        execution - Block trade to be allocated.
        allocationInstructions - Allocation instructions to be applied.
        previousEvent - Previous event for lineage purposes.
        Returns:
        allocationEvent Allocation event containing both the original block trade (with the status set to Allocated) and the set of allocated trades.