Vielen Dank – der Ansatz hat mir sehr geholfen. Leider findet der Compiler die Methode „getEntityField“ im AttributeCache nicht. Ich habe es ein bißchen umgestellt – jetzt läuft es. Danke nochmals!!!
Integer objectId = server.getObjectId();
CollectableEntityField entityField = new org.nuclos.common.genericobject.CollectableGenericObjectEntityField(AttributeCache.getInstance().getAttribute("person", "formofaddress"));
CollectableComparison condition = new CollectableComparison(entityField, ComparisonOperator.EQUAL, new CollectableValueIdField(objectId, ""));
Collection persons = server.getGenericObjectIds("person", condition);