de.schwarzrot.data.meta.support
Class AbstractModelChange
java.lang.Object
de.schwarzrot.data.meta.support.AbstractModelChange
- All Implemented Interfaces:
- ModelChange
- Direct Known Subclasses:
- ModelAddition, ModelModification, ModelRemoval
public abstract class AbstractModelChange
- extends Object
- implements ModelChange
abstract baseclass for handling change request to database schema. There are
two modes of operation: one is to write all statements to a file and let the
user execute that file by a database client. The other is to do the changes
directly. This will require a user with administrator authority.
- Author:
- Reinhard Mantey
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractModelChange
protected AbstractModelChange(MetaEntity<?> model)
dump
public void dump()
- Specified by:
dump
in interface ModelChange
getModel
public MetaEntity<?> getModel()
performChanges
public void performChanges(Connection conn,
String adminDbUser,
String adminDbPassword,
boolean reNew)
- Specified by:
performChanges
in interface ModelChange
getLogger
protected org.apache.commons.logging.Log getLogger()
Submit
a bug or request a feature
SRJRCFrames is published according to the
GNU General Public License
Copyright 2005-2012
Reinhard Mantey - some rights reserved.