Project

General

Profile

« Previous | Next » 

Revision 4d8fb1a4

Added by Alexander Oppermann over 9 years ago

Adapted Redlist Import to new XML Schema...

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/io/redlist/bfnXml/BfnXmlImportState.java
26 26
public class BfnXmlImportState extends ImportStateBase<BfnXmlImportConfigurator, BfnXmlImportBase>{
27 27
	private Reference refA;
28 28
	private Reference refB;
29
	private Reference currentRef;
29
	private Reference currentMicroRef;
30
	private Reference completeSourceRef;
31
	private String classificationA;
32
	private String classificationB;
30 33
	@SuppressWarnings("unused")
31 34
	private static final Logger logger = Logger.getLogger(BfnXmlImportState.class);
32 35

  
......
41 44
		return commonNameMap;
42 45
	}
43 46

  
47
	
48
	
44 49
	public void setCommonNameMap(Map<String, CommonTaxonName> commonNameMap) {
45 50
		this.commonNameMap = commonNameMap;
46 51
	}
......
61 66
		return refB;
62 67
	}
63 68

  
64
	public void setCurrentRef(Reference currentRef) {
65
		this.currentRef = currentRef;
69
	public void setCurrentMicroRef(Reference currentRef) {
70
		this.currentMicroRef = currentRef;
71
	}
72
	public Reference getCompleteSourceRef() {
73
		return completeSourceRef;
74
	}
75

  
76
	public void setCompleteSourceRef(Reference completeSourceRef) {
77
		this.completeSourceRef = completeSourceRef;
78
	}
79

  
80
	public Reference getCurrentMicroRef(){
81
		return currentMicroRef;
66 82
	}
67
	public Reference getCurrentRef(){
68
		return currentRef;
83
	public void setFirstClassificationName(String classificationA) {
84
		  this.classificationA = classificationA;
85
	}
86
	
87
	public void setSecondClassificationName(String classificationB) {
88
		  this.classificationB = classificationB;
89
	}
90
	
91
	public String getFirstClassificationName() {
92
		return  classificationA;
93
	}
94

  
95
	public String getSecondClassificationName() {
96
		return  classificationB;
69 97
	}
70 98
	
71 99
//	/* (non-Javadoc)

Also available in: Unified diff