Package org.libreplan.business.orders.entities

Examples of org.libreplan.business.orders.entities.InfoComponent


    private OrderElement origin;

    public static <T extends OrderElementTemplate> T create(T beingBuilt,
            OrderElement origin) {
        InfoComponent infoComponentCopied = origin.getInfoComponent().copy();
        Order order = origin.getOrder();
        Days fromBeginningToStart = daysBetween(order.getInitDate(), origin
                .getInitDate());
        Days fromBeginningToEnd = daysBetween(order.getInitDate(), origin
                .getDeadline());
View Full Code Here


        }
        return result;
    }

    public static <T extends OrderElementTemplate> T createNew(T beingBuilt) {
        beingBuilt.setInfoComponent(new InfoComponent());
        assignDates(beingBuilt, null, null);
        return create(beingBuilt);
    }
View Full Code Here

        this.parent = parent;
    }

    protected InfoComponent getInfoComponent() {
        if (infoComponent == null) {
            infoComponent = new InfoComponent();
        }
        return infoComponent;
    }
View Full Code Here

TOP

Related Classes of org.libreplan.business.orders.entities.InfoComponent

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.