Classes Files

com::wombat::mamda::MamdaOrderImbalanceType

Public Functions

  Name
int getValue()
String toString()
boolean equals(MamdaOrderImbalanceType imbDataType)
MamdaOrderImbalanceType enumObjectForValue(int value)
String valueToString(int value)
int stringToValue(String type)
boolean isMamdaOrderImbalanceType(int value)
boolean isMamdaImbalanceOrder(int value)

Public Attributes

  Name
final int MARKET_IMBALANCE_BUY_VALUE
final MamdaOrderImbalanceType MARKET_IMBALANCE_BUY
final int MARKET_IMBALANCE_SELL_VALUE
final MamdaOrderImbalanceType MARKET_IMBALANCE_SELL
final int NO_MARKET_IMBALANCE_VALUE
final MamdaOrderImbalanceType NO_MARKET_IMBALANCE
final int MOC_IMBALANCE_BUY_VALUE
final MamdaOrderImbalanceType MOC_IMBALANCE_BUY
final int MOC_IMBALANCE_SELL_VALUE
final MamdaOrderImbalanceType MOC_IMBALANCE_SELL
final int NO_MOC_IMBALANCE_VALUE
final MamdaOrderImbalanceType NO_MOC_IMBALANCE
final int ORDER_IMB_VALUE
final MamdaOrderImbalanceType ORDER_IMB
final int ORDER_INF_VALUE
final MamdaOrderImbalanceType ORDER_INF
final int ORDER_IMBALANCE_BUY_VALUE
final MamdaOrderImbalanceType ORDER_IMBALANCE_BUY
final int ORDER_IMBALANCE_SELL_VALUE
final MamdaOrderImbalanceType ORDER_IMBALANCE_SELL
final int NO_ORDER_IMBALANCE_VALUE
final MamdaOrderImbalanceType NO_ORDER_IMBALANCE
final int UNKNOWN
final MamdaOrderImbalanceType TYPE_UNKNOWN

Public Functions Documentation

function getValue

inline int getValue()

Return: The integer type.

Returns the integer value for the type. This value can be used in switch statements against the public XXX_VALUE static members of the class.

function toString

inline String toString()

Return: Name for the type.

Returns the stringified name for the enumerated type.

function equals

inline boolean equals(
    MamdaOrderImbalanceType imbDataType
)

Parameters:

  • imbDataType The object to check equality against.

Return: Whether the two objects are equal.

Compare the two types for equality. Returns true if the integer value of both types is equal. Otherwise returns false.

function enumObjectForValue

static inline MamdaOrderImbalanceType enumObjectForValue(
    int value
)

Parameters:

Return: Instance of a MamdaOrderImbalanceType if a mapping exists.

Return an instance of a MamdaOrderImbalanceType corresponding to the specified integer value. Returns null if the integer value is not recognised.

function valueToString

static inline String valueToString(
    int value
)

Parameters:

Return: The string name value of the specified MamdaOrderImbalanceType value.

Utility method for mapping type integer values to corresponding string values.

Returns “UNKNOWN” is the int type value is not recognised.

function stringToValue

static inline int stringToValue(
    String type
)

function isMamdaOrderImbalanceType

static inline boolean isMamdaOrderImbalanceType(
    int value
)

function isMamdaImbalanceOrder

static inline boolean isMamdaImbalanceOrder(
    int value
)

Public Attributes Documentation

variable MARKET_IMBALANCE_BUY_VALUE

static final int MARKET_IMBALANCE_BUY_VALUE = 16;

MARKET_IMBALANCE_BUY

variable MARKET_IMBALANCE_BUY

static final MamdaOrderImbalanceType MARKET_IMBALANCE_BUY =
    new MamdaOrderImbalanceType (valueToString (MARKET_IMBALANCE_BUY_VALUE),
                                 MARKET_IMBALANCE_BUY_VALUE);

variable MARKET_IMBALANCE_SELL_VALUE

static final int MARKET_IMBALANCE_SELL_VALUE =17;

MARKET_IMBALANCE_SELL

variable MARKET_IMBALANCE_SELL

static final MamdaOrderImbalanceType MARKET_IMBALANCE_SELL =
    new MamdaOrderImbalanceType (valueToString (MARKET_IMBALANCE_SELL_VALUE),
                                 MARKET_IMBALANCE_SELL_VALUE);

