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