Package org.isda.cdm
Class QuantityNotation
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObject
-
- org.isda.cdm.QuantityNotation
-
@RosettaClass public class QuantityNotation extends com.rosetta.model.lib.RosettaModelObject
Class to specify the quantity of a product as a single, non-negative amount, characterised with a notation enumeration to indicate the type of quantity being specified. For some product cases, several quantity notations can be associated with a single product: e.g. for an Equity Swap, both the notional and (optionally) the number of securities can be specified, with a validation to check that they are consistent in relation to the equity price.- Version:
- 2.5.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QuantityNotation.QuantityNotationBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QuantityNotation.QuantityNotationBuilder
builder()
boolean
equals(java.lang.Object o)
QuantityNotationEnum
getNotationTag()
The notation type associated with this quantity, specified from an enumeration.NonNegativeQuantity
getQuantity()
The quantity as a non-negative amount.int
hashCode()
com.rosetta.model.lib.meta.RosettaMetaData<? extends QuantityNotation>
metaData()
void
process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
QuantityNotation.QuantityNotationBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
getNotationTag
@RosettaSynonym(value="", source="FpML_5_10") public final QuantityNotationEnum getNotationTag()
The notation type associated with this quantity, specified from an enumeration.
-
getQuantity
@RosettaSynonym(value="notionalStepSchedule",source="FpML_5_10") @RosettaSynonym(value="notionalStepSchedule",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="notionalStepSchedule",source="DTCC_11_0") @RosettaSynonym(value="notionalStepSchedule",source="DTCC_9_0") @RosettaSynonym(value="notionalStepSchedule",source="CME_ClearedConfirm_1_17") @RosettaSynonym(value="notionalAmount,singleUnderlyer",source="FpML_5_10") public final NonNegativeQuantity getQuantity()
The quantity as a non-negative amount.
-
metaData
public com.rosetta.model.lib.meta.RosettaMetaData<? extends QuantityNotation> metaData()
- Specified by:
metaData
in classcom.rosetta.model.lib.RosettaModelObject
-
toBuilder
public QuantityNotation.QuantityNotationBuilder toBuilder()
- Specified by:
toBuilder
in classcom.rosetta.model.lib.RosettaModelObject
-
builder
public static QuantityNotation.QuantityNotationBuilder 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
-
-