Revision 6fa4d604
Added by Andreas Kohlbecker over 5 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/model/registration/SpecimenTypeDesignationWorkingSetDTO.java | ||
---|---|---|
13 | 13 |
import java.util.List; |
14 | 14 |
import java.util.Set; |
15 | 15 |
|
16 |
import org.joda.time.Partial; |
|
17 |
|
|
18 | 16 |
import eu.etaxonomy.cdm.model.agent.AgentBase; |
19 | 17 |
import eu.etaxonomy.cdm.model.common.Annotation; |
20 | 18 |
import eu.etaxonomy.cdm.model.common.Language; |
21 | 19 |
import eu.etaxonomy.cdm.model.common.LanguageString; |
20 |
import eu.etaxonomy.cdm.model.common.TimePeriod; |
|
22 | 21 |
import eu.etaxonomy.cdm.model.common.VersionableEntity; |
23 | 22 |
import eu.etaxonomy.cdm.model.location.NamedArea; |
24 | 23 |
import eu.etaxonomy.cdm.model.location.Point; |
... | ... | |
290 | 289 |
return fieldUnit.getGatheringEvent().getCollectingAreas(); |
291 | 290 |
} |
292 | 291 |
|
293 |
public Partial getGatheringDate(){
|
|
294 |
return fieldUnit.getGatheringEvent().getGatheringDate();
|
|
292 |
public TimePeriod getGatheringDate(){
|
|
293 |
return fieldUnit.getGatheringEvent().getTimeperiod();
|
|
295 | 294 |
} |
296 | 295 |
|
297 |
public void setGatheringDate(Partial gatheringDate){
|
|
298 |
fieldUnit.getGatheringEvent().setGatheringDate(gatheringDate);
|
|
296 |
public void setGatheringDate(TimePeriod gatheringDate){
|
|
297 |
fieldUnit.getGatheringEvent().setTimeperiod(gatheringDate);
|
|
299 | 298 |
} |
300 | 299 |
|
301 | 300 |
/** |
Also available in: Unified diff
fix #7888 using EventBase.timespan for collection date