Mendix Runtime
Documentation for the Mendix Runtime Environment API
|
Inherits MendixObjectMember< String >.
Public Member Functions | |
MendixEnum (String name, IMetaEnumeration enumeration) | |
MendixEnum (String name, boolean v, String virtualActionName, IMetaEnumeration enumeration) | |
void | setValue (IContext context, String identifier) |
void | setValue (IContext context, String identifier, boolean performValidation) |
IMetaEnumeration | getEnumeration () |
boolean | isValid (@SuppressWarnings("unused") IContext context, String identifier) |
String | getValueFromString (String s) |
void | parseInitialValueFromString (String s) |
Enum primitive, Should be initialized with the possible options
com.mendix.core.objectmanagement.member.MendixEnum.MendixEnum | ( | String | name, |
IMetaEnumeration | enumeration | ||
) |
Creates MendixEnum with the given possible options
name | the name of the enum |
enumeration |
com.mendix.core.objectmanagement.member.MendixEnum.MendixEnum | ( | String | name, |
boolean | v, | ||
String | virtualActionName, | ||
IMetaEnumeration | enumeration | ||
) |
Creates MendixEnum with the given possible options and virtual settings
name | the enumeration name. |
v | boolean defining whether this primitive is virtual or not |
virtualActionName | the CoreAction which will be called when using getValue |
enumeration |
CoreException |
IMetaEnumeration com.mendix.core.objectmanagement.member.MendixEnum.getEnumeration | ( | ) |
String com.mendix.core.objectmanagement.member.MendixEnum.getValueFromString | ( | String | s | ) |
boolean com.mendix.core.objectmanagement.member.MendixEnum.isValid | ( | @SuppressWarnings("unused") IContext | context, |
String | identifier | ||
) |
Returns whether the given value is a valid value of this enum.
context | the context |
identifier | the identifier |
void com.mendix.core.objectmanagement.member.MendixEnum.parseInitialValueFromString | ( | String | s | ) |
void com.mendix.core.objectmanagement.member.MendixEnum.setValue | ( | IContext | context, |
String | identifier | ||
) |
void com.mendix.core.objectmanagement.member.MendixEnum.setValue | ( | IContext | context, |
String | identifier, | ||
boolean | performValidation | ||
) |