Fixes an issue where update of title caches did not work for cloned instances.
[cdmlib.git] / cdmlib-model / src / main / java / eu / etaxonomy / cdm / model / common / Figure.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9
10 package eu.etaxonomy.cdm.model.common;
11
12
13 import org.apache.log4j.Logger;
14 import org.hibernate.envers.Audited;
15
16 import eu.etaxonomy.cdm.model.media.ReferencedMedia;
17
18 import javax.persistence.*;
19 import javax.xml.bind.annotation.XmlAccessType;
20 import javax.xml.bind.annotation.XmlAccessorType;
21 import javax.xml.bind.annotation.XmlType;
22
23 /**
24 * @author m.doering
25 * @version 1.0
26 * @created 08-Nov-2007 13:06:25
27 */
28 @XmlAccessorType(XmlAccessType.FIELD)
29 @XmlType(name = "Figure")
30 @Entity
31 @Audited
32 public class Figure extends ReferencedMedia {
33 private static final long serialVersionUID = -1712467725277327725L;
34 @SuppressWarnings("unused")
35 private static final Logger logger = Logger.getLogger(Figure.class);
36
37 /**
38 * Factory method
39 * @return
40 */
41 public static Figure NewInstance(){
42 return new Figure();
43 }
44
45 /**
46 * Constructor
47 */
48 protected Figure() {
49 super();
50 }
51
52 }