this.resourceRef = (resourceRef == null) ? null : resourceRef .getTargetRef();
this.resourceRef = resourceRef;
    public void setResourceRef(Reference resourceRef) {        this.resourceRef = (resourceRef == null) ? null : resourceRef                .getTargetRef();    }