package eu.etaxonomy.cdm.model.agent;
-
import eu.etaxonomy.cdm.model.common.DefinedTermBase;
-import eu.etaxonomy.cdm.model.common.OrderedTermBase;
-import eu.etaxonomy.cdm.model.common.TermVocabulary;
-
import org.apache.log4j.Logger;
-
-import java.util.*;
import javax.persistence.*;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
/**
- * http://rs.tdwg.org/ontology/voc/InstitutionType
+ * Represents an element of a controlled {@link common.TermVocabulary vocabulary} for different kinds of institutions.
+ * Each {@link common.DefinedTermBase element} belongs to one vocabulary.
+ * <p>
+ * See also the <a href="http://rs.tdwg.org/ontology/voc/InstitutionType">TDWG Ontology</a>
+ *
+ *
* @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);
+ /**
+ * Class constructor.
+ *
+ * @see #InstitutionType(String, String)
+ */
public InstitutionType() {
super();
// TODO Auto-generated constructor stub
}
- public InstitutionType(String term, String label) {
- super(term, label);
+ /**
+ * Class constructor using both term and label strings.
+ *
+ * @param term the string describing <i>this</i> vocabulary element
+ * in the default language
+ * @param label the string which identifies <i>this</i> vocabulary element
+ * irrespective of the language
+ * @see common.Representation
+ * @see common.TermBase#TermBase(String, String)
+ */
+ public InstitutionType(String term, String label, String labelAbbrev) {
+ super(term, label, labelAbbrev);
// TODO Auto-generated constructor stub
}