Project

General

Profile

« Previous | Next » 

Revision 426e647f

Added by Andreas Müller almost 6 years ago

ref #6752 implement verbatimDate for Reference (Parser and Formatter still missing)

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/reference/IReference.java
16 16
import eu.etaxonomy.cdm.model.common.IIdentifiableEntity;
17 17
import eu.etaxonomy.cdm.model.common.IParsable;
18 18
import eu.etaxonomy.cdm.model.common.TimePeriod;
19
import eu.etaxonomy.cdm.model.common.VerbatimTimePeriod;
19 20
import eu.etaxonomy.cdm.strategy.cache.reference.INomenclaturalReferenceCacheStrategy;
20 21
import eu.etaxonomy.cdm.strategy.match.IMatchable;
21 22
import eu.etaxonomy.cdm.strategy.merge.IMergable;
......
93 94
	/**
94 95
	 * Returns the date when the reference was published as a {@link TimePeriod}
95 96
	 */
96
	public TimePeriod getDatePublished();
97
	public VerbatimTimePeriod getDatePublished();
97 98

  
98 99
	/**
99 100
	 * Sets the date when the reference was published.
100 101
	 */
102
    public void setDatePublished(VerbatimTimePeriod datePublished);
103

  
104

  
105
    /**
106
     * Sets the date when the reference was published.
107
     * <BR>
108
     * Note: The time period will be internally converted to
109
     * a VerbatimTimePeriod so later changes to it will not
110
     * be reflected in the reference time period.
111
     */
112
    @Transient
101 113
    public void setDatePublished(TimePeriod datePublished);
102 114

  
103 115
	/**

Also available in: Unified diff