HelperUtils
Overview
Here you can find various Java codes that will handle different repetitive utilities in Mendix that currently do not exist.
Documentation
Description
Helper Utils is a multifunctional module for Mendix designed to provide a set of reusable Java actions for common development tasks.It includes utilities for list operations, enum conversions, string handling, and entity inheritance filtering.
Typical usage scenario
This module is useful for developers who need to perform common tasks in Mendix in an efficient and effective way.Typical scenarios include:
-
Converting between Enums and Lists.
-
Retrieving objects from lists by index or size.
-
Splitting strings using regular expressions.
-
Filtering object lists by sub-meta types in inheritance structures.
-
Checking whether an object belongs to a specific sub-meta type.
Features and limitations
Features
-
Conversion from Enum to List and vice versa.
-
Function to obtain the size of a list.
-
Function to retrieve an object from a list by index.
-
Function to split by regular expressions.
-
Filter List By Meta Object – filters a mixed object list (base entity + specializations) by the specified meta type.
-
IsSubMetaObject? – checks if an object’s concrete meta type matches the specified sub-meta type.
Limitations
-
Limited handling of custom or complex data types.
-
Filtering actions only make sense when the base entity has specializations; without them, sub-meta checks will always resolve to the base type.
Dependencies [optional]
- Mendix 10.0.0
Installation [optional]
Installation from the Marketplace
Configuration [optional]
There are no additional steps for the configuration of this module.
Known bugs [optional]
To date, there are no known bugs.