liquibase.structure
Class DatabaseObjectCollection

java.lang.Object
  extended by liquibase.structure.DatabaseObjectCollection

public class DatabaseObjectCollection
extends Object


Constructor Summary
DatabaseObjectCollection(Database database)
           
 
Method Summary
 void add(DatabaseObject databaseObject)
           
 boolean contains(DatabaseObject wantedObject)
           
<DatabaseObjectType extends DatabaseObject>
Set<DatabaseObjectType>
get(Class<DatabaseObjectType> type)
          Returns all objects of the given type that are already included in this snapshot.
<DatabaseObjectType extends DatabaseObject>
DatabaseObjectType
get(DatabaseObjectType example)
          Returns the object described by the passed example if it is already included in this snapshot.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseObjectCollection

public DatabaseObjectCollection(Database database)
Method Detail

add

public void add(DatabaseObject databaseObject)

get

public <DatabaseObjectType extends DatabaseObject> DatabaseObjectType get(DatabaseObjectType example)
Returns the object described by the passed example if it is already included in this snapshot.


get

public <DatabaseObjectType extends DatabaseObject> Set<DatabaseObjectType> get(Class<DatabaseObjectType> type)
Returns all objects of the given type that are already included in this snapshot.


contains

public boolean contains(DatabaseObject wantedObject)


Copyright © 2013 Liquibase.org. All Rights Reserved.