SRJRCFrames
v0.1.296

de.schwarzrot.data.meta.support
Class AbstractModelChange

java.lang.Object
  extended by 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

Constructor Summary
protected AbstractModelChange(MetaEntity<?> model)
           
 
Method Summary
 void dump()
           
protected  org.apache.commons.logging.Log getLogger()
           
 MetaEntity<?> getModel()
           
 void performChanges(Connection conn, String adminDbUser, String adminDbPassword, boolean reNew)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.schwarzrot.data.meta.support.ModelChange
printChanges
 

Constructor Detail

AbstractModelChange

protected AbstractModelChange(MetaEntity<?> model)
Method Detail

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()

SRJRCFrames
v0.1.296

hosted at
Find SRJRCFrames at SourceForge.net. Fast, secure and free:
           Open Source Software download
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.