public final class APIMarket extends java.lang.Object implements IMessage, java.lang.Comparable<APIMarket>, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
MFFloat |
bigIncrement
The regular increment (defining precision).
|
int |
feedID
The ID of the feed to which this market pertains.
|
InstrumentType |
instrumentType
The instrument type of this market.
|
int |
marketID
A unique ID for this market.
|
MFFloat |
minIncrement
The minimum increment (defining granularity).
|
MFString |
name
The name of this instrument.
|
StandardTenor |
settlementDate
The settlement date as a standard tenor.
|
| Modifier | Constructor and Description |
|---|---|
|
APIMarket() |
|
APIMarket(int marketID,
MFString name,
int feedID,
MFFloat bigIncrement,
MFFloat minIncrement,
InstrumentType instrumentType,
StandardTenor settlementDate) |
protected |
APIMarket(ZeroGCProtoByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(APIMarket rhs) |
void |
deepCopy(APIMarket src) |
void |
deserializeZeroGC(ZeroGCProtoByteBuffer buffer) |
protected void |
dump(TextWriter wr) |
boolean |
equals(java.lang.Object rhs) |
int |
getMsgType() |
int |
hashCode() |
void |
serialize(ZeroGCProtoByteBuffer buffer) |
java.lang.String |
toString() |
public int marketID
public MFString name
public int feedID
public MFFloat bigIncrement
public MFFloat minIncrement
public InstrumentType instrumentType
public StandardTenor settlementDate
public APIMarket()
protected APIMarket(ZeroGCProtoByteBuffer buffer)
public APIMarket(int marketID,
MFString name,
int feedID,
MFFloat bigIncrement,
MFFloat minIncrement,
InstrumentType instrumentType,
StandardTenor settlementDate)
public int getMsgType()
getMsgType in interface IMessagepublic void deepCopy(APIMarket src)
public boolean equals(java.lang.Object rhs)
equals in class java.lang.Objectpublic int compareTo(APIMarket rhs)
compareTo in interface java.lang.Comparable<APIMarket>public int hashCode()
hashCode in class java.lang.Objectpublic void deserializeZeroGC(ZeroGCProtoByteBuffer buffer)
deserializeZeroGC in interface IMessagepublic void serialize(ZeroGCProtoByteBuffer buffer)
public java.lang.String toString()
protected void dump(TextWriter wr)