eTagHelper.generate(vhost + URLS.POLICY.expand(policy.getPolicyNum()), policy);
}
public void toDriver(Policy policy, String policyNum, List<Driver> drivers) {
for (Driver _d : drivers) {
Driver driver = new Driver.Builder().withLicenseNum(_d.getLicenseNum()).build();
driver.addLink(LinkBuilder.build(URLS.POLICY.expand(policyNum), "Policy", Link.REL_PARENT));
driver.addLink(LinkBuilder.build(URLS.POLICY_DRIVER.expand(policyNum, _d.getLicenseNum()), _d.toString()));
List<DrivingHistory> dh = persistenceHelper.loadDrivingHistory(policyNum, _d.getLicenseNum());
toDrivingHistory(driver, policyNum, _d.getLicenseNum(), dh);
if (policy != null) {