Package org.isda.cdm
Class PhysicalExercise
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObject
-
- org.isda.cdm.PhysicalExercise
-
@RosettaClass public class PhysicalExercise extends com.rosetta.model.lib.RosettaModelObject
The physical exercise results into a financial product which is represented through the Product class, with an associated quantity and cashflow (e.g. a physical exercise of a bond option will result into a bond with a cash proceed which will be a function of the option strike price).- Version:
- 2.5.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PhysicalExercise.PhysicalExerciseBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PhysicalExercise.PhysicalExerciseBuilder
builder()
boolean
equals(java.lang.Object o)
Cashflow
getCashflow()
The cashflow component of the physical exercise.ExecutionQuantity
getContractualQuantity()
Complex attribute to specify the quantity of the contractual product that is being exercised.Product
getProduct()
Quantity
getQuantity()
The quantity associated the asset that is physically settled.int
hashCode()
com.rosetta.model.lib.meta.RosettaMetaData<? extends PhysicalExercise>
metaData()
void
process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
PhysicalExercise.PhysicalExerciseBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
getCashflow
@RosettaSynonym(value="cashflow", source="Rosetta_Workbench") public final Cashflow getCashflow()
The cashflow component of the physical exercise.
-
getContractualQuantity
@RosettaSynonym(value="swap", source="Rosetta_Workbench", path="product") public final ExecutionQuantity getContractualQuantity()
Complex attribute to specify the quantity of the contractual product that is being exercised. This temporarily makes uses of the 'ExecutionQuantity' class, until such time when the latter can be renamed as, and supersede, the existing 'ContractualQuantity' class. To be later merged with the 'quantity' attribute to have consistent mechanism between contractual and non-contractual products.
-
getProduct
@RosettaSynonym(value="product", source="Rosetta_Workbench") public final Product getProduct()
-
getQuantity
@RosettaSynonym(value="quantity", source="Rosetta_Workbench") public final Quantity getQuantity()
The quantity associated the asset that is physically settled. This quantity should only be associated with non-contractual products, as it is then expressed as part of the contractual terms.
-
metaData
public com.rosetta.model.lib.meta.RosettaMetaData<? extends PhysicalExercise> metaData()
- Specified by:
metaData
in classcom.rosetta.model.lib.RosettaModelObject
-
toBuilder
public PhysicalExercise.PhysicalExerciseBuilder toBuilder()
- Specified by:
toBuilder
in classcom.rosetta.model.lib.RosettaModelObject
-
builder
public static PhysicalExercise.PhysicalExerciseBuilder 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
-
-