Package org.isda.cdm
Class ExecutionPrimitive
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObject
-
- org.isda.cdm.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExecutionPrimitive.ExecutionPrimitiveBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecutionPrimitive.ExecutionPrimitiveBuilder
builder()
boolean
equals(java.lang.Object o)
ExecutionState
getAfter()
The after state corresponds to the execution between the parties.java.util.List<ExecutionState>
getBefore()
The 0 cardinality reflects the fact that there is no execution in the before state of an execution primitive.int
hashCode()
com.rosetta.model.lib.meta.RosettaMetaData<? extends ExecutionPrimitive>
metaData()
void
process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
ExecutionPrimitive.ExecutionPrimitiveBuilder
toBuilder()
java.lang.String
toString()
-
-
-
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 classcom.rosetta.model.lib.RosettaModelObject
-
toBuilder
public ExecutionPrimitive.ExecutionPrimitiveBuilder toBuilder()
- Specified by:
toBuilder
in classcom.rosetta.model.lib.RosettaModelObject
-
builder
public static ExecutionPrimitive.ExecutionPrimitiveBuilder builder()
-
process
public void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
- Specified by:
process
in classcom.rosetta.model.lib.RosettaModelObject
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-