Marshall/unmarshall Representations explicitly
[cdmlib.git] / cdmlib-model / src / main / java / eu / etaxonomy / cdm / model / agent / InstitutionType.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.agent;
11
12 import eu.etaxonomy.cdm.model.common.DefinedTermBase;
13
14 import org.apache.log4j.Logger;
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 * Represents an element of a controlled {@link eu.etaxonomy.cdm.model.common.TermVocabulary vocabulary} for different kinds of institutions.
22 * Each {@link DefinedTermBase element} belongs to one vocabulary.
23 * <p>
24 * This class corresponds to: InstitutionTypeTerm according to the TDWG ontology.
25 *
26 * @author m.doering
27 * @version 1.0
28 * @created 08-Nov-2007 13:06:30
29 */
30 @XmlAccessorType(XmlAccessType.FIELD)
31 @XmlType(name = "InstitutionType")
32 @Entity
33 public class InstitutionType extends DefinedTermBase {
34 static Logger logger = Logger.getLogger(InstitutionType.class);
35
36 // ************* CONSTRUCTORS *************/
37 /**
38 * Class constructor: creates a new empty institution type.
39 *
40 * @see #InstitutionType(String, String, String)
41 */
42 public InstitutionType() {
43 super();
44 // TODO Auto-generated constructor stub
45 }
46
47 /**
48 * Class constructor using a description (in the {@link eu.etaxonomy.cdm.model.common.Language#DEFAULT() default language}),
49 * a label and a label abbreviation.
50 *
51 * @param term the string describing this new vocabulary element
52 * @param label the string which identifies this new vocabulary element
53 * @param labelAbbrev the string identifying (in abbreviated form) this
54 * new vocabulary element
55 * @see #InstitutionType()
56 * @see eu.etaxonomy.cdm.model.common.Representation
57 * @see eu.etaxonomy.cdm.model.common.TermBase#TermBase(String, String, String)
58 */
59 public InstitutionType(String term, String label, String labelAbbrev) {
60 super(term, label, labelAbbrev);
61 // TODO Auto-generated constructor stub
62 }
63
64
65 }