Minor problems discovered whilst refactoring CATE:
[cdmlib.git] / cdmlib-model / src / main / java / eu / etaxonomy / cdm / model / common / ExtensionType.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 javax.persistence.Entity;
14 import javax.xml.bind.annotation.XmlAccessType;
15 import javax.xml.bind.annotation.XmlAccessorType;
16 import javax.xml.bind.annotation.XmlType;
17
18 import org.apache.log4j.Logger;
19 import org.hibernate.envers.Audited;
20
21 /**
22 * Extension types similar to dynamically defined attributes. These are not data
23 * types, but rather content types like "DOI", "2nd nomenclatural reference", "3rd
24 * hybrid parent" or specific local identifiers.
25 * @author m.doering
26 * @version 1.0
27 * @created 08-Nov-2007 13:06:23
28 */
29 @XmlAccessorType(XmlAccessType.FIELD)
30 @XmlType(name = "ExtensionType")
31 @Entity
32 @Audited
33 public class ExtensionType extends DefinedTermBase<ExtensionType> {
34 private static final long serialVersionUID = -7761963794004133427L;
35 @SuppressWarnings("unused")
36 private static final Logger logger = Logger.getLogger(ExtensionType.class);
37
38 public ExtensionType() {
39 super();
40 }
41 public ExtensionType(String term, String label, String labelAbbrev) {
42 super(term, label, labelAbbrev);
43 }
44
45
46 public static final ExtensionType XML_FRAGMENT(){
47 return null;
48 }
49
50 public static final ExtensionType RDF_FRAGMENT(){
51 return null;
52 }
53
54 @Override
55 protected void setDefaultTerms(TermVocabulary<ExtensionType> termVocabulary) {
56 // TODO Auto-generated method stub
57
58 }
59
60 }