import org.apache.log4j.Logger;
import org.hibernate.envers.Audited;
import org.hibernate.search.annotations.Indexed;
-import org.springframework.util.Assert;
/**
* Annotation types ...
* @author a.mueller
- * @version 1.0
* @created 12-Nov-2008 15:37:33
*/
@XmlAccessorType(XmlAccessType.FIELD)
return new AnnotationType(term, label, labelAbbrev);
}
- /**
- * Constructor
- * @param term
- * @param label
- */
- public AnnotationType() {
+//********************************** Constructor *******************************************************************/
+
+ //for hibernate use only
+ @Deprecated
+ protected AnnotationType() {
+ super(TermType.AnnotationType);
}
/**
* @param label
*/
protected AnnotationType(String term, String label, String labelAbbrev) {
- super(term, label, labelAbbrev);
+ super(TermType.AnnotationType , term, label, labelAbbrev);
}