setSelection(NSKeyValueCoding.Utility.valueForKey(realSourceObject(), realRelationshipKey()));
Object object = realSourceObject(); String key = realRelationshipKey(); Object selection = NSKeyValueCoding.Utility.valueForKey(object,key); setSelection(selection);
    public Object selection() {        if (_selection == null) {            setSelection(NSKeyValueCoding.Utility.valueForKey(realSourceObject(), realRelationshipKey()));        }        // deal with isMandatory        if ((_selection==null) && !isMandatory()) {            setSelection(NO_SELECTION_STRING);        }        return _selection;    }