org.openmrs.util.databasechange
Class ConceptValidatorChangeSet

java.lang.Object
  extended by org.openmrs.util.databasechange.ConceptValidatorChangeSet
All Implemented Interfaces:
liquibase.change.custom.CustomTaskChange

public class ConceptValidatorChangeSet
extends java.lang.Object
implements liquibase.change.custom.CustomTaskChange

This change set is run just after the conversion of core concept name tags to concept name types' it runs through all the rows in the concept table and checks if all its conceptNames conform to the constraints added with the conversion of the tags.


Constructor Summary
ConceptValidatorChangeSet()
           
 
Method Summary
 void execute(liquibase.database.Database database)
           
 java.lang.String getConfirmationMessage()
           
 void setFileOpener(liquibase.FileOpener fileOpener)
           
 void setUp()
           
 void validate(liquibase.database.Database database)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConceptValidatorChangeSet

public ConceptValidatorChangeSet()
Method Detail

execute

public void execute(liquibase.database.Database database)
             throws liquibase.exception.CustomChangeException,
                    liquibase.exception.UnsupportedChangeException
Specified by:
execute in interface liquibase.change.custom.CustomTaskChange
Throws:
liquibase.exception.CustomChangeException
liquibase.exception.UnsupportedChangeException
See Also:
CustomTaskChange.execute(Database)

getConfirmationMessage

public java.lang.String getConfirmationMessage()
See Also:
CustomChange.getConfirmationMessage()

setFileOpener

public void setFileOpener(liquibase.FileOpener fileOpener)
See Also:
CustomChange.setFileOpener(liquibase.FileOpener)

setUp

public void setUp()
           throws liquibase.exception.SetupException
Throws:
liquibase.exception.SetupException
See Also:
CustomChange.setUp()

validate

public void validate(liquibase.database.Database database)
              throws liquibase.exception.InvalidChangeDefinitionException
Throws:
liquibase.exception.InvalidChangeDefinitionException
See Also:
CustomChange.validate(liquibase.database.Database)

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change