it.eng.qbe.model.io
Class LocalFileSystemDataMartModelRetriever

java.lang.Object
  extended by it.eng.qbe.model.io.LocalFileSystemDataMartModelRetriever
All Implemented Interfaces:
IDataMartModelRetriever

public class LocalFileSystemDataMartModelRetriever
extends java.lang.Object
implements IDataMartModelRetriever

The Class LocalFileSystemDataMartModelRetriever.


Constructor Summary
LocalFileSystemDataMartModelRetriever()
          Instantiates a new local file system data mart model retriever.
LocalFileSystemDataMartModelRetriever(java.io.File contextDir)
          Instantiates a new local file system data mart model retriever.
 
Method Summary
static java.util.List getAllDataMartPath(java.io.File contextDir)
          Gets the all data mart path.
 java.io.File getContextDir()
          Gets the context dir.
 java.io.File getDatamartJarFile(java.lang.String datamartName)
          Gets the datamart jar file.
 java.io.File getViewJarFile(java.lang.String datamartName, java.lang.String viewName)
          Gets the view jar file.
 java.util.List getViewJarFiles(java.lang.String datamartName)
          Gets the view jar files.
 java.util.List getViewNames(java.lang.String datamartName)
          Gets the view names.
 void setContextDir(java.io.File contextDir)
          Sets the context dir.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalFileSystemDataMartModelRetriever

public LocalFileSystemDataMartModelRetriever()
Instantiates a new local file system data mart model retriever.


LocalFileSystemDataMartModelRetriever

public LocalFileSystemDataMartModelRetriever(java.io.File contextDir)
Instantiates a new local file system data mart model retriever.

Parameters:
contextDir - the context dir
Method Detail

getContextDir

public java.io.File getContextDir()
Gets the context dir.

Returns:
the context dir

setContextDir

public void setContextDir(java.io.File contextDir)
Sets the context dir.

Parameters:
contextDir - the new context dir

getDatamartJarFile

public java.io.File getDatamartJarFile(java.lang.String datamartName)
Description copied from interface: IDataMartModelRetriever
Gets the datamart jar file.

Specified by:
getDatamartJarFile in interface IDataMartModelRetriever
Parameters:
datamartName - the datamart name
Returns:
the datamart jar file

getViewJarFiles

public java.util.List getViewJarFiles(java.lang.String datamartName)
Description copied from interface: IDataMartModelRetriever
Gets the view jar files.

Specified by:
getViewJarFiles in interface IDataMartModelRetriever
Parameters:
datamartName - the datamart name
Returns:
the view jar files

getViewJarFile

public java.io.File getViewJarFile(java.lang.String datamartName,
                                   java.lang.String viewName)
Description copied from interface: IDataMartModelRetriever
Gets the view jar file.

Specified by:
getViewJarFile in interface IDataMartModelRetriever
Parameters:
datamartName - the datamart name
viewName - the view name
Returns:
the view jar file

getViewNames

public java.util.List getViewNames(java.lang.String datamartName)
Description copied from interface: IDataMartModelRetriever
Gets the view names.

Specified by:
getViewNames in interface IDataMartModelRetriever
Parameters:
datamartName - the datamart name
Returns:
the view names

getAllDataMartPath

public static java.util.List getAllDataMartPath(java.io.File contextDir)
Gets the all data mart path.

Parameters:
contextDir - the context dir
Returns:
the all data mart path