com.btobits.fixengine
Class FIXVersion

java.lang.Object
  extended by com.btobits.fixengine.FIXVersion

public final class FIXVersion
extends Object


Field Summary
static FIXVersion FIX40
           
static FIXVersion FIX41
           
static FIXVersion FIX42
           
static FIXVersion FIX43
           
static FIXVersion FIX44
           
 
Method Summary
static Enumeration getFIXVersionEnum()
           
static FIXVersion getInstanceByMessageVersion(String messageVersion)
          Return FIXVersion by weird messageVersion string (e.g.: FIX.4.0, FIX.4.1)
static FIXVersion getInstanceByVersion(String version)
          Return FIXVersion by version string (e.g.
 String getMessageVersion()
          Return weird messageVersion representation e.g.: FIX.4.0, FIX.4.1
 String getVersion()
          Return version representation as string e.g.
 boolean isAbove(FIXVersion fixVersion)
           
 boolean isBelow(FIXVersion fixVersion)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FIX40

public static final FIXVersion FIX40

FIX41

public static final FIXVersion FIX41

FIX42

public static final FIXVersion FIX42

FIX43

public static final FIXVersion FIX43

FIX44

public static final FIXVersion FIX44
Method Detail

getVersion

public String getVersion()
Return version representation as string e.g.:fix40, fix41

Returns:
version value

getMessageVersion

public String getMessageVersion()
Return weird messageVersion representation e.g.: FIX.4.0, FIX.4.1

Returns:
messageVersion

getInstanceByMessageVersion

public static FIXVersion getInstanceByMessageVersion(String messageVersion)
Return FIXVersion by weird messageVersion string (e.g.: FIX.4.0, FIX.4.1)

Returns:
FIXVersion

getInstanceByVersion

public static FIXVersion getInstanceByVersion(String version)
Return FIXVersion by version string (e.g.:fix40, fix41)

Returns:
FIXVersion

getFIXVersionEnum

public static Enumeration getFIXVersionEnum()

toString

public String toString()
Overrides:
toString in class Object

isAbove

public boolean isAbove(FIXVersion fixVersion)

isBelow

public boolean isBelow(FIXVersion fixVersion)


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.