public class CustomField<T>
extends quickfix.Field<T>
| Constructor and Description |
|---|
CustomField(int i,
T inObject)
Create a new CustomField instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static CustomField<?> |
getCustomField(String inName)
Fields are treated as custom when the header name is not "standard" and
the name can be parsed as an int.
|
int |
hashCode() |
Object |
parseMessageValue(String inValue)
Custom field interprets the message the following way:
1.
|
String |
toString() |
public CustomField(int i,
T inObject)
i - an int valueinObject - a T valuepublic Object parseMessageValue(String inValue)
BigDecimal, return a BigDecimal
3. else, return a StringinValue - Field value we are interpretingpublic int hashCode()
hashCode in class quickfix.Field<T>public static CustomField<?> getCustomField(String inName) throws OrderParsingException
inName - OrderParsingExceptionCopyright © 2014. All Rights Reserved.