|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.qbe.model.DataMartModel
public class DataMartModel
Constructor Summary | |
---|---|
DataMartModel(java.lang.String path,
java.lang.String jndiDataSourceName,
java.lang.String dialect)
|
Method Summary | |
---|---|
org.hibernate.SessionFactory |
createSessionFactory()
This methos is responsible to create the Hibernate Session Factory Object related to the datamart model |
IDataMartModelRetriever |
getDataMartModelRetriever()
|
java.lang.String |
getDescription()
|
java.lang.String |
getDialect()
|
org.hibernate.cfg.Configuration |
getHibernateConfiguration(java.io.File jarFile)
|
java.io.File |
getJarFile()
This methos is responsible to retrieve the phisical jar file wich contains the datamart |
java.lang.String |
getJndiDataSourceName()
|
java.lang.String |
getLabel()
|
java.lang.String |
getName()
|
java.lang.String |
getPath()
|
java.util.List |
getQueries()
This method retrieve all queries for a datamart model |
ISingleDataMartWizardObject |
getQuery(java.lang.String queryId)
This method retrieve the query related with the datamart model with given queryId |
IQueryPersister |
getQueryPersister()
|
org.hibernate.cfg.Configuration |
initHibernateConfiguration(java.io.File jarFile)
|
void |
persistQueryAction(ISingleDataMartWizardObject wizObj)
This method is responsible to persist the Object wizObj using the IQueryPersister |
void |
setDescription(java.lang.String description)
|
void |
setDialect(java.lang.String dialect)
|
void |
setJndiDataSourceName(java.lang.String jndiDataSourceName)
|
void |
setLabel(java.lang.String label)
|
void |
setName(java.lang.String name)
|
void |
setPath(java.lang.String path)
|
void |
updateCurrentClassLoader()
This method retrieve the jarFile of the datamart and update the Thread Context ClassLoader adding this jar |
static void |
updateCurrentClassLoader(java.io.File jarFile)
This method update the Thread Context ClassLoader adding to the class loader the jarFile |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataMartModel(java.lang.String path, java.lang.String jndiDataSourceName, java.lang.String dialect)
path:
- The path of the datamartjndiDataSourceName:
- the name of the jndi datasourcedialect:
- the dialect to useMethod Detail |
---|
public java.io.File getJarFile()
public org.hibernate.SessionFactory createSessionFactory()
public org.hibernate.cfg.Configuration getHibernateConfiguration(java.io.File jarFile)
public org.hibernate.cfg.Configuration initHibernateConfiguration(java.io.File jarFile)
public IDataMartModelRetriever getDataMartModelRetriever() throws java.lang.Exception
java.lang.Exception
public IQueryPersister getQueryPersister() throws java.lang.Exception
java.lang.Exception
public static void updateCurrentClassLoader(java.io.File jarFile)
jarFile
- public void updateCurrentClassLoader()
jarFile
- public java.lang.String getDialect()
public void setDialect(java.lang.String dialect)
dialect
- public java.lang.String getJndiDataSourceName()
public void setJndiDataSourceName(java.lang.String jndiDataSourceName)
jndiDataSourceName
- public java.lang.String getPath()
public void setPath(java.lang.String path)
path
- public void persistQueryAction(ISingleDataMartWizardObject wizObj)
wizObj
- public java.util.List getQueries()
public ISingleDataMartWizardObject getQuery(java.lang.String queryId)
queryId:
- The identifier of the query to get
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- public java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- public java.lang.String getName()
public void setName(java.lang.String name)
name
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |