com.teraspaces.qwfix
Class FIXDataType

java.lang.Object
  extended by com.teraspaces.qwfix.FIXDataType

public final class FIXDataType
extends Object

Lists all FIX data types in FIX protocol versions from 4.0 to 5.0+.


Field Summary
static String Amt
          FIX Amt data type.
static String Boolean
          FIX Boolean data type.
static String Char
          FIX char data type.
static String Country
          FIX Country data type.
static String Currency
          FIX Currency data type.
static String Data
          FIX data data type.
static String Date
          FIX date data type.
static String DayOfMonth
          FIX day-of-month data type.
static String Exchange
          FIX Exchange data type.
static String Float
          FIX float data type.
static String Int
          FIX int data type.
static String Length
          FIX Length data type.
static String LocalMktDate
          FIX LocalMktDate data type.
static String MonthYear
          FIX month-year data type.
static String MonthYear50
          FIX month-year data type.
static String MultipleCharValue
          FIX string field containing one or more space delimited single character values.
static String MultipleStringValue
          FIX string field containing one or more space delimited multiple character values.
static String MultipleValueString
          FIX MultipleValueString data type.
static String NumInGroup
          FIX NumInGroup data type.
static String Percentage
          FIX Percentage data type.
static String Price
          FIX Price data type.
static String PriceOffset
          FIX PriceOffset data type.
static String Qty
          FIX Qty data type.
static String SeqNum
          FIX SeqNum data type.
static String String
          FIX String data type.
static String TagNum
          FIX TagNum data type.
static String Time
          FIX time data type.
static String TZTimeOnly
          FIX string field representing the time represented based on ISO 8601.
static String TZTimestamp
          FIX string field representing a time/date combination representing local time with an offset to UTC to allow identification of local time and timezone offset of that time.
static String UtcDate
          FIX UTCDate data type.
static String UtcDateOnly
          FIX UTCDateOnly data type.
static String UtcTimeOnly
          FIX UTCTimeOnly data type.
static String UtcTimestamp
          FIX UTCTimeOnly data type.
static String XMLData
          Contains an XML document raw data with no format or content restrictions.
 
Constructor Summary
FIXDataType()
           
 
Method Summary
static String[] getAllTypes()
          Gets the all types.
static String[] getDataTypes(FIXVersion version)
          Gets the supported FIX data types by specified version.
static boolean isIntType(String type)
          Checks whether a given type name is derived from integer type.
static boolean isStringType(String type)
          Checks whether a given type name is derived from string type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Int

public static final String Int
FIX int data type. Supported version: 4.0 - 5.0+.

See Also:
Constant Field Values

Length

public static final String Length
FIX Length data type. Supported version: 4.2+.

See Also:
Constant Field Values

NumInGroup

public static final String NumInGroup
FIX NumInGroup data type. Supported version: 4.3+.

See Also:
Constant Field Values

SeqNum

public static final String SeqNum
FIX SeqNum data type. Supported version: 4.3+.

See Also:
Constant Field Values

TagNum

public static final String TagNum
FIX TagNum data type. Supported version: 4.3+.

See Also:
Constant Field Values

Amt

public static final String Amt
FIX Amt data type. Supported version: 4.2+.

See Also:
Constant Field Values

Percentage

public static final String Percentage
FIX Percentage data type. Supported version: 4.3+.

See Also:
Constant Field Values

Boolean

public static final String Boolean
FIX Boolean data type. Supported version: 4.2+.

See Also:
Constant Field Values

Char

public static final String Char
FIX char data type. Supported version: 4.2+.

See Also:
Constant Field Values

Data

public static final String Data
FIX data data type. Supported version: 4.0+.

See Also:
Constant Field Values

Float

public static final String Float
FIX float data type. Supported version: 4.0+.

See Also:
Constant Field Values

LocalMktDate

public static final String LocalMktDate
FIX LocalMktDate data type. Supported version: 4.2+.

See Also:
Constant Field Values

