Interface MendixEnum
-
- All Superinterfaces:
IMendixObjectMember<java.lang.String>
public interface MendixEnum extends IMendixObjectMember<java.lang.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IMetaEnumerationgetEnumeration()Returns the corresponding enumeration type for this attribute.java.lang.BooleanisValid(IContext context, java.lang.String identifier)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 Detail
-
getEnumeration
IMetaEnumeration getEnumeration()
Returns the corresponding enumeration type for this attribute.- Returns:
- the enumeration type
-
isValid
java.lang.Boolean isValid(IContext context, java.lang.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
-
-