Revision 5a3638fe
Added by Andreas Müller over 3 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/database/update/v515_518/SchemaUpdater_5152_5180.java | ||
---|---|---|
19 | 19 |
import eu.etaxonomy.cdm.database.update.ISchemaUpdaterStep; |
20 | 20 |
import eu.etaxonomy.cdm.database.update.SchemaUpdaterBase; |
21 | 21 |
import eu.etaxonomy.cdm.database.update.SimpleSchemaUpdaterStep; |
22 |
import eu.etaxonomy.cdm.database.update.TermRepresentationUpdater; |
|
22 | 23 |
import eu.etaxonomy.cdm.database.update.v512_515.Reference2SourceMover; |
23 | 24 |
import eu.etaxonomy.cdm.database.update.v512_515.SchemaUpdater_5151_5152; |
25 |
import eu.etaxonomy.cdm.model.common.Language; |
|
26 |
import eu.etaxonomy.cdm.model.description.Feature; |
|
24 | 27 |
import eu.etaxonomy.cdm.model.description.MeasurementUnit; |
25 | 28 |
import eu.etaxonomy.cdm.model.metadata.CdmMetaData.CdmVersion; |
26 | 29 |
|
... | ... | |
203 | 206 |
UUID uuidMeter = MeasurementUnit.uuidMeter; |
204 | 207 |
RecommendedMeasurementUnitAdder.NewInstance(stepList, stepName, uuidAltitude, uuidMeter); |
205 | 208 |
|
209 |
//8326 |
|
210 |
//update label for blocking name and isonym relationships |
|
211 |
stepName = "Update label for 'is blocking name for' relationship"; |
|
212 |
UUID uuidTerm = UUID.fromString("1dab357f-2e12-4511-97a4-e5153589e6a6"); |
|
213 |
String label = "is blocking name for"; |
|
214 |
String abbrev = null; |
|
215 |
TermRepresentationUpdater.NewInstanceWithTitleCache(stepList, stepName, uuidTerm, |
|
216 |
label, label, abbrev, Language.uuidEnglish); |
|
217 |
|
|
218 |
stepName = "Update label for 'is isonym for' relationship"; |
|
219 |
uuidTerm = UUID.fromString("29ab238d-598d-45b9-addd-003cf39ccc3e"); |
|
220 |
label = "is later isonym of"; |
|
221 |
TermRepresentationUpdater.NewInstanceWithTitleCache(stepList, stepName, uuidTerm, |
|
222 |
label, label, abbrev, Language.uuidEnglish); |
|
223 |
|
|
206 | 224 |
return stepList; |
207 | 225 |
} |
208 | 226 |
|
Also available in: Unified diff
fix #8326 update label for blocking name and isonym relationships (update script)