import eu.etaxonomy.cdm.model.common.DefinedTermBase;
import org.apache.log4j.Logger;
import javax.persistence.*;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
/**
* Represents an element of a controlled {@link common.TermVocabulary vocabulary} for different kinds of institutions.
* @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 using both term and label strings.
*
- * @param term the string describing this vocabulary element
+ * @param term the string describing <i>this</i> vocabulary element
* in the default language
- * @param label the string which identifies this vocabulary element
+ * @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) {
- super(term, label);
+ public InstitutionType(String term, String label, String labelAbbrev) {
+ super(term, label, labelAbbrev);
// TODO Auto-generated constructor stub
}