SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

com.solarmetric.rd.kodo.impl.jdbc.schema
Interface SchemaSerializer

All Superinterfaces:
MetaDataSerializer
All Known Implementing Classes:
XMLSchemaSerializer

public interface SchemaSerializer
extends MetaDataSerializer

Interface for schema serializers. Serializers work at the fine-grained fine-grained table level to allow you to split schemas among multiple files.


Method Summary
 void addTable(com.solarmetric.rd.kodo.impl.jdbc.schema.Table table)
          Add the given table to the set of tables that will be serialized.
 void addTables(com.solarmetric.rd.kodo.impl.jdbc.schema.Schema schema)
          Add the given schema's tables to the set of tables that will be serialized.
 void addTables(com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGroup group)
          Add all the tables in the given group to the set of tables that will be serialized.
 void clear()
          Clear the set of tables to be serialized.
 com.solarmetric.rd.kodo.impl.jdbc.schema.Table[] getTables()
          Return the set of tables that will be serialized.
 boolean removeTable(com.solarmetric.rd.kodo.impl.jdbc.schema.Table table)
          Remove the given table from the set to be serialized.
 boolean removeTables(com.solarmetric.rd.kodo.impl.jdbc.schema.Schema schema)
          Remove the given schema's tables from the set to be serialized.
 boolean removeTables(com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGroup group)
          Remove all schemas in the given group from the set to be serialized.
 
Methods inherited from interface com.solarmetric.rd.meta.MetaDataSerializer
getLog, serialize, serialize, serialize, setLog
 

Method Detail

getTables

public com.solarmetric.rd.kodo.impl.jdbc.schema.Table[] getTables()
Return the set of tables that will be serialized.


addTable

public void addTable(com.solarmetric.rd.kodo.impl.jdbc.schema.Table table)
Add the given table to the set of tables that will be serialized.


addTables

public void addTables(com.solarmetric.rd.kodo.impl.jdbc.schema.Schema schema)
Add the given schema's tables to the set of tables that will be serialized.


addTables

public void addTables(com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGroup group)
Add all the tables in the given group to the set of tables that will be serialized.


removeTable

public boolean removeTable(com.solarmetric.rd.kodo.impl.jdbc.schema.Table table)
Remove the given table from the set to be serialized.

Returns:
true if table was removed, false if not in set

removeTables

public boolean removeTables(com.solarmetric.rd.kodo.impl.jdbc.schema.Schema schema)
Remove the given schema's tables from the set to be serialized.

Returns:
true if any tables in schema removed, false if none in set

removeTables

public boolean removeTables(com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGroup group)
Remove all schemas in the given group from the set to be serialized.

Returns:
true if any tables in the group were removed, false if none in set

clear

public void clear()
Clear the set of tables to be serialized.


SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.