Revision c5e9236a
Added by Andreas Müller almost 2 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/occurrence/DerivedUnit.java | ||
---|---|---|
28 | 28 |
import javax.xml.bind.annotation.XmlSchemaType; |
29 | 29 |
import javax.xml.bind.annotation.XmlType; |
30 | 30 |
|
31 |
import org.apache.logging.log4j.LogManager;import org.apache.logging.log4j.Logger; |
|
31 |
import org.apache.logging.log4j.LogManager; |
|
32 |
import org.apache.logging.log4j.Logger; |
|
32 | 33 |
import org.hibernate.annotations.Cascade; |
33 | 34 |
import org.hibernate.annotations.CascadeType; |
34 | 35 |
import org.hibernate.envers.Audited; |
... | ... | |
202 | 203 |
|
203 | 204 |
//************************** CONSTRUCTOR *********************************/ |
204 | 205 |
|
205 |
//Constructor: For hibernate use only
|
|
206 |
@SuppressWarnings("deprecation")
|
|
206 |
//for hibernate use only, protected required by subclass
|
|
207 |
@Deprecated
|
|
207 | 208 |
protected DerivedUnit() { |
208 |
super(); |
|
209 | 209 |
initDefaultCacheStrategy(); |
210 | 210 |
} |
211 | 211 |
|
... | ... | |
218 | 218 |
initDefaultCacheStrategy(); |
219 | 219 |
} |
220 | 220 |
|
221 |
|
|
222 | 221 |
/** |
223 | 222 |
* Create new unit derived from an existing field unit |
224 | 223 |
* @param fieldUnit existing field unit from where this unit is derived |
Also available in: Unified diff
ref #10067 update java-doc for and remove protected access to model constructors where possible in occurrence