Package org.isda.cdm
Class AllocationPrimitive
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObject
-
- org.isda.cdm.AllocationPrimitive
-
@RosettaClass public class AllocationPrimitive extends com.rosetta.model.lib.RosettaModelObject
The primitive event to represent a split/allocation of a trade. As part of this primitive event the type of trade, either an execution or a contract, does not get altered. In the case of an execution, the further transformation of each split execution into a contract will be the purpose of the ContractFormation primitive.- Version:
- 2.5.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AllocationPrimitive.AllocationPrimitiveBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AllocationPrimitive.AllocationPrimitiveBuilder
builder()
boolean
equals(java.lang.Object o)
AllocationOutcome
getAfter()
Outcome of the allocation as a list of Trades, which is either a split execution or a split contract, plus a pointer to the previous execution or contract marked as 'Allocated'.Trade
getBefore()
The trade before allocation, which is either an execution if allocation happens before the contract is formed, or an already formed contract.int
hashCode()
com.rosetta.model.lib.meta.RosettaMetaData<? extends AllocationPrimitive>
metaData()
void
process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
AllocationPrimitive.AllocationPrimitiveBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
getAfter
@RosettaSynonym(value="after", source="Rosetta_Workbench") public final AllocationOutcome getAfter()
Outcome of the allocation as a list of Trades, which is either a split execution or a split contract, plus a pointer to the previous execution or contract marked as 'Allocated'.
-
getBefore
@RosettaSynonym(value="before", source="Rosetta_Workbench") public final Trade getBefore()
The trade before allocation, which is either an execution if allocation happens before the contract is formed, or an already formed contract.
-
metaData
public com.rosetta.model.lib.meta.RosettaMetaData<? extends AllocationPrimitive> metaData()
- Specified by:
metaData
in classcom.rosetta.model.lib.RosettaModelObject
-
toBuilder
public AllocationPrimitive.AllocationPrimitiveBuilder toBuilder()
- Specified by:
toBuilder
in classcom.rosetta.model.lib.RosettaModelObject
-
builder
public static AllocationPrimitive.AllocationPrimitiveBuilder 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
-
-