Package org.isda.cdm

Class ExecutionPrimitive


  • @RosettaClass
    public class ExecutionPrimitive
    extends com.rosetta.model.lib.RosettaModelObject
    Specification of the primitive event for an execution, with 'after' state being an ExecutionState and the 'before' state being Null. It is expected that the 'before' state will be adjusted or deprecated once the CDM scope is extended to the pre-execution space.
    Version:
    2.5.4
    • Method Detail

      • getAfter

        @RosettaSynonym(value="after",
                        source="Rosetta_Workbench")
        public final ExecutionState getAfter()
        The after state corresponds to the execution between the parties. In the case of an execution on a contractual product, some additional characteristics may need to be specified to get a fully-formed contract, for instance when the executing party acts as an agent, as is the case in an allocation scenario. This is the purpose of the 'ContractFormation' primitive event.
      • getBefore

        @RosettaSynonym(value="before",
                        source="Rosetta_Workbench")
        public final java.util.List<ExecutionState> getBefore()
        The 0 cardinality reflects the fact that there is no execution in the before state of an execution primitive. As noted in the definition associated with the class, this is expected to change once the CDM scope is extended to the pre-execution space.
      • metaData

        public com.rosetta.model.lib.meta.RosettaMetaData<? extends ExecutionPrimitive> metaData()
        Specified by:
        metaData in class com.rosetta.model.lib.RosettaModelObject
      • process

        public void process​(com.rosetta.model.lib.path.RosettaPath path,
                            com.rosetta.model.lib.process.Processor processor)
        Specified by:
        process in class com.rosetta.model.lib.RosettaModelObject
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object