|
||||||||||
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.cfg.Configuration |
createHibernateConfiguration()
This methos is responsible to create the Hibarnate Configuration Object related to the datamart |
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()
|
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()
|
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 |
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 org.hibernate.cfg.Configuration createHibernateConfiguration()
public java.io.File getJarFile()
public org.hibernate.SessionFactory createSessionFactory()
public IDataMartModelRetriever getDataMartModelRetriever() throws java.lang.Exception
java.lang.Exception
public IQueryPersister getQueryPersister() throws java.lang.Exception
java.lang.Exception
public 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 |