class XmlaConnectionResourceConverter extends ResourceConverterImpl<XMLAConnection, ClientXmlaConnection> {

    @Override
    protected ClientXmlaConnection resourceSpecificFieldsToClient(ClientXmlaConnection client, XMLAConnection serverObject, ToClientConversionOptions options) {
        client.setUrl(serverObject.getURI());
        client.setCatalog(serverObject.getCatalog());
        client.setDataSource(serverObject.getDataSource());
        client.setUsername(serverObject.getUsername());
        return client;
    }

}