Revision 5380fe2d
Added by Andreas Müller almost 6 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/reference/IReference.java | ||
---|---|---|
108 | 108 |
* Note: The time period will be internally converted to |
109 | 109 |
* a VerbatimTimePeriod so later changes to it will not |
110 | 110 |
* be reflected in the reference time period. |
111 |
* @return the new converted VerbatimTimePeriod |
|
112 |
* @param datePublished the not yet converted TimePeriod |
|
113 |
* @deprecated only for compatibility with older versions |
|
114 |
* but may create problems in certain contexts therefore |
|
115 |
* will be removed soon. |
|
111 | 116 |
*/ |
112 | 117 |
@Transient |
113 |
public void setDatePublished(TimePeriod datePublished); |
|
118 |
@Deprecated |
|
119 |
public VerbatimTimePeriod setDatePublished(TimePeriod datePublished); |
|
114 | 120 |
|
115 | 121 |
/** |
116 | 122 |
* Returns the Uniform Resource Identifier (URI) corresponding to <i>this</i> |
Also available in: Unified diff
ref #6752 return type for setDatePublished(TimePeriod) and set to deprecated