Examples of DescriptionValue


Examples of org.libreplan.business.workreports.valueobjects.DescriptionValue

    private void assignItsDescriptionValues(WorkReportType workReportType) {
        Set<DescriptionValue> updatedDescriptionValues = new HashSet<DescriptionValue>();
        if (workReportType != null) {
            for (DescriptionField descriptionField : workReportType
                    .getLineFields()) {
                DescriptionValue descriptionValue;
                try {
                    descriptionValue = this
                            .getDescriptionValueByFieldName(descriptionField
                                    .getFieldName());
                } catch (InstanceNotFoundException e) {
View Full Code Here

Examples of org.libreplan.business.workreports.valueobjects.DescriptionValue

    private void assignItsDescriptionValues(WorkReportType workReportType) {
        if (workReportType != null) {
            descriptionValues.clear();
            for (DescriptionField descriptionField : workReportType
                    .getHeadingFields()) {
                DescriptionValue descriptionValue = DescriptionValue.create(
                        descriptionField.getFieldName(), null);
                descriptionValues.add(descriptionValue);
            }
        }
    }
View Full Code Here

Examples of org.libreplan.business.workreports.valueobjects.DescriptionValue

                    throw new ValidationException(
                            "missing field name in a description value");
                }

                try {
                    DescriptionValue value = workReport
                            .getDescriptionValueByFieldName(valueDTO.fieldName);
                    value.setValue(StringUtils.trim(valueDTO.value));
                } catch (InstanceNotFoundException e) {
                    throw new ValidationException(
                            "work report has not any description value with this field name");
                }
            }
View Full Code Here

Examples of org.libreplan.business.workreports.valueobjects.DescriptionValue

                    throw new ValidationException(
                            "missing field name in a description value");
                }

                try {
                    DescriptionValue value = workReportLine
                        .getDescriptionValueByFieldName(valueDTO.fieldName);
                    value.setValue(StringUtils.trim(valueDTO.value));
                } catch (InstanceNotFoundException e) {
                    throw new ValidationException(
                            "work report have not any description value with this field name");
                }
            }
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.