class GenericMondrianConnectionResourceConverter extends  DataSourceHolderResourceConverter<MondrianConnectionServerSubType, MondrianConnectionClientSubType> {

    @Override
    protected MondrianConnectionServerSubType resourceSpecificFieldsToServer(MondrianConnectionClientSubType clientObject, MondrianConnectionServerSubType resultToUpdate, List<Exception> exceptions, ToServerConversionOptions options) throws IllegalParameterValueException, MandatoryParameterNotFoundException {
        resultToUpdate.setSchema(resourceReferenceConverterProvider.getConverterForType(ClientReferenceableFile.class)
                .addReferenceRestriction(new ResourceReferenceConverter.FileTypeRestriction(ClientFile.FileType.olapMondrianSchema))
                .toServer(clientObject.getSchema(), resultToUpdate.getSchema(), options));
        return resultToUpdate;
    }

}