Package github.priyatam.springrest.domain

Examples of github.priyatam.springrest.domain.DrivingHistory$Builder


        }
    }

    public void toDrivingHistory(Driver driver, String policyNum, String licenseNo, List<DrivingHistory> historyList) {
        for (DrivingHistory _h : historyList) {
            DrivingHistory history = new DrivingHistory.Builder().build();
            history.addLink(LinkBuilder.build(URLS.DRIVER.expand(licenseNo), driver.toString(), Link.REL_PARENT));
            history.addLink(LinkBuilder.build(URLS.DRIVING_HISTORY.expand(policyNum, licenseNo), _h.toString()));

            if (driver != null) {
                driver = driver.deepCopyWithDrivingHistory(Lists.newArrayList(history));
            }
View Full Code Here

TOP

Related Classes of github.priyatam.springrest.domain.DrivingHistory$Builder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.