|
||||||||||
| 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()
|
java.lang.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)
|
void |
setFile(java.lang.String fileName)
Set the XML resource defining this schema. |
void |
setFileName(java.lang.String name)
Deprecated. Use setFile(java.lang.String). Retained for
backwards-compatible auto-configuration. |
void |
startConfiguration()
|
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 java.lang.String getFile()
package.schema.
public void setFile(java.lang.String fileName)
package.schema.
public void setFileName(java.lang.String name)
setFile(java.lang.String). Retained for
backwards-compatible auto-configuration.
public void setConfiguration(Configuration conf)
setConfiguration in interface Configurablepublic void startConfiguration()
startConfiguration in interface Configurablepublic void endConfiguration()
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 | |||||||||