class BeanDataSourceResourceConverter extends ResourceConverterImpl<BeanReportDataSource, ClientBeanDataSource> {

    @Override
    protected ClientBeanDataSource resourceSpecificFieldsToClient(ClientBeanDataSource client, BeanReportDataSource serverObject, ToClientConversionOptions options) {
        client.setBeanMethod(serverObject.getBeanMethod());
        client.setBeanName(serverObject.getBeanName());
        return client;
    }

}