Interface MendixEnum

All Superinterfaces:
IMendixObjectMember<String>

public interface MendixEnum extends IMendixObjectMember<String>
Provides the interface for a Mendix attribute with type Enumeration.
  • Method Details

    • getEnumeration

      IMetaEnumeration getEnumeration()
      Returns the corresponding enumeration type for this attribute.
      Returns:
      the enumeration type
    • isValid

      @Deprecated Boolean isValid(IContext context, String identifier)
      Deprecated.
      Returns whether the specified identifier is a valid enumeration value for this attribute.
      Parameters:
      context - the context for accessing the attribute
      identifier - the enumeration value to check
      Returns:
      true if the identifier is valid; false otherwise
    • isValid

      boolean isValid(String identifier)
      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