Package cdm.product.template
Interface TradeLot
- All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
TradeLot.TradeLotBuilder
- All Known Implementing Classes:
TradeLot.TradeLotBuilderImpl,TradeLot.TradeLotImpl
@RosettaDataType(value="TradeLot",
builder=TradeLotBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="TradeLot",
model="cdm",
builder=TradeLotBuilderImpl.class,
version="5.30.0")
public interface TradeLot
extends com.rosetta.model.lib.RosettaModelObject
Specifies the price and quantity of a trade lot, where the same product could be traded multiple times with the same counterparty but in different lots (at a different date, in a different quantity and at a different price). One trade lot combined with a product definition specifies the entire economics of a trade. The lifecycle mechanics of each such trade lot (e.g. cashflow payments) is independent of the other lots.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of TradeLotstatic classImmutable Implementation of TradeLot -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsstatic TradeLot.TradeLotBuilderbuilder()List<? extends Identifier> Specifies one or more identifiers for the lot, if any.List<? extends PriceQuantity> Specifies the settlement characteristics of a trade lot: price, quantity, observable (optionally) and the settlement terms.getType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends TradeLot> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getLotIdentifier
List<? extends Identifier> getLotIdentifier()Specifies one or more identifiers for the lot, if any. -
getPriceQuantity
List<? extends PriceQuantity> getPriceQuantity()Specifies the settlement characteristics of a trade lot: price, quantity, observable (optionally) and the settlement terms. This attribute has a multiple cardinality to allow to specify the price, quantity and observable of different legs in a single, composite product (e.g. a Swap). -
build
TradeLot build()Build Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
TradeLot.TradeLotBuilder toBuilder()- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
Utility Methods- Specified by:
metaDatain interfacecom.rosetta.model.lib.RosettaModelObject
-
getType
- Specified by:
getTypein interfacecom.rosetta.model.lib.RosettaModelObject
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObject
-