Package cdm.product.template
Interface SecurityLeg.SecurityLegBuilder
- All Superinterfaces:
com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder,SecurityLeg
- All Known Implementing Classes:
SecurityLeg.SecurityLegBuilderImpl
- Enclosing interface:
SecurityLeg
public static interface SecurityLeg.SecurityLegBuilder
extends SecurityLeg, com.rosetta.model.lib.RosettaModelObjectBuilder, com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
Builder Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilderNested classes/interfaces inherited from interface cdm.product.template.SecurityLeg
SecurityLeg.SecurityLegBuilder, SecurityLeg.SecurityLegBuilderImpl, SecurityLeg.SecurityLegImpl -
Field Summary
Fields inherited from interface cdm.product.template.SecurityLeg
metaData -
Method Summary
Modifier and TypeMethodDescriptionWhether the leg is a buyer or seller of securityDelivery Date for the transaction.FX rate in case when cash settlement amount is in a different currency to the security.com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetMeta()com.rosetta.model.metafields.MetaFields.MetaFieldsBuilderSettlement amount for the security legSettlement or Payment Date for the security legdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setBuyerSeller(BuyerSeller buyerSeller) setDeliveryDate(AdjustableOrRelativeDate deliveryDate) setDeliveryMethod(DeliveryMethodEnum deliveryMethod) setFxRate(ExchangeRate fxRate) setMeta(com.rosetta.model.metafields.MetaFields meta) setSettlementAmount(Money settlementAmount) setSettlementCurrency(String settlementCurrency) setSettlementDate(AdjustableOrRelativeDate settlementDate) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, hasData, merge, processRosetta, processRosettaMethods inherited from interface cdm.product.template.SecurityLeg
build, getDeliveryMethod, getSettlementCurrency, getType, metaData, process, toBuilder
-
Method Details
-
getOrCreateBuyerSeller
BuyerSeller.BuyerSellerBuilder getOrCreateBuyerSeller() -
getBuyerSeller
BuyerSeller.BuyerSellerBuilder getBuyerSeller()Description copied from interface:SecurityLegWhether the leg is a buyer or seller of security- Specified by:
getBuyerSellerin interfaceSecurityLeg
-
getOrCreateSettlementDate
AdjustableOrRelativeDate.AdjustableOrRelativeDateBuilder getOrCreateSettlementDate() -
getSettlementDate
AdjustableOrRelativeDate.AdjustableOrRelativeDateBuilder getSettlementDate()Description copied from interface:SecurityLegSettlement or Payment Date for the security leg- Specified by:
getSettlementDatein interfaceSecurityLeg
-
getOrCreateSettlementAmount
Money.MoneyBuilder getOrCreateSettlementAmount() -
getSettlementAmount
Money.MoneyBuilder getSettlementAmount()Description copied from interface:SecurityLegSettlement amount for the security leg- Specified by:
getSettlementAmountin interfaceSecurityLeg
-
getOrCreateFxRate
ExchangeRate.ExchangeRateBuilder getOrCreateFxRate() -
getFxRate
ExchangeRate.ExchangeRateBuilder getFxRate()Description copied from interface:SecurityLegFX rate in case when cash settlement amount is in a different currency to the security.- Specified by:
getFxRatein interfaceSecurityLeg
-
getOrCreateDeliveryDate
AdjustableOrRelativeDate.AdjustableOrRelativeDateBuilder getOrCreateDeliveryDate() -
getDeliveryDate
AdjustableOrRelativeDate.AdjustableOrRelativeDateBuilder getDeliveryDate()Description copied from interface:SecurityLegDelivery Date for the transaction. Delivery Date can be populated when it is not equal to the Settlement Date.- Specified by:
getDeliveryDatein interfaceSecurityLeg
-
getOrCreateMeta
com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getOrCreateMeta()- Specified by:
getOrCreateMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
-
getMeta
com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder- Specified by:
getMetain interfaceSecurityLeg
-
setBuyerSeller
-
setSettlementDate
-
setSettlementAmount
-
setSettlementCurrency
-
setFxRate
-
setDeliveryDate
-
setDeliveryMethod
-
setMeta
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
SecurityLeg.SecurityLegBuilder prune()- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-