2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.model
.common
;
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
;
18 import org
.apache
.log4j
.Logger
;
19 import org
.hibernate
.envers
.Audited
;
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.
27 * @created 08-Nov-2007 13:06:23
29 @XmlAccessorType(XmlAccessType
.FIELD
)
30 @XmlType(name
= "ExtensionType")
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);
38 public ExtensionType() {
41 public ExtensionType(String term
, String label
, String labelAbbrev
) {
42 super(term
, label
, labelAbbrev
);
46 public static final ExtensionType
XML_FRAGMENT(){
50 public static final ExtensionType
RDF_FRAGMENT(){
55 protected void setDefaultTerms(TermVocabulary
<ExtensionType
> termVocabulary
) {
56 // TODO Auto-generated method stub