class QueryResourceConverter extends DataSourceHolderResourceConverter<Query, ClientQuery> {

    @Override
    protected ClientQuery resourceSpecificFieldsToClient(ClientQuery client, Query serverObject, ToClientConversionOptions options) {
        client.setLanguage(serverObject.getLanguage());
        client.setValue(serverObject.getSql());
        return client;
    }

}