MonthYear

public static final String MonthYear
FIX month-year data type. Supported version: 4.2+.

See Also:
Constant Field Values

Price

public static final String Price
FIX Price data type. Supported version: 4.2+.

See Also:
Constant Field Values

PriceOffset

public static final String PriceOffset
FIX PriceOffset data type. Supported version: 4.2+.

See Also:
Constant Field Values

Qty

public static final String Qty
FIX Qty data type. Supported version: 4.2+.

See Also:
Constant Field Values

String

public static final String String
FIX String data type. Supported version: 4.0+.

See Also:
Constant Field Values

Date

public static final String Date
FIX date data type. Supported version: 4.0, 4.1.

See Also:
Constant Field Values

UtcDate

public static final String UtcDate
FIX UTCDate data type. Supported version: 4.2.

See Also:
Constant Field Values

UtcDateOnly

public static final String UtcDateOnly
FIX UTCDateOnly data type. Supported version: 4.3+.

See Also:
Constant Field Values

Time

public static final String Time
FIX time data type. Supported version: 4.0, 4.1.

See Also:
Constant Field Values

UtcTimeOnly

public static final String UtcTimeOnly
FIX UTCTimeOnly data type. Supported version: 4.3+.

See Also:
Constant Field Values

UtcTimestamp

public static final String UtcTimestamp
FIX UTCTimeOnly data type. Supported version: 4.2.

See Also:
Constant Field Values

MultipleValueString

public static final String MultipleValueString
FIX MultipleValueString data type. Supported version: 4.2+.

See Also:
Constant Field Values

Exchange

public static final String Exchange
FIX Exchange data type. Supported version: 4.3+.

See Also:
Constant Field Values

Currency

public static final String Currency
FIX Currency data type. Supported version: 4.3+.

See Also:
Constant Field Values

Country

public static final String Country
FIX Country data type. Supported version: 4.3+.

See Also:
Constant Field Values

DayOfMonth

public static final String DayOfMonth
FIX day-of-month data type. Supported version: 4.3+.

See Also:
Constant Field Values

TZTimeOnly

public static final String TZTimeOnly
FIX string field representing the time represented based on ISO 8601. Supported version: 5.0+.

See Also:
Constant Field Values

TZTimestamp

public static final String TZTimestamp
FIX string field representing a time/date combination representing local time with an offset to UTC to allow identification of local time and timezone offset of that time. The representation is based on ISO 8601. Supported version: 5.0+.

See Also:
Constant Field Values

MultipleCharValue

public static final String MultipleCharValue
FIX string field containing one or more space delimited single character values. Supported version: 5.0+.

See Also:
Constant Field Values

MultipleStringValue

public static final String MultipleStringValue
FIX string field containing one or more space delimited multiple character values. Supported version: 5.0+.

See Also:
Constant Field Values

MonthYear50

public static final String MonthYear50
FIX month-year data type. Supported version: 5.0+.

See Also:
Constant Field Values

XMLData

public static final String XMLData
Contains an XML document raw data with no format or content restrictions. XMLData fields are always immediately preceded by a length field.

See Also:
Constant Field Values
Constructor Detail

FIXDataType

public FIXDataType()
Method Detail

getAllTypes

public static String[] getAllTypes()
Gets the all types.

Returns:
the all types

getDataTypes

public static String[] getDataTypes(FIXVersion version)
Gets the supported FIX data types by specified version.

The returned array is always a copy. Modifying the contents of the returned array doesn't affect our system, even though it absolutely does not make sense to do so.

Parameters:
version - the FIX version
Returns:
the array of data types

isIntType

public static boolean isIntType(String type)
Checks whether a given type name is derived from integer type.

Parameters:
type - the type name
Returns:
true if the type is compatible to integer type; otherwise false.

isStringType

public static boolean isStringType(String type)
Checks whether a given type name is derived from string type.

Parameters:
type - the type name
Returns:
true if the type is compatible to string type; otherwise false.