liquibase.snapshot.jvm
Class ForeignKeySnapshotGenerator

java.lang.Object
  extended by liquibase.snapshot.jvm.JdbcSnapshotGenerator
      extended by liquibase.snapshot.jvm.ForeignKeySnapshotGenerator
All Implemented Interfaces:
SnapshotGenerator

public class ForeignKeySnapshotGenerator
extends JdbcSnapshotGenerator


Field Summary
 
Fields inherited from interface liquibase.snapshot.SnapshotGenerator
PRIORITY_ADDITIONAL, PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NONE
 
Constructor Summary
ForeignKeySnapshotGenerator()
           
 
Method Summary
protected  void addTo(DatabaseObject foundObject, DatabaseSnapshot snapshot)
           
protected  ForeignKeyConstraintType convertToForeignKeyConstraintType(Integer jdbcType, Database database)
           
protected  DatabaseObject snapshotObject(DatabaseObject example, DatabaseSnapshot snapshot)
           
 
Methods inherited from class liquibase.snapshot.jvm.JdbcSnapshotGenerator
addStatusListener, addsTo, cleanNameFromDatabase, getPriority, replaces, shouldAddTo, snapshot, updateListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForeignKeySnapshotGenerator

public ForeignKeySnapshotGenerator()
Method Detail

addTo

protected void addTo(DatabaseObject foundObject,
                     DatabaseSnapshot snapshot)
              throws DatabaseException,
                     InvalidExampleException
Specified by:
addTo in class JdbcSnapshotGenerator
Throws:
DatabaseException
InvalidExampleException

snapshotObject

protected DatabaseObject snapshotObject(DatabaseObject example,
                                        DatabaseSnapshot snapshot)
                                 throws DatabaseException,
                                        InvalidExampleException
Specified by:
snapshotObject in class JdbcSnapshotGenerator
Throws:
DatabaseException
InvalidExampleException

convertToForeignKeyConstraintType

protected ForeignKeyConstraintType convertToForeignKeyConstraintType(Integer jdbcType,
                                                                     Database database)
                                                              throws DatabaseException
Throws:
DatabaseException


Copyright © 2016 Liquibase.org. All rights reserved.