BGBM BDI Projects
/
cdmlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- no change (just updated "last edited" for svn)
[cdmlib.git]
/
cdmlib-model
/
src
/
main
/
java
/
eu
/
etaxonomy
/
cdm
/
model
/
common
/
AnnotationType.java
diff --git
a/cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/AnnotationType.java
b/cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/AnnotationType.java
index ddecbdb71bd62c689c27044bb22217291da6f40f..a68c732ad9aef4e4e6608e0762f4d18d210343a3 100644
(file)
--- a/
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/AnnotationType.java
+++ b/
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/AnnotationType.java
@@
-23,12
+23,10
@@
import javax.xml.bind.annotation.XmlType;
import org.apache.log4j.Logger;
import org.hibernate.envers.Audited;
import org.hibernate.search.annotations.Indexed;
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
/**
* Annotation types ...
* @author a.mueller
- * @version 1.0
* @created 12-Nov-2008 15:37:33
*/
@XmlAccessorType(XmlAccessType.FIELD)
* @created 12-Nov-2008 15:37:33
*/
@XmlAccessorType(XmlAccessType.FIELD)
@@
-51,12
+49,12
@@
public class AnnotationType extends DefinedTermBase<AnnotationType> {
return new AnnotationType(term, label, labelAbbrev);
}
return new AnnotationType(term, label, labelAbbrev);
}
- /**
- * Constructor
- * @param term
- * @param label
- */
- public AnnotationType() {
+//********************************** Constructor *******************************************************************/
+
+ //for hibernate use only
+ @Deprecated
+ protected AnnotationType() {
+ super(TermType.AnnotationType);
}
/**
}
/**
@@
-65,7
+63,7
@@
public class AnnotationType extends DefinedTermBase<AnnotationType> {
* @param label
*/
protected AnnotationType(String term, String label, String labelAbbrev) {
* @param label
*/
protected AnnotationType(String term, String label, String labelAbbrev) {
- super(term, label, labelAbbrev);
+ super(
TermType.AnnotationType ,
term, label, labelAbbrev);
}
}