public class ComponentMultiMeasureQuote extends ComponentQuote
NULL_SER_STRING, VERSION
Constructor and Description |
---|
ComponentMultiMeasureQuote()
Constructs an empty component quote from the component
|
ComponentMultiMeasureQuote(byte[] ab)
ComponentMultiMeasureQuote de-serialization from input byte array
|
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
|
Serializer |
deserialize(byte[] ab)
De-serialize from a byte array.
|
java.lang.String |
getFieldDelimiter()
Returns the Field Delimiter String
|
Quote |
getMarketQuote()
Return the market quote object
|
java.lang.String |
getMarketQuoteField()
Retrieve the market quote field
|
java.lang.String |
getObjectTrailer()
Returns the Object Trailer String
|
Quote |
getQuote(java.lang.String strQuoteField)
Get the Quote for the given Field
|
static void |
main(java.lang.String[] astrArgs) |
boolean |
removeMarketQuote()
Remove the market quote
|
boolean |
removeQuote(java.lang.String strQuoteField)
Remove the named Quote
|
byte[] |
serialize()
Serialize into a byte array.
|
boolean |
setMarketQuote(java.lang.String strMarketQuoteField,
Quote q)
Set the market quote for the component
|
getCollectionKeyValueDelimiter, getCollectionMultiLevelKeyDelimiter, getCollectionRecordDelimiter
public ComponentMultiMeasureQuote()
public ComponentMultiMeasureQuote(byte[] ab) throws java.lang.Exception
ab
- Byte Arrayjava.lang.Exception
- Thrown if ComponentMultiMeasureQuote cannot be properly de-serializedpublic void addQuote(java.lang.String strQuoteField, Quote q, boolean bIsMarketQuote)
ComponentQuote
addQuote
in class ComponentQuote
strQuoteField
- The quote fieldq
- Quote to be addedbIsMarketQuote
- Whether the quote is a market quotepublic boolean setMarketQuote(java.lang.String strMarketQuoteField, Quote q)
ComponentQuote
setMarketQuote
in class ComponentQuote
strMarketQuoteField
- Market Quote fieldq
- Quotepublic boolean removeMarketQuote()
ComponentQuote
removeMarketQuote
in class ComponentQuote
public Quote getQuote(java.lang.String strQuoteField)
ComponentQuote
getQuote
in class ComponentQuote
strQuoteField
- Field Namepublic Quote getMarketQuote()
ComponentQuote
getMarketQuote
in class ComponentQuote
public java.lang.String getMarketQuoteField()
ComponentQuote
getMarketQuoteField
in class ComponentQuote
public boolean removeQuote(java.lang.String strQuoteField)
ComponentQuote
removeQuote
in class ComponentQuote
strQuoteField
- Named Quote Fieldpublic java.lang.String getFieldDelimiter()
Serializer
getFieldDelimiter
in class Serializer
public java.lang.String getObjectTrailer()
Serializer
getObjectTrailer
in class Serializer
public byte[] serialize()
Serializer
serialize
in class Serializer
public Serializer deserialize(byte[] ab)
Serializer
deserialize
in class Serializer
public static void main(java.lang.String[] astrArgs) throws java.lang.Exception
java.lang.Exception