added relationshipSingleGetter for to-one endpoints.