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
|
|
15
|
import javax.persistence.*;
|
16
|
import javax.xml.bind.annotation.XmlAccessType;
|
17
|
import javax.xml.bind.annotation.XmlAccessorType;
|
18
|
import javax.xml.bind.annotation.XmlType;
|
19
|
|
20
|
/**
|
21
|
* Extension types similar to dynamically defined attributes. These are not data
|
22
|
* types, but rather content types like "DOI", "2nd nomenclatural reference", "3rd
|
23
|
* hybrid parent" or specific local identifiers.
|
24
|
* @author m.doering
|
25
|
* @version 1.0
|
26
|
* @created 08-Nov-2007 13:06:23
|
27
|
*/
|
28
|
@XmlAccessorType(XmlAccessType.FIELD)
|
29
|
@XmlType(name = "ExtensionType")
|
30
|
@Entity
|
31
|
public class ExtensionType extends DefinedTermBase {
|
32
|
private static final long serialVersionUID = -7761963794004133427L;
|
33
|
@SuppressWarnings("unused")
|
34
|
private static final Logger logger = Logger.getLogger(ExtensionType.class);
|
35
|
|
36
|
public ExtensionType() {
|
37
|
super();
|
38
|
}
|
39
|
public ExtensionType(String term, String label, String labelAbbrev) {
|
40
|
super(term, label, labelAbbrev);
|
41
|
}
|
42
|
|
43
|
|
44
|
public static final ExtensionType XML_FRAGMENT(){
|
45
|
return null;
|
46
|
}
|
47
|
|
48
|
public static final ExtensionType RDF_FRAGMENT(){
|
49
|
return null;
|
50
|
}
|
51
|
|
52
|
}
|