Package org.candlepin.json.model

Examples of org.candlepin.json.model.Service


    private Service createService(Pool pool) {
        if (pool.getProductAttributeValue("support_level") == null &&
            pool.getProductAttributeValue("support_type") == null) {
            return null;
        }
        Service toReturn = new Service();
        toReturn.setLevel(pool.getProductAttributeValue("support_level"));
        toReturn.setType(pool.getProductAttributeValue("support_type"));

        return toReturn;
    }
View Full Code Here

TOP

Related Classes of org.candlepin.json.model.Service

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.