SolarMetric Kodo JDO 3.3.5 generated on August 31 2005

kodo.jdbc.schema
Class FileSchemaFactory

java.lang.Object
  |
  +--kodo.jdbc.schema.FileSchemaFactory
All Implemented Interfaces:
Configurable, SchemaFactory

public class FileSchemaFactory
extends Object
implements SchemaFactory, Configurable

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


Constructor Summary
FileSchemaFactory()
           
 
Method Summary
 void endConfiguration()
          Invoked upon completion of bean property configuration for this object.
 String getFileName()
          Return the XML resource defining this schema.
 SchemaGroup readSchema()
          Return the schema group for the current object model and database.
 void setConfiguration(Configuration conf)
          Invoked prior to setting bean properties.
 void setFileName(String fileName)
          Set the XML resource defining this schema.
 void startConfiguration()
          Invoked before bean property configuration is begun on this object.
 void storeSchema(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

FileSchemaFactory

public FileSchemaFactory()
Method Detail

getFileName

public String getFileName()
Return the XML resource defining this schema. Defaults to package.schema.

setFileName

public void setFileName(String fileName)
Set the XML resource defining this schema. Defaults to package.schema.

setConfiguration

public void setConfiguration(Configuration conf)
Description copied from interface: Configurable
Invoked prior to setting bean properties.
Specified by:
setConfiguration in interface Configurable

startConfiguration

public void startConfiguration()
Description copied from interface: Configurable
Invoked before bean property configuration is begun on this object.
Specified by:
startConfiguration in interface Configurable

endConfiguration

public void endConfiguration()
Description copied from interface: Configurable
Invoked upon completion of bean property configuration for this object.
Specified by:
endConfiguration in interface Configurable

readSchema

public 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(SchemaGroup schema)
Description copied from interface: SchemaFactory
Record the schema group after changes may have been made.
Specified by:
storeSchema in interface SchemaFactory
Following copied from interface: kodo.jdbc.schema.SchemaFactory
Parameters:
schema - the schema definition for the entire system

SolarMetric Kodo JDO 3.3.5 generated on August 31 2005

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