public class MigrateConceptReferenceTermChangeSet extends Object implements liquibase.change.custom.CustomTaskChange
The terms are created only for a unique source and code.
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CONCEPT_MAP_TYPE |
Constructor and Description |
---|
MigrateConceptReferenceTermChangeSet() |
Modifier and Type | Method and Description |
---|---|
protected Integer |
determineMapTypeId(String comment,
Map<String,Integer> typesToIds)
Determines the map type based on the given comment.
|
void |
execute(liquibase.database.Database database) |
String |
getConfirmationMessage() |
void |
setFileOpener(liquibase.resource.ResourceAccessor resourceAccessor) |
void |
setUp() |
liquibase.exception.ValidationErrors |
validate(liquibase.database.Database database) |
public static final String DEFAULT_CONCEPT_MAP_TYPE
public MigrateConceptReferenceTermChangeSet()
public void execute(liquibase.database.Database database) throws liquibase.exception.CustomChangeException
execute
in interface liquibase.change.custom.CustomTaskChange
liquibase.exception.CustomChangeException
CustomTaskChange.execute(liquibase.database.Database)
protected Integer determineMapTypeId(String comment, Map<String,Integer> typesToIds)
comment
- typesToIds
- public String getConfirmationMessage()
getConfirmationMessage
in interface liquibase.change.custom.CustomChange
CustomChange.getConfirmationMessage()
public void setUp() throws liquibase.exception.SetupException
setUp
in interface liquibase.change.custom.CustomChange
liquibase.exception.SetupException
CustomChange.setUp()
public void setFileOpener(liquibase.resource.ResourceAccessor resourceAccessor)
setFileOpener
in interface liquibase.change.custom.CustomChange
CustomChange.setFileOpener(liquibase.resource.ResourceAccessor)
public liquibase.exception.ValidationErrors validate(liquibase.database.Database database)
validate
in interface liquibase.change.custom.CustomChange
CustomChange.validate(liquibase.database.Database)
Copyright © 2024 OpenMRS Inc.. All rights reserved.