Looping through attributes of object

4
Is it possible to loop through all attributes (plus associations) of an entity/object in order to filter the none empty/null ones?
asked
2 answers
8

Using a java action, this is quite simple. An IMendixObject has several methods for this. For example

Map<String, ? extends IMendixObjectMember<?>> members = object.getMembers(this.getContext());
for(String key : members.keySet()) {
    IMendixObjectMember<?> m = members.get(key); ....
answered
-6

Using a java action, this is quite simple. An IMendixObject has several methods for this. For example

Map<String, ? extends IMendixObjectMember<?>> members = object.getMembers(this.getContext());
for(String key : members.keySet()) {
    IMendixObjectMember<?> m = members.get(key); ....
answered