variable NO_MARKET_IMBALANCE_VALUE

static final int NO_MARKET_IMBALANCE_VALUE = 18;

NO_MARKET_IMBALANCE

variable NO_MARKET_IMBALANCE

static final MamdaOrderImbalanceType NO_MARKET_IMBALANCE =
    new MamdaOrderImbalanceType (valueToString (NO_MARKET_IMBALANCE_VALUE),
                                 NO_MARKET_IMBALANCE_VALUE);

variable MOC_IMBALANCE_BUY_VALUE

static final int MOC_IMBALANCE_BUY_VALUE = 19;

MOC_IMBALANCE_BUY

variable MOC_IMBALANCE_BUY

static final MamdaOrderImbalanceType MOC_IMBALANCE_BUY =
    new MamdaOrderImbalanceType (valueToString (MOC_IMBALANCE_BUY_VALUE),
                                 MOC_IMBALANCE_BUY_VALUE);

variable MOC_IMBALANCE_SELL_VALUE

static final int MOC_IMBALANCE_SELL_VALUE = 20;

MOC_IMBALANCE_SELL

variable MOC_IMBALANCE_SELL

static final MamdaOrderImbalanceType MOC_IMBALANCE_SELL =
    new MamdaOrderImbalanceType (valueToString (MOC_IMBALANCE_SELL_VALUE),
                                 MOC_IMBALANCE_SELL_VALUE);

variable NO_MOC_IMBALANCE_VALUE

static final int NO_MOC_IMBALANCE_VALUE = 21;

NO_MOC_IMBALANCE

variable NO_MOC_IMBALANCE

static final MamdaOrderImbalanceType NO_MOC_IMBALANCE =
    new MamdaOrderImbalanceType (valueToString (NO_MOC_IMBALANCE_VALUE),
                                 NO_MOC_IMBALANCE_VALUE);

variable ORDER_IMB_VALUE

static final int ORDER_IMB_VALUE = 22;

ORDER_IMB

variable ORDER_IMB

static final MamdaOrderImbalanceType ORDER_IMB =
    new MamdaOrderImbalanceType (valueToString (ORDER_IMB_VALUE),
                                 ORDER_IMB_VALUE);

variable ORDER_INF_VALUE

static final int ORDER_INF_VALUE = 23;

ORDER_INF

variable ORDER_INF

static final MamdaOrderImbalanceType ORDER_INF =
    new MamdaOrderImbalanceType (valueToString (ORDER_INF_VALUE),
                                 ORDER_INF_VALUE);

variable ORDER_IMBALANCE_BUY_VALUE

static final int ORDER_IMBALANCE_BUY_VALUE = 24;

ORDER_IMBALANCE_BUY_VALUE

variable ORDER_IMBALANCE_BUY

static final MamdaOrderImbalanceType ORDER_IMBALANCE_BUY =
    new MamdaOrderImbalanceType (valueToString (ORDER_IMBALANCE_BUY_VALUE),
                                 ORDER_IMBALANCE_BUY_VALUE);

variable ORDER_IMBALANCE_SELL_VALUE

static final int ORDER_IMBALANCE_SELL_VALUE = 25;

ORDER_IMBALANCE_SELL_VALUE

variable ORDER_IMBALANCE_SELL

static final MamdaOrderImbalanceType ORDER_IMBALANCE_SELL =
    new MamdaOrderImbalanceType (valueToString (ORDER_IMBALANCE_SELL_VALUE),
                                 ORDER_IMBALANCE_SELL_VALUE);

variable NO_ORDER_IMBALANCE_VALUE

static final int NO_ORDER_IMBALANCE_VALUE = 26;

NO_ORDER_IMBALANCE

variable NO_ORDER_IMBALANCE

static final MamdaOrderImbalanceType NO_ORDER_IMBALANCE =
    new MamdaOrderImbalanceType(valueToString (NO_ORDER_IMBALANCE_VALUE),
                                NO_ORDER_IMBALANCE_VALUE);

variable UNKNOWN

static final int UNKNOWN = -99;

UKNOWN

variable TYPE_UNKNOWN

static final MamdaOrderImbalanceType TYPE_UNKNOWN =
    new MamdaOrderImbalanceType(valueToString (UNKNOWN),
                                UNKNOWN);

Updated on 2023-03-31 at 15:30:33 +0100