Package org.isda.cdm
Class ContractFormation
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObject
-
- org.isda.cdm.ContractFormation
-
@RosettaClass public class ContractFormation extends com.rosetta.model.lib.RosettaModelObject
Specification of the primitive event for the formation of a contract, with 'before' state being an 'ExecutionState' and 'after' state being a 'PostInceptionState'. This primitive combined with the 'ExecutionPrimitive' supersedes the earlier 'Inception' primitive, which had both the the execution and the contract formation bundled together, and as such was only applicable to contractual products. This intends to provide for properly atomic primitives.- Version:
- 2.5.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContractFormation.ContractFormationBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContractFormation.ContractFormationBuilder
builder()
boolean
equals(java.lang.Object o)
PostInceptionState
getAfter()
The after state corresponds to the new contract being formed between the parties, plus some additional trade workflow information.ExecutionState
getBefore()
The before state corresponds to the output of an execution between the parties.int
hashCode()
com.rosetta.model.lib.meta.RosettaMetaData<? extends ContractFormation>
metaData()
void
process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
ContractFormation.ContractFormationBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
getAfter
@RosettaSynonym(value="after", source="Rosetta_Workbench") public final PostInceptionState getAfter()
The after state corresponds to the new contract being formed between the parties, plus some additional trade workflow information.
-
getBefore
@RosettaSynonym(value="before", source="Rosetta_Workbench") public final ExecutionState getBefore()
The before state corresponds to the output of an execution between the parties.
-
metaData
public com.rosetta.model.lib.meta.RosettaMetaData<? extends ContractFormation> metaData()
- Specified by:
metaData
in classcom.rosetta.model.lib.RosettaModelObject
-
toBuilder
public ContractFormation.ContractFormationBuilder toBuilder()
- Specified by:
toBuilder
in classcom.rosetta.model.lib.RosettaModelObject
-
builder
public static ContractFormation.ContractFormationBuilder 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
-
-