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.Returns whether the specified identifier is a valid enumeration value for this attribute.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
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
-