Package cdm.observable.asset
Class TransactedPrice.TransactedPriceBuilderImpl
java.lang.Object
cdm.observable.asset.TransactedPrice.TransactedPriceBuilderImpl
- All Implemented Interfaces:
TransactedPrice,TransactedPrice.TransactedPriceBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
TransactedPrice
public static class TransactedPrice.TransactedPriceBuilderImpl
extends Object
implements TransactedPrice.TransactedPriceBuilder
Builder Implementation of TransactedPrice
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.observable.asset.TransactedPrice
TransactedPrice.TransactedPriceBuilder, TransactedPrice.TransactedPriceBuilderImpl, TransactedPrice.TransactedPriceImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BigDecimalprotected BigDecimalprotected BigDecimalprotected QuotationStyleEnumFields inherited from interface cdm.observable.asset.TransactedPrice
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanAn optional element that contains the up-front points expressed as a percentage of the notional.An optional element that only has meaning in a credit index trade.An optional element that only has meaning in a credit index trade.An optional element that contains the up-front points expressed as a percentage of the notional.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setInitialPoints(BigDecimal _initialPoints) setMarketFixedRate(BigDecimal _marketFixedRate) setMarketPrice(BigDecimal _marketPrice) setQuotationStyle(QuotationStyleEnum _quotationStyle) 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, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosettaMethods inherited from interface cdm.observable.asset.TransactedPrice
getType, metaData, processMethods inherited from interface cdm.observable.asset.TransactedPrice.TransactedPriceBuilder
process
-
Field Details
-
marketFixedRate
-
initialPoints
-
marketPrice
-
quotationStyle
-
-
Constructor Details
-
TransactedPriceBuilderImpl
public TransactedPriceBuilderImpl()
-
-
Method Details
-
getMarketFixedRate
@RosettaAttribute("marketFixedRate") @RuneAttribute("marketFixedRate") public BigDecimal getMarketFixedRate()Description copied from interface:TransactedPriceAn optional element that only has meaning in a credit index trade. This element contains the credit spread ('fair value') at which the trade was executed. Unlike the fixedRate of an index, the marketFixedRate varies over the life of the index depending on market conditions. The marketFixedRate is the price of the index as quoted by trading desks.- Specified by:
getMarketFixedRatein interfaceTransactedPrice
-
getInitialPoints
@RosettaAttribute("initialPoints") @RuneAttribute("initialPoints") public BigDecimal getInitialPoints()Description copied from interface:TransactedPriceAn optional element that contains the up-front points expressed as a percentage of the notional. An initialPoints value of 5% would be represented as 0.05. The initialPoints element is an alternative to marketFixedRate in quoting the traded level of a trade. When initialPoints is used, the traded level is the sum of fixedRate and initialPoints. The initialPoints is one of the items that are factored into the initialPayment calculation and is payable by the Buyer to the Seller. Note that initialPoints and marketFixedRate may both be present in the same document when both implied values are desired.- Specified by:
getInitialPointsin interfaceTransactedPrice
-
getMarketPrice
Description copied from interface:TransactedPriceAn optional element that only has meaning in a credit index trade. This element contains the price at which the trade was executed and is used instead of marketFixedRate on credit trades on certain indicies which are quoted using a price rather than a spread.- Specified by:
getMarketPricein interfaceTransactedPrice
-
getQuotationStyle
@RosettaAttribute("quotationStyle") @RuneAttribute("quotationStyle") public QuotationStyleEnum getQuotationStyle()Description copied from interface:TransactedPriceAn optional element that contains the up-front points expressed as a percentage of the notional. An initialPoints value of 5% would be represented as 0.05. The initialPoints element is an alternative to marketFixedRate in quoting the traded level of a trade. When initialPoints is used, the traded level is the sum of fixedRate and initialPoints. The initialPoints is one of the items that are factored into the initialPayment calculation and is payable by the Buyer to the Seller. Note that initialPoints and marketFixedRate may both be present in the same document when both implied values are desired.- Specified by:
getQuotationStylein interfaceTransactedPrice
-
setMarketFixedRate
@RosettaAttribute("marketFixedRate") @RuneAttribute("marketFixedRate") public TransactedPrice.TransactedPriceBuilder setMarketFixedRate(BigDecimal _marketFixedRate) - Specified by:
setMarketFixedRatein interfaceTransactedPrice.TransactedPriceBuilder
-
setInitialPoints
@RosettaAttribute("initialPoints") @RuneAttribute("initialPoints") public TransactedPrice.TransactedPriceBuilder setInitialPoints(BigDecimal _initialPoints) - Specified by:
setInitialPointsin interfaceTransactedPrice.TransactedPriceBuilder
-
setMarketPrice
@RosettaAttribute("marketPrice") @RuneAttribute("marketPrice") public TransactedPrice.TransactedPriceBuilder setMarketPrice(BigDecimal _marketPrice) - Specified by:
setMarketPricein interfaceTransactedPrice.TransactedPriceBuilder
-
setQuotationStyle
@RosettaAttribute("quotationStyle") @RuneAttribute("quotationStyle") public TransactedPrice.TransactedPriceBuilder setQuotationStyle(QuotationStyleEnum _quotationStyle) - Specified by:
setQuotationStylein interfaceTransactedPrice.TransactedPriceBuilder
-
build
Description copied from interface:TransactedPriceBuild Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Specified by:
buildin interfaceTransactedPrice
-
toBuilder
- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Specified by:
toBuilderin interfaceTransactedPrice
-
prune
- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Specified by:
prunein interfaceTransactedPrice.TransactedPriceBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public TransactedPrice.TransactedPriceBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-