return apiContext;
}
private static final TargetHost toDataModel(com.alu.e3.prov.restapi.model.TargetHost targetHost) {
if (targetHost==null) throw new IllegalArgumentException("targetHost must not be null");
TargetHost t = new TargetHost();
t.setUrl (targetHost.getUrl());
t.setSite (targetHost.getSite());
t.setAuthentication (toDataModel(targetHost.getAuthentication()));
if (targetHost.getConnectionParameters() != null)
t.setConnectionParameters(toDataModel(targetHost.getConnectionParameters()));
return t;
}