Examples of MaterialAssignmentTemplate


Examples of org.libreplan.business.materials.entities.MaterialAssignmentTemplate

    }

    @Override
    @Transactional(readOnly = true)
    public void addMaterialAssignment(Material material) {
        MaterialAssignmentTemplate materialAssignmentTemplate = MaterialAssignmentTemplate
                .create(template, material);
        addMaterialAssignment(materialAssignmentTemplate);
    }
View Full Code Here

Examples of org.libreplan.business.materials.entities.MaterialAssignmentTemplate

        template.removeMaterialAssignment(materialAssignment);
    }

    @Override
    public boolean isCurrentUnitType(Object assigment, UnitType unitType) {
        MaterialAssignmentTemplate material = (MaterialAssignmentTemplate) assigment;
        return ((material != null)
                && (material.getMaterial().getUnitType() != null) && (unitType
                .getId().equals(material.getMaterial().getUnitType().getId())));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.