elements.add(reference.getObject());
Person person = reference.getObject();  if (person != null) { elements.add(person); }
    public Set<Person> getElements() {        Set<Person> elements = super.buildSet();                for (DomainReference<Person> reference : this.persons) {            elements.add(reference.getObject());        }                return super.freezeSet(elements);    }