Package org.pentaho.platform.config
Class HibernateSettingsXml
java.lang.Object
org.pentaho.platform.config.HibernateSettingsXml
- All Implemented Interfaces:
IHibernateSettings
-
Constructor Summary
ConstructorDescriptionHibernateSettingsXml
(File hibernateSettingsXmlFile) HibernateSettingsXml
(org.dom4j.Document doc) -
Method Summary
Modifier and TypeMethodDescriptionorg.dom4j.Document
boolean
void
setHibernateConfigFile
(String hibernateConfigFile) void
setHibernateManaged
(boolean hibernateManaged)
-
Constructor Details
-
HibernateSettingsXml
public HibernateSettingsXml(File hibernateSettingsXmlFile) throws IOException, org.dom4j.DocumentException, org.pentaho.platform.api.util.XmlParseException - Throws:
IOException
org.dom4j.DocumentException
org.pentaho.platform.api.util.XmlParseException
-
HibernateSettingsXml
public HibernateSettingsXml(String xml) throws org.dom4j.DocumentException, org.pentaho.platform.api.util.XmlParseException - Throws:
org.dom4j.DocumentException
org.pentaho.platform.api.util.XmlParseException
-
HibernateSettingsXml
public HibernateSettingsXml(org.dom4j.Document doc) throws org.dom4j.DocumentException - Throws:
org.dom4j.DocumentException
-
HibernateSettingsXml
public HibernateSettingsXml()
-
-
Method Details
-
getHibernateConfigFile
- Specified by:
getHibernateConfigFile
in interfaceIHibernateSettings
-
setHibernateConfigFile
- Specified by:
setHibernateConfigFile
in interfaceIHibernateSettings
-
getHibernateManaged
public boolean getHibernateManaged()- Specified by:
getHibernateManaged
in interfaceIHibernateSettings
-
setHibernateManaged
public void setHibernateManaged(boolean hibernateManaged) - Specified by:
setHibernateManaged
in interfaceIHibernateSettings
-
getDocument
public org.dom4j.Document getDocument()
-