public class FIXField extends Object
Modifier and Type | Field and Description |
---|---|
static int |
JAVACALENDAR |
static int |
JAVADOUBLE |
static int |
JAVALONG |
static int |
JAVARAW |
static int |
JAVASTRING |
Modifier | Constructor and Description |
---|---|
|
FIXField(byte[] block,
FIXVersion fixVersion) |
|
FIXField(FIXField fixField) |
protected |
FIXField(int tagNum,
byte[] val) |
|
FIXField(int tagNum,
byte[] valueAr,
FIXVersion fixVersion) |
|
FIXField(int tagNum,
byte[] valueAr,
FIXVersion fixVersion,
boolean validate) |
protected |
FIXField(int tagNum,
byte[] buf,
int off,
int len) |
protected |
FIXField(int tagNum,
byte[] buf,
int off,
int len,
boolean isValidate) |
protected |
FIXField(int tagNum,
Calendar val) |
|
FIXField(int tagNum,
Calendar value,
FIXVersion fixVersion) |
protected |
FIXField(int tagNum,
double val) |
protected |
FIXField(int tagNum,
Double value) |
protected |
FIXField(int tagNum,
double val,
boolean validate) |
|
FIXField(int tagNum,
double value,
FIXVersion fixVersion) |
|
FIXField(int tagNum,
Double value,
FIXVersion fixVersion) |
|
FIXField(int tagNum,
double value,
FIXVersion fixVersion,
boolean validate) |
protected |
FIXField(int tagNum,
Float value) |
|
FIXField(int tagNum,
Float value,
FIXVersion fixVersion) |
protected |
FIXField(int tagNum,
Integer value) |
|
FIXField(int tagNum,
Integer value,
FIXVersion fixVersion) |
protected |
FIXField(int tagNum,
long val) |
protected |
FIXField(int tagNum,
Long value) |
protected |
FIXField(int tagNum,
long val,
boolean validate) |
|
FIXField(int tagNum,
long value,
FIXVersion fixVersion) |
|
FIXField(int tagNum,
Long value,
FIXVersion fixVersion) |
|
FIXField(int tagNum,
long value,
FIXVersion fixVersion,
boolean validate) |
protected |
FIXField(int tagNum,
String val) |
protected |
FIXField(int tagNum,
String val,
boolean validate) |
|
FIXField(int tagNum,
String value,
FIXVersion fixVersion) |
|
FIXField(int tagNum,
String value,
FIXVersion fixVersion,
boolean validate) |
|
FIXField(String block,
FIXVersion fixVersion) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static int |
FIXType2JAVAType(int dataType) |
int |
getDataType() |
Calendar |
getDateTimeValue() |
Double |
getDoubleObjValue() |
double |
getDoubleValue() |
Long |
getLongObjValue() |
long |
getLongValue() |
byte[] |
getRawValue() |
String |
getStringValue() |
int |
getTag() |
byte[] |
getValueAsBlock() |
protected int |
getValueAsBlock(byte[] buf,
int off) |
String |
getValueAsString() |
protected int |
getValueLength() |
protected boolean |
isValueAsBlockEquals(byte[] buf,
int off,
int len) |
void |
setDateTimeValue(Calendar val) |
void |
setDoubleValue(double val) |
void |
setDoubleValue(double val,
boolean validate) |
void |
setLongValue(long val) |
void |
setLongValue(long val,
boolean validate) |
void |
setRawValue(byte[] val) |
void |
setStringValue(String val) |
void |
setStringValue(String val,
boolean validate) |
void |
setValueFromBlock(byte[] val) |
void |
setValueFromBlock(byte[] buf,
int off,
int len) |
protected void |
setValueFromBlock(byte[] buf,
int off,
int len,
boolean isValidate) |
void |
setValueFromString(String strVal) |
byte[] |
toFIXBlock() |
String |
toFIXString() |
String |
toString() |
protected void |
validate(byte[] buf,
int off,
int len) |
public static final int JAVASTRING
public static final int JAVALONG
public static final int JAVADOUBLE
public static final int JAVACALENDAR
public static final int JAVARAW
public FIXField(FIXField fixField)
public FIXField(int tagNum, String value, FIXVersion fixVersion, boolean validate)
public FIXField(int tagNum, long value, FIXVersion fixVersion, boolean validate) throws FIXMessageException
FIXMessageException
public FIXField(int tagNum, double value, FIXVersion fixVersion, boolean validate) throws FIXMessageException
FIXMessageException
public FIXField(byte[] block, FIXVersion fixVersion) throws FIXMessageException
FIXMessageException
public FIXField(int tagNum, byte[] valueAr, FIXVersion fixVersion) throws FIXMessageException
FIXMessageException
public FIXField(int tagNum, long value, FIXVersion fixVersion) throws FIXMessageException
FIXMessageException
public FIXField(int tagNum, double value, FIXVersion fixVersion) throws FIXMessageException
FIXMessageException
public FIXField(int tagNum, String value, FIXVersion fixVersion) throws FIXMessageException
FIXMessageException
public FIXField(int tagNum, Calendar value, FIXVersion fixVersion) throws FIXMessageException
FIXMessageException
public FIXField(int tagNum, Double value, FIXVersion fixVersion) throws FIXMessageException
FIXMessageException
public FIXField(int tagNum, Float value, FIXVersion fixVersion) throws FIXMessageException
FIXMessageException
public FIXField(int tagNum, Integer value, FIXVersion fixVersion) throws FIXMessageException
FIXMessageException
public FIXField(int tagNum, Long value, FIXVersion fixVersion) throws FIXMessageException
FIXMessageException
public FIXField(String block, FIXVersion fixVersion) throws FIXMessageException
FIXMessageException
protected FIXField(int tagNum, byte[] val) throws FIXMessageException
FIXMessageException
protected FIXField(int tagNum, byte[] buf, int off, int len) throws FIXMessageException
FIXMessageException
protected FIXField(int tagNum, byte[] buf, int off, int len, boolean isValidate) throws FIXMessageException
FIXMessageException
protected FIXField(int tagNum, long val) throws FIXMessageException
FIXMessageException
protected FIXField(int tagNum, double val) throws FIXMessageException
FIXMessageException
protected FIXField(int tagNum, long val, boolean validate) throws FIXMessageException
FIXMessageException
protected FIXField(int tagNum, double val, boolean validate) throws FIXMessageException
FIXMessageException
protected FIXField(int tagNum, String val) throws FIXMessageException
FIXMessageException
protected FIXField(int tagNum, String val, boolean validate) throws FIXMessageException
FIXMessageException
protected FIXField(int tagNum, Calendar val) throws FIXMessageException
FIXMessageException
protected FIXField(int tagNum, Double value) throws FIXMessageException
FIXMessageException
protected FIXField(int tagNum, Float value) throws FIXMessageException
FIXMessageException
protected FIXField(int tagNum, Integer value) throws FIXMessageException
FIXMessageException
protected FIXField(int tagNum, Long value) throws FIXMessageException
FIXMessageException
public FIXField(int tagNum, byte[] valueAr, FIXVersion fixVersion, boolean validate)
public void setDateTimeValue(Calendar val) throws FIXMessageException
FIXMessageException
public Calendar getDateTimeValue() throws FIXMessageException
FIXMessageException
public void setDoubleValue(double val) throws FIXMessageException
FIXMessageException
public void setDoubleValue(double val, boolean validate) throws FIXMessageException
FIXMessageException
public double getDoubleValue() throws FIXMessageException
FIXMessageException
public Double getDoubleObjValue() throws FIXMessageException
FIXMessageException
public void setLongValue(long val) throws FIXMessageException
FIXMessageException
public void setLongValue(long val, boolean validate) throws FIXMessageException
FIXMessageException
public long getLongValue() throws FIXMessageException
FIXMessageException
public Long getLongObjValue() throws FIXMessageException
FIXMessageException
public void setRawValue(byte[] val) throws FIXMessageException
FIXMessageException
public byte[] getRawValue() throws FIXMessageException
FIXMessageException
public void setStringValue(String val) throws FIXMessageException
FIXMessageException
public void setStringValue(String val, boolean validate) throws FIXMessageException
FIXMessageException
public String getStringValue() throws FIXMessageException
FIXMessageException
public int getTag()
public int getDataType()
protected int getValueLength()
public String getValueAsString()
public byte[] getValueAsBlock()
protected int getValueAsBlock(byte[] buf, int off)
protected void setValueFromBlock(byte[] buf, int off, int len, boolean isValidate) throws FIXMessageException
FIXMessageException
public void setValueFromString(String strVal) throws FIXMessageException
FIXMessageException
public void setValueFromBlock(byte[] val) throws FIXMessageException
FIXMessageException
public void setValueFromBlock(byte[] buf, int off, int len) throws FIXMessageException
FIXMessageException
protected boolean isValueAsBlockEquals(byte[] buf, int off, int len)
protected void validate(byte[] buf, int off, int len) throws FIXMessageException
FIXMessageException
public byte[] toFIXBlock()
public String toFIXString()
public static int FIXType2JAVAType(int dataType)
Copyright © 2000–2022 EPAM Systems. All rights reserved.