|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 Configurablepublic void startConfiguration()
Configurable
startConfiguration in interface Configurablepublic void endConfiguration()
Configurable
endConfiguration in interface Configurablepublic SchemaGroup readSchema()
SchemaFactory
readSchema in interface SchemaFactorypublic void storeSchema(SchemaGroup schema)
SchemaFactory
storeSchema in interface SchemaFactoryschema - the schema definition for the entire system
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||