|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.data.DataSource
org.formaria.editor.data.pojo.PojoDataSourceEx
org.formaria.editor.data.pojo.PersistentPojoDataSourceEx
org.formaria.editor.data.pojo.HibernatePojoDataSourceEx
public class HibernatePojoDataSourceEx
| Field Summary | |
|---|---|
protected java.util.Hashtable |
hibernateConfiguration
|
protected JaxpXmlParser |
xmlParser
|
| Fields inherited from class org.formaria.editor.data.pojo.PojoDataSourceEx |
|---|
adapters, GETTER_PREFIXES, modelListeners, overrides, pojoContext, pojoRootModel, propertiesRetriever, SETTER_PREFIXES |
| Fields inherited from class org.formaria.data.DataSource |
|---|
currentProject |
| Constructor Summary | |
|---|---|
HibernatePojoDataSourceEx(Project project)
Creates a new instance of HibernatePojODataSourceEx |
|
| Method Summary | |
|---|---|
void |
overrideAdapter(PojoAdapterEx adapter)
Overrides the adapter, adds the customization specified by the configuration and Hibernate mapping files. |
protected void |
readMappingFile(java.lang.String fileName)
Configures the POJO adapters of the classes whose mapping configuration is contained in the specified Hibernate mapping file. |
protected void |
readMappingFiles()
Reads the Hibernate mapping files and configures the adapters |
| Methods inherited from class org.formaria.editor.data.pojo.PersistentPojoDataSourceEx |
|---|
adaptPojo, adaptPojo, adaptPojo, createAdapter, customizeProperty |
| Methods inherited from class org.formaria.editor.data.pojo.PojoDataSourceEx |
|---|
getAdapter, getDispValue, getPojoContext, getProjectClassLoader, getPropertiesRetriever, getterSupported, loadTable, setterSupported |
| Methods inherited from class org.formaria.data.DataSource |
|---|
outputModel, outputModel, outputModel, read, read, readDataSource, setUseValueAsId, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.Hashtable hibernateConfiguration
protected JaxpXmlParser xmlParser
| Constructor Detail |
|---|
public HibernatePojoDataSourceEx(Project project)
project - the owner project| Method Detail |
|---|
protected void readMappingFiles()
protected void readMappingFile(java.lang.String fileName)
fileName - the name of the Hibernate mapping filepublic void overrideAdapter(PojoAdapterEx adapter)
overrideAdapter in class PojoDataSourceExadapter - the adpater to be customized
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||