public boolean addType ( Class < ? extends DatabaseObject > type , Database database ) { boolean added = this . types . add ( type ) ; if ( added ) { for ( Class < ? extends DatabaseObject > container : SnapshotGeneratorFactory . getInstance ( ) . getContainerTypes ( type , database ) ) { addType ( container , database ) ; } } return added ; }
Adds a new DatabaseObject type to the list of object types to be included in snapshots .