Package com.btobits.fixengine
Class FIXField
java.lang.Object
com.btobits.fixengine.FIXField
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionFIXField(byte[] block, FIXVersion fixVersion) protectedFIXField(int tagNum, byte[] val) protectedFIXField(int tagNum, byte[] buf, int off, int len) protectedFIXField(int tagNum, byte[] buf, int off, int len, boolean isValidate) FIXField(int tagNum, byte[] valueAr, FIXVersion fixVersion) FIXField(int tagNum, byte[] valueAr, FIXVersion fixVersion, boolean validate) protectedFIXField(int tagNum, double val) protectedFIXField(int tagNum, double val, boolean validate) FIXField(int tagNum, double value, FIXVersion fixVersion) FIXField(int tagNum, double value, FIXVersion fixVersion, boolean validate) protectedFIXField(int tagNum, long val) protectedFIXField(int tagNum, long val, boolean validate) FIXField(int tagNum, long value, FIXVersion fixVersion) FIXField(int tagNum, long value, FIXVersion fixVersion, boolean validate) protectedFIXField(int tagNum, Double value, FIXVersion fixVersion) protectedFIXField(int tagNum, Float value, FIXVersion fixVersion) protectedFIXField(int tagNum, Integer value, FIXVersion fixVersion) protectedFIXField(int tagNum, Long value, FIXVersion fixVersion) protectedprotectedFIXField(int tagNum, String value, FIXVersion fixVersion) FIXField(int tagNum, String value, FIXVersion fixVersion, boolean validate) protectedFIXField(int tagNum, Calendar value, FIXVersion fixVersion) FIXField(String block, FIXVersion fixVersion) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic intFIXType2JAVAType(int dataType) intdoublelongbyte[]intgetTag()byte[]protected intgetValueAsBlock(byte[] buf, int off) protected intinthashCode()protected booleanisValueAsBlockEquals(byte[] buf, int off, int len) voidsetDateTimeValue(Calendar val) voidsetDoubleValue(double val) voidsetDoubleValue(double val, boolean validate) voidsetLongValue(long val) voidsetLongValue(long val, boolean validate) voidsetRawValue(byte[] val) voidsetStringValue(String val) voidsetStringValue(String val, boolean validate) voidsetValueFromBlock(byte[] val) voidsetValueFromBlock(byte[] buf, int off, int len) protected voidsetValueFromBlock(byte[] buf, int off, int len, boolean isValidate) voidsetValueFromString(String strVal) byte[]toString()protected voidvalidate(byte[] buf, int off, int len)
-
Field Details
-
JAVASTRING
public static final int JAVASTRING- See Also:
-
JAVALONG
public static final int JAVALONG- See Also:
-
JAVADOUBLE
public static final int JAVADOUBLE- See Also:
-
JAVACALENDAR
public static final int JAVACALENDAR- See Also:
-
JAVARAW
public static final int JAVARAW- See Also:
-
-
Constructor Details
-
FIXField
-
FIXField
-
FIXField
public FIXField(int tagNum, long value, FIXVersion fixVersion, boolean validate) throws FIXMessageException - Throws:
FIXMessageException
-
FIXField
public FIXField(int tagNum, double value, FIXVersion fixVersion, boolean validate) throws FIXMessageException - Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
protected FIXField(int tagNum, byte[] buf, int off, int len, boolean isValidate) throws FIXMessageException - Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
- Throws:
FIXMessageException
-
FIXField
-
-
Method Details
-
setDateTimeValue
- Throws:
FIXMessageException
-
getDateTimeValue
- Throws:
FIXMessageException
-
setDoubleValue
- Throws:
FIXMessageException
-
setDoubleValue
- Throws:
FIXMessageException
-
getDoubleValue
- Throws:
FIXMessageException
-
getDoubleObjValue
- Throws:
FIXMessageException
-
setLongValue
- Throws:
FIXMessageException
-
setLongValue
- Throws:
FIXMessageException
-
getLongValue
- Throws:
FIXMessageException
-
getLongObjValue
- Throws:
FIXMessageException
-
setRawValue
- Throws:
FIXMessageException
-
getRawValue
- Throws:
FIXMessageException
-
setStringValue
- Throws:
FIXMessageException
-
setStringValue
- Throws:
FIXMessageException
-
getStringValue
- Throws:
FIXMessageException
-
getTag
public int getTag() -
getDataType
public int getDataType() -
getValueLength
protected int getValueLength() -
getValueAsString
-
getValueAsBlock
public byte[] getValueAsBlock() -
getValueAsBlock
protected int getValueAsBlock(byte[] buf, int off) -
setValueFromBlock
protected void setValueFromBlock(byte[] buf, int off, int len, boolean isValidate) throws FIXMessageException - Throws:
FIXMessageException
-
setValueFromString
- Throws:
FIXMessageException
-
setValueFromBlock
- Throws:
FIXMessageException
-
setValueFromBlock
- Throws:
FIXMessageException
-
isValueAsBlockEquals
protected boolean isValueAsBlockEquals(byte[] buf, int off, int len) -
validate
- Throws:
FIXMessageException
-
toFIXBlock
public byte[] toFIXBlock() -
toFIXString
-
toString
-
equals
-
hashCode
public int hashCode() -
FIXType2JAVAType
public static int FIXType2JAVAType(int dataType)
-