public class ProductMultiMeasure extends ProductQuote
Constructor and Description |
---|
ProductMultiMeasure()
Construct an empty instance of ProductMultiMeasure
|
Modifier and Type | Method and Description |
---|---|
void |
addQuote(java.lang.String strQuoteField,
Quote q,
boolean bIsMarketQuote)
Add a regular or a market quote for the component
|
boolean |
containsQuote(java.lang.String strQuoteField)
Indicate if the named quote is available
|
Quote |
marketQuote()
Return the market quote object
|
java.lang.String |
marketQuoteField()
Retrieve the market quote field
|
Quote |
quote(java.lang.String strQuoteField)
Get the Quote for the given Field
|
boolean |
removeMarketQuote()
Remove the market quote
|
boolean |
removeQuote(java.lang.String strQuoteField)
Remove the named Quote
|
boolean |
setMarketQuote(java.lang.String strMarketQuoteField,
Quote q)
Set the market quote for the component
|
public ProductMultiMeasure()
public void addQuote(java.lang.String strQuoteField, Quote q, boolean bIsMarketQuote)
ProductQuote
addQuote
in class ProductQuote
strQuoteField
- The quote fieldq
- Quote to be addedbIsMarketQuote
- Whether the quote is a market quotepublic boolean setMarketQuote(java.lang.String strMarketQuoteField, Quote q)
ProductQuote
setMarketQuote
in class ProductQuote
strMarketQuoteField
- Market Quote fieldq
- Quotepublic boolean removeMarketQuote()
ProductQuote
removeMarketQuote
in class ProductQuote
public Quote quote(java.lang.String strQuoteField)
ProductQuote
quote
in class ProductQuote
strQuoteField
- Field Namepublic Quote marketQuote()
ProductQuote
marketQuote
in class ProductQuote
public java.lang.String marketQuoteField()
ProductQuote
marketQuoteField
in class ProductQuote
public boolean removeQuote(java.lang.String strQuoteField)
ProductQuote
removeQuote
in class ProductQuote
strQuoteField
- Named Quote Fieldpublic boolean containsQuote(java.lang.String strQuoteField)
ProductQuote
containsQuote
in class ProductQuote
strQuoteField
- The Quote Name