Changeset 5806
- Timestamp:
- Jan 9, 2020, 11:54:03 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie/plugins/TMASpecimenImporter.java
r5799 r5806 22 22 import net.sf.basedb.core.Sample; 23 23 import net.sf.basedb.core.StringParameterType; 24 import net.sf.basedb.core.Type; 24 25 import net.sf.basedb.core.plugin.GuiContext; 25 26 import net.sf.basedb.core.plugin.InteractivePlugin; … … 117 118 118 119 120 private static final IdMethod SCANB_ID = new PropertyIdMethod("scanbId", "SCAN-B ID", "name", "caseColumnMapping", false, Type.STRING); 121 private static final IdMethod RELEASE_ID = new PropertyIdMethod("releaseId", "Release ID", "externalId", "caseColumnMapping", false, Type.STRING); 122 119 123 public TMASpecimenImporter() 120 124 {} … … 166 170 protected IdMethod[] getIdMethods() 167 171 { 168 return new IdMethod[] { PropertyIdMethod.NAME, PropertyIdMethod.EXTERNAL_ID };172 return new IdMethod[] { SCANB_ID, RELEASE_ID }; 169 173 } 170 174 … … 182 186 } 183 187 } 184 return PropertyIdMethod.NAME;188 return SCANB_ID; 185 189 } 186 190 … … 434 438 Enumeration<String, String> idMethods = new Enumeration<String, String>(); 435 439 idMethods.add(null, null); 436 idMethods.add( PropertyIdMethod.NAME.getMethod(), PropertyIdMethod.NAME.getTitle());437 idMethods.add( PropertyIdMethod.EXTERNAL_ID.getMethod(), PropertyIdMethod.EXTERNAL_ID.getTitle());440 idMethods.add(SCANB_ID.getMethod(), SCANB_ID.getTitle()); 441 idMethods.add(RELEASE_ID.getMethod(), RELEASE_ID.getTitle()); 438 442 PluginParameter<String> idMethodParameter = new PluginParameter<String>( 439 443 "idMethod",
Note: See TracChangeset
for help on using the changeset viewer.