SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

com.solarmetric.rd.kodo.impl.jdbc.schema
Class SingleFileSchemaFactory

java.lang.Object
  |
  +--com.solarmetric.rd.kodo.impl.jdbc.schema.SingleFileSchemaFactory
All Implemented Interfaces:
SchemaFactory

public class SingleFileSchemaFactory
extends java.lang.Object
implements SchemaFactory

Factory that uses an XML schema file to construct the system schema.


Constructor Summary
SingleFileSchemaFactory()
           
 
Method Summary
 java.lang.String getSchemaResource()
          Return the XML resource defning this schema.
 com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGroup readSchema()
          Return the schema group for the current object model and database.
 void setConfiguration(com.solarmetric.rd.kodo.impl.jdbc.conf.JDBCConfiguration conf)
          Set the configuration for the factory.
 void setSchemaResource(java.lang.String rsrc)
          Set the XML resource defning this schema.
 void storeSchema(com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGroup schema)
          Record the schema group after changes may have been made.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleFileSchemaFactory

public SingleFileSchemaFactory()
Method Detail

getSchemaResource

public java.lang.String getSchemaResource()
Return the XML resource defning this schema. Defaults to kodo.schema.


setSchemaResource

public void setSchemaResource(java.lang.String rsrc)
Set the XML resource defning this schema. Defaults to kodo.schema.


setConfiguration

public void setConfiguration(com.solarmetric.rd.kodo.impl.jdbc.conf.JDBCConfiguration conf)
Description copied from interface: SchemaFactory
Set the configuration for the factory.

Specified by:
setConfiguration in interface SchemaFactory

readSchema

public com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGroup readSchema()
Description copied from interface: SchemaFactory
Return the schema group for the current object model and database.

Specified by:
readSchema in interface SchemaFactory

storeSchema

public void storeSchema(com.solarmetric.rd.kodo.impl.jdbc.schema.SchemaGroup schema)
Description copied from interface: SchemaFactory
Record the schema group after changes may have been made.

Specified by:
storeSchema in interface SchemaFactory
Parameters:
schema - the schema definition for the entire system

SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

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