net.java.ao
Interface SchemaConfiguration

All Known Implementing Classes:
DefaultSchemaConfiguration

public interface SchemaConfiguration

This interface represents the configuration to be used when Active Objects works with database schemas. It includes constraints that Active Objects should work with when dealing with schemas. For example when using EntityManager.migrate(Class[])

For example the shouldManageTable(String, boolean) tells Active Objects whether it is allowed to update/delete a given table present in the database.

See Also:
EntityManager.migrate(Class[])

Method Summary
 boolean shouldManageTable(String tableName, boolean caseSensitive)
          Tells whether the table with the given table name should be managed by Active Objects.
 

Method Detail

shouldManageTable

boolean shouldManageTable(String tableName,
                          boolean caseSensitive)
Tells whether the table with the given table name should be managed by Active Objects.

Parameters:
tableName - the name of the table to be managed (or not)
caseSensitive - whether or not the case of the table name should be taken in account
Returns:
true if Active Objects is allowed to manage the table named tableName


Copyright © 2007-2014. All Rights Reserved.