Package cdm.product.template
Class TradeLot.TradeLotImpl
java.lang.Object
cdm.product.template.TradeLot.TradeLotImpl
- All Implemented Interfaces:
TradeLot,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
TradeLot
Immutable Implementation of TradeLot
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.template.TradeLot
TradeLot.TradeLotBuilder, TradeLot.TradeLotBuilderImpl, TradeLot.TradeLotImpl -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanList<? 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.inthashCode()protected voidsetBuilderFields(TradeLot.TradeLotBuilder builder) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
TradeLotImpl
-
-
Method Details
-
getLotIdentifier
@RosettaAttribute("lotIdentifier") @RuneAttribute("lotIdentifier") public List<? extends Identifier> getLotIdentifier()Description copied from interface:TradeLotSpecifies one or more identifiers for the lot, if any.- Specified by:
getLotIdentifierin interfaceTradeLot
-
getPriceQuantity
@RosettaAttribute(value="priceQuantity", isRequired=true) @RuneAttribute(value="priceQuantity", isRequired=true) public List<? extends PriceQuantity> getPriceQuantity()Description copied from interface:TradeLotSpecifies 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).- Specified by:
getPriceQuantityin interfaceTradeLot
-
build
Description copied from interface:TradeLotBuild Methods -
toBuilder
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-