org.apache.ibatis.abator.config
Class AbatorConfiguration
java.lang.Object
org.apache.ibatis.abator.config.AbatorConfiguration
public class AbatorConfiguration
- extends java.lang.Object
- Author:
- Jeff Butler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbatorConfiguration
public AbatorConfiguration()
validate
public void validate()
throws InvalidConfigurationException
- This method does a simple validate, it makes sure that all required
fields have been filled in and that all implementation classes exist and
are of the proper type. It does not do any more complex operations such
as: validating that database tables exist or validating that named
columns exist
- Throws:
InvalidConfigurationException
getAbatorContexts
public java.util.List getAbatorContexts()
addAbatorContext
public void addAbatorContext(AbatorContext abatorContext)
getAbatorContext
public AbatorContext getAbatorContext(java.lang.String id)
toDocument
public Document toDocument()
- Builds an XML representation of this configuration. This
can be used to persist a programtically generated
configuration.
- Returns:
- the XML representation of this configuration