Project

General

Profile

« Previous | Next » 

Revision 1c39686b

Added by Andreas Müller about 5 years ago

ref #8162 adapt cdmlip to new term package structure

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/location/Country.java
38 38
import au.com.bytecode.opencsv.CSVWriter;
39 39
import eu.etaxonomy.cdm.common.CdmUtils;
40 40
import eu.etaxonomy.cdm.model.common.CdmBase;
41
import eu.etaxonomy.cdm.model.common.DefinedTermBase;
42 41
import eu.etaxonomy.cdm.model.common.Language;
43
import eu.etaxonomy.cdm.model.common.Representation;
44
import eu.etaxonomy.cdm.model.common.TermType;
45
import eu.etaxonomy.cdm.model.common.TermVocabulary;
42
import eu.etaxonomy.cdm.model.term.DefinedTermBase;
43
import eu.etaxonomy.cdm.model.term.Representation;
44
import eu.etaxonomy.cdm.model.term.TermType;
45
import eu.etaxonomy.cdm.model.term.TermVocabulary;
46 46

  
47 47
/**
48 48
 * +/- current ISO codes. year given with each entry
......
59 59
@XmlRootElement(name = "Country")
60 60
@Entity
61 61
//@Indexed disabled to reduce clutter in indexes, since this type is not used by any search
62
//@Indexed(index = "eu.etaxonomy.cdm.model.common.DefinedTermBase")
62
//@Indexed(index = "eu.etaxonomy.cdm.model.term.DefinedTermBase")
63 63
@Audited
64 64
public class Country extends NamedArea {
65 65
	private static final long serialVersionUID = -6791671976199722843L;
......
734 734
		return (Country)termMap.get(uuid);
735 735
	}
736 736

  
737

  
738
	/* (non-Javadoc)
739
	 * @see eu.etaxonomy.cdm.model.common.DefinedTermBase#resetTerms()
740
	 */
741 737
	@Override
742 738
	public void resetTerms(){
743 739
		termMap = null;
744 740
		labelMap = null;
745 741
	}
746 742

  
747

  
748

  
749 743
	@Override
750 744
	protected void setDefaultTerms(TermVocabulary<NamedArea> termVocabulary) {
751 745
		initMaps();

Also available in: Unified diff