Name | |
---|---|
String | toString() |
int | getValue() |
boolean | equals(MamaMdDataType appDataType) |
String | valueToString(int value) |
MamaMdDataType | enumObjectForValue(int value) |
Name | |
---|---|
final int | STANDARD_VALUE |
final MamaMdDataType | STANDARD |
final int | ORDER_BOOK_VALUE |
final MamaMdDataType | ORDER_BOOK |
final int | NEWS_STORY_VALUE |
final MamaMdDataType | NEWS_STORY |
final int | WORLDVIEW_VALUE |
final MamaMdDataType | WORLDVIEW |
final int | PROPERTY_VALUE |
final MamaMdDataType | PROPERTY |
final int | USAGE_LOG_VALUE |
final MamaMdDataType | USAGE_LOG |
final int | NEWS_QUERY_VALUE |
final MamaMdDataType | NEWS_QUERY |
final int | TEMPLATE_VALUE |
final MamaMdDataType | TEMPLATE |
inline String toString()
Return: Name for the type.
Returns the stringified name for the enumerated type.
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.
inline boolean equals(
MamaMdDataType appDataType
)
Parameters:
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.
static inline String valueToString(
int value
)
Parameters:
Return: The string name value of the specified MamaMdDataType integer value.
Utility method for mapping type integer values to corresponding string values.
Returns “UNKNOWN” is the int type value is not recognised.
static inline MamaMdDataType enumObjectForValue(
int value
)
Parameters:
Return: Instance of a MamaMdDataType if a mapping exists.
Return an instance of a MamaMdDataType corresponding to the specified integer value. Returns null if the integer value is not recognised.
static final int STANDARD_VALUE = 0;
static final MamaMdDataType STANDARD = new MamaMdDataType
(valueToString (STANDARD_VALUE), STANDARD_VALUE);
static final int ORDER_BOOK_VALUE = 1;
static final MamaMdDataType ORDER_BOOK = new MamaMdDataType
(valueToString (ORDER_BOOK_VALUE), ORDER_BOOK_VALUE);
static final int NEWS_STORY_VALUE = 2;
static final MamaMdDataType NEWS_STORY = new MamaMdDataType
(valueToString (NEWS_STORY_VALUE), NEWS_STORY_VALUE);
static final int WORLDVIEW_VALUE = 3;
static final MamaMdDataType WORLDVIEW = new MamaMdDataType
(valueToString (WORLDVIEW_VALUE), WORLDVIEW_VALUE);
static final int PROPERTY_VALUE = 4;
static final MamaMdDataType PROPERTY = new MamaMdDataType
(valueToString (PROPERTY_VALUE), PROPERTY_VALUE);
static final int USAGE_LOG_VALUE = 5;
static final MamaMdDataType USAGE_LOG = new MamaMdDataType
(valueToString (USAGE_LOG_VALUE), USAGE_LOG_VALUE);
static final int NEWS_QUERY_VALUE = 6;
static final MamaMdDataType NEWS_QUERY = new MamaMdDataType
(valueToString (NEWS_QUERY_VALUE), NEWS_QUERY_VALUE);
static final int TEMPLATE_VALUE = 7;
static final MamaMdDataType TEMPLATE = new MamaMdDataType
(valueToString (TEMPLATE_VALUE), TEMPLATE_VALUE);
Updated on 2023-03-31 at 15:29:43 +0100