|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.jdbc.schema.FileSchemaFactory
public class FileSchemaFactory
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 |
getFile()
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 |
setFile(String fileName)
Set the XML resource defining this schema. |
void |
setFileName(String name)
Deprecated. Use setFile(java.lang.String) . Retained for
backwards-compatible auto-configuration. |
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 |
---|
public FileSchemaFactory()
Method Detail |
---|
public String getFile()
package.schema
.
public void setFile(String fileName)
package.schema
.
public void setFileName(String name)
setFile(java.lang.String)
. Retained for
backwards-compatible auto-configuration.
public void setConfiguration(Configuration conf)
Configurable
setConfiguration
in interface Configurable
public void startConfiguration()
Configurable
startConfiguration
in interface Configurable
public void endConfiguration()
Configurable
endConfiguration
in interface Configurable
public SchemaGroup readSchema()
SchemaFactory
readSchema
in interface SchemaFactory
public void storeSchema(SchemaGroup schema)
SchemaFactory
storeSchema
in interface SchemaFactory
schema
- the schema definition for the entire system
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |