Revision 892efc69
Added by Andreas Kohlbecker almost 14 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/specimen/excel/UnitsGatheringEvent.java | ||
---|---|---|
125 | 125 |
collector=col.get(0); |
126 | 126 |
}catch (Exception e) { |
127 | 127 |
collector = Person.NewInstance(); |
128 |
collector.setTitleCache(collName); |
|
128 |
collector.setTitleCache(collName, true);
|
|
129 | 129 |
} |
130 | 130 |
this.gatheringEvent.setCollector(collector); |
131 | 131 |
} |
... | ... | |
145 | 145 |
for (int i=0;i<collectorNames.size();i++){ |
146 | 146 |
collName = collectorNames.get(i); |
147 | 147 |
collector = Person.NewInstance(); |
148 |
collector.setTitleCache(collName); |
|
148 |
collector.setTitleCache(collName, true);
|
|
149 | 149 |
team.addTeamMember(collector); |
150 | 150 |
this.gatheringEvent.setCollector(team); |
151 | 151 |
} |
... | ... | |
153 | 153 |
else if (collectorNames.size() == 1) { |
154 | 154 |
collName = collectorNames.get(0); |
155 | 155 |
collector = Person.NewInstance(); |
156 |
collector.setTitleCache(collName); |
|
156 |
collector.setTitleCache(collName, true);
|
|
157 | 157 |
this.gatheringEvent.setCollector(collector); |
158 | 158 |
} |
159 | 159 |
|
Also available in: Unified diff
merging /branches/cdmlib/SPRINT-Chichorieae1/ to trunk