X-Git-Url: https://dev.e-taxonomy.eu/gitweb/cdmlib.git/blobdiff_plain/f7fdf22e187d4c1cec034840d2f60d94187ee270..57ea5ac14609e6b73a69d048e4b2379425cf2123:/cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/agent/InstitutionType.java diff --git a/cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/agent/InstitutionType.java b/cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/agent/InstitutionType.java index 9c7968c7e2..cefac051a2 100644 --- a/cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/agent/InstitutionType.java +++ b/cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/agent/InstitutionType.java @@ -9,29 +9,40 @@ package eu.etaxonomy.cdm.model.agent; -import eu.etaxonomy.cdm.model.common.DefinedTermBase; +import javax.persistence.Entity; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + import org.apache.log4j.Logger; -import javax.persistence.*; +import org.hibernate.envers.Audited; + +import eu.etaxonomy.cdm.model.common.DefinedTermBase; +import eu.etaxonomy.cdm.model.common.TermVocabulary; /** - * Represents an element of a controlled {@link common.TermVocabulary vocabulary} for different kinds of institutions. - * Each {@link common.DefinedTermBase element} belongs to one vocabulary. + * Represents an element of a controlled {@link eu.etaxonomy.cdm.model.common.TermVocabulary vocabulary} for different kinds of institutions. + * Each {@link DefinedTermBase element} belongs to one vocabulary. *
- * See also the TDWG Ontology
- *
+ * This class corresponds to: InstitutionTypeTerm according to the TDWG ontology.
*
* @author m.doering
* @version 1.0
* @created 08-Nov-2007 13:06:30
*/
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "InstitutionType")
@Entity
-public class InstitutionType extends DefinedTermBase {
- static Logger logger = Logger.getLogger(InstitutionType.class);
+@Audited
+public class InstitutionType extends DefinedTermBase