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.Deprecated.since 18.10.boolean
Returns 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, getValueFromString, hasReadAccess, hasWriteAccess, 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
-