Project

General

Profile

« Previous | Next » 

Revision 545bcaed

Added by Andreas Müller about 9 years ago

minor changes

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/io/wp6/CommonNameImportConfigurator.java
32 32
	@SuppressWarnings("unused")
33 33
	private static Logger logger = Logger.getLogger(CommonNameImportConfigurator.class);
34 34

  
35
//	private UUID uuidCyprusReference = UUID.fromString("b5281cd3-9d5d-4ae2-8d55-b62a592ce846");
36
	
37 35
	private String referenceTitle = "Common Name Excel Import";
38 36
	
39 37
	
......
41 39
	
42 40
	public static CommonNameImportConfigurator NewInstance(URI source, ICdmDataSource destination){
43 41
		return new CommonNameImportConfigurator(source, destination);
44
}
42
	}
45 43

  
46 44

  
47
	
45
	/* (non-Javadoc)
46
	 * @see eu.etaxonomy.cdm.io.common.ImportConfiguratorBase#makeIoClassList()
47
	 */
48
	@Override
48 49
	protected void makeIoClassList(){
49 50
		ioClassList = new Class[]{
50 51
				CommonNameExcelImport.class ,
......
55 56
	/* (non-Javadoc)
56 57
	 * @see eu.etaxonomy.cdm.io.common.IImportConfigurator#getNewState()
57 58
	 */
59
	@Override
58 60
	public ImportStateBase getNewState() {
59 61
		return new CichorieaeCommonNameImportState(this);
60 62
	}
......
69 71
	}
70 72
	
71 73
	
74
	/* (non-Javadoc)
75
	 * @see eu.etaxonomy.cdm.io.common.ImportConfiguratorBase#getSource()
76
	 */
77
	@Override
72 78
	public URI getSource() {
73 79
		return (URI)super.getSource();
74 80
	}
81

  
82
	/* (non-Javadoc)
83
	 * @see eu.etaxonomy.cdm.io.common.ImportConfiguratorBase#setSource(java.lang.Object)
84
	 */
85
	@Override
75 86
	public void setSource(URI source) {
76 87
		super.setSource(source);
77 88
	}
78 89

  
79 90
	/* (non-Javadoc)
80
	 * @see eu.etaxonomy.cdm.io.tcsrdf.IImportConfigurator#getSourceReference()
91
	 * @see eu.etaxonomy.cdm.io.excel.common.ExcelImportConfiguratorBase#getSourceReference()
81 92
	 */
93
	@Override
82 94
	public Reference getSourceReference() {
83 95
		if (sourceReference == null){
84 96
			sourceReference =  ReferenceFactory.newDatabase();
......
89 101
		return sourceReference;
90 102
	}
91 103
	
104

  
92 105
	/* (non-Javadoc)
93
	 * @see eu.etaxonomy.cdm.io.common.IImportConfigurator#getSourceNameString()
106
	 * @see eu.etaxonomy.cdm.io.common.ImportConfiguratorBase#getSourceNameString()
94 107
	 */
108
	@Override
95 109
	public String getSourceNameString() {
96 110
		return getSource().toString();
97 111
	}
98

  
99
	
100
	
101

  
102 112
}

Also available in: Unified diff