Interface MendixEnum
- All Superinterfaces:
 IMendixObjectMember<String>
Provides the interface for a Mendix attribute with type Enumeration.
- 
Nested Class Summary
Nested classes/interfaces inherited from interface com.mendix.systemwideinterfaces.core.IMendixObjectMember
IMendixObjectMember.MemberState, IMendixObjectMember.MemberValueState - 
Method Summary
Modifier and TypeMethodDescriptionReturns the corresponding enumeration type for this attribute.getValueFromString(String stringValue) If stringValue is empty or null returns null otherwise returns stringValue.Deprecated.since 18.10.booleanReturns whether the specified identifier is a valid enumeration value of this enumeration.Methods inherited from interface com.mendix.systemwideinterfaces.core.IMendixObjectMember
getMemberValueState, getName, getOriginalValue, getState, getValue, hasReadAccess, hasWriteAccess, isChanged, isValueChanged, isVirtual, parseValueFromString, parseValueToString, setValue, setValue, toString 
- 
Method Details
- 
getEnumeration
IMetaEnumeration getEnumeration()Returns the corresponding enumeration type for this attribute.- Returns:
 - the enumeration type
 
 - 
isValid
Deprecated.since 18.10. UseisValid(String identifier)Returns whether the specified identifier is a valid enumeration value for this attribute.- Parameters:
 context- the context for accessing the attributeidentifier- the enumeration value to check- Returns:
 - true if the identifier is valid; false otherwise
 
 - 
isValid
Returns whether the specified identifier is a valid enumeration value of this enumeration.- Parameters:
 identifier- the enumeration value to check- Returns:
 - true if the identifier is valid; false otherwise
 
 - 
getValueFromString
If stringValue is empty or null returns null otherwise returns stringValue.- Specified by:
 getValueFromStringin interfaceIMendixObjectMember<String>- Parameters:
 stringValue- the string to parse- Returns:
 - the parsed value
 
 
 -