Added Resource.getCaptionFor()
FEA: ItEr68OTS03XestionRecursosEstratexicosItEr67OTS03
This commit is contained in:
parent
bc4c59e006
commit
e50b163b41
1 changed files with 8 additions and 0 deletions
|
|
@ -113,6 +113,14 @@ public abstract class Resource extends IntegrationEntity {
|
|||
return resources;
|
||||
}
|
||||
|
||||
public static String getCaptionFor(List<Resource> resources) {
|
||||
List<String> values = new ArrayList<String>();
|
||||
for (Resource each: resources) {
|
||||
values.add(each.getShortDescription());
|
||||
}
|
||||
return StringUtils.join(values, ", ");
|
||||
}
|
||||
|
||||
private ResourceCalendar calendar;
|
||||
|
||||
private Set<CriterionSatisfaction> criterionSatisfactions = new HashSet<CriterionSatisfaction>();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue