|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object insensa.CModel
public class CModel
Field Summary | |
---|---|
private CRasterFileSet |
activeFileSet
|
private CRasterFileInformation |
activeRasterFile
|
private CUser |
activeUser
|
private CConnectionManager |
connectionManager
|
private CInfoManager |
infoManager
|
private COptionManager |
optionManager
|
private CXmlProperties |
properties
|
(package private) java.lang.String |
separator
|
private java.util.List<CUser> |
userList
|
Constructor Summary | |
---|---|
CModel()
|
Method Summary | |
---|---|
CRasterFileSet |
addChildFileSet(CRasterFileSet targetFileSet,
java.lang.String outputFileSetName,
boolean serialization)
|
CRasterFileSet |
addConnection(java.util.List<CRasterFileInformation> sourceFileList,
CRasterFileSet outputFileSet,
ConnectionFileChanger eCon,
java.lang.String outputFileSetName,
java.lang.String outputFileName)
|
ConnectionFileChanger |
addConnection(java.util.List<CRasterFileInformation> sourceFileList,
CRasterFileSet outputFileSet,
java.lang.String connectoinName,
java.lang.String outputFileSetName,
java.lang.String outputFileName)
|
void |
addFolderToFileSetByActive(java.lang.String path,
boolean serialize)
|
void |
addInfoToFileByActive(java.lang.String info)
Adds a new InfoReader Onject to the active Raster File and solves the Dependencies by iterating this method. |
void |
addInfoToFileByFile(CRasterFileInformation file,
java.lang.String info)
|
void |
addOptionToFileByActive(java.lang.String option)
|
void |
addOptionToFileByFile(CRasterFileInformation file,
java.lang.String option)
|
CRasterFileSet |
addSensitivityAnalysis(CRasterFileSet outputFileSet,
java.lang.String newFileSetName,
java.lang.String outputFileName,
CIndexation prioritization)
|
void |
addUser(CUser user)
Adds an empty User (without Projects) has has defined a name and a workspace |
CUser |
addUser(java.lang.String user,
java.lang.String workspace)
|
CRasterFileSet |
createNewChildFileSet(CRasterFileSet parentFileSet,
java.lang.String newFileSetName,
boolean serialize)
|
CRasterFileSet |
createNewFileSet(java.lang.String name,
boolean serialize)
|
void |
executeAllConnection(WorkerStatusList workerStatus)
|
void |
executeFileOptionsOnActiveFile(WorkerStatusList workerStatusList)
Execute All File Options on Active File. |
void |
executeInfoReaderOnActiveFile(java.lang.String iReaderName,
WorkerStatusList mWorkerStatusList)
|
void |
executeInformationReadersOnActiveFile(WorkerStatusList mWorkerStatusList)
|
CProject |
getActiveProject()
|
CRasterFileInformation |
getActiveRasterFileInformation()
|
CRasterFileSet |
getActiveRasterFileSet()
|
CUser |
getActiveUser()
|
CConnectionManager |
getConnectionManager()
|
CInfoManager |
getInfoManager()
|
COptionManager |
getOptionManager()
|
CXmlProperties |
getProperties()
TODO Das ist NUR fuer das speichern des PluginCache entstanden (wird in CViewStartScreen gemacht)... |
java.util.List<CUser> |
getUsers()
|
boolean |
openProject(CUser user,
CProject project,
WorkerStatus wStatus,
java.util.List<IProjectListener> projectListener)
|
int |
resolveOptionDependenciesOnActiveFile()
Adds required InfoReader for all Options to the active File This function should be used before the options are executed. |
void |
setActiveRasterFile()
|
void |
setActiveRasterFile(CRasterFileInformation activeRasterFile)
|
void |
setActiveRasterFileSet(CRasterFileSet fileSet)
|
void |
setActiveUser(CUser user)
|
void |
testMethod()
|
void |
writeNewFile(CRasterFileInformation file)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private CUser activeUser
private java.util.List<CUser> userList
private COptionManager optionManager
private CInfoManager infoManager
private CConnectionManager connectionManager
private CRasterFileSet activeFileSet
private CRasterFileInformation activeRasterFile
private CXmlProperties properties
java.lang.String separator
Constructor Detail |
---|
public CModel() throws java.io.IOException, org.jdom.JDOMException
java.io.IOException
org.jdom.JDOMException
Method Detail |
---|
public CXmlProperties getProperties()
public CRasterFileSet addChildFileSet(CRasterFileSet targetFileSet, java.lang.String outputFileSetName, boolean serialization) throws java.io.IOException, org.jdom.JDOMException, CRasterFileException
targetFileSet
- outputFileSetName
- serialization
-
java.io.IOException
org.jdom.JDOMException
CRasterFileException
public CRasterFileSet addConnection(java.util.List<CRasterFileInformation> sourceFileList, CRasterFileSet outputFileSet, ConnectionFileChanger eCon, java.lang.String outputFileSetName, java.lang.String outputFileName) throws java.io.IOException, org.jdom.JDOMException, CRasterFileException
sourceFileList
- outputFileSet
- eCon
- outputFileSetName
- outputFileName
-
java.io.IOException
org.jdom.JDOMException
CRasterFileException
public ConnectionFileChanger addConnection(java.util.List<CRasterFileInformation> sourceFileList, CRasterFileSet outputFileSet, java.lang.String connectoinName, java.lang.String outputFileSetName, java.lang.String outputFileName) throws java.io.IOException, org.jdom.JDOMException, CRasterFileException
sourceFileList
- outputFileSet
- connectoinName
- outputFileSetName
- outputFileName
-
java.io.IOException
org.jdom.JDOMException
CRasterFileException
public void addFolderToFileSetByActive(java.lang.String path, boolean serialize) throws java.io.IOException, org.jdom.JDOMException
path
- serialize
-
java.io.IOException
org.jdom.JDOMException
public void addInfoToFileByActive(java.lang.String info) throws java.io.IOException
info
-
java.io.IOException
public void addInfoToFileByFile(CRasterFileInformation file, java.lang.String info) throws java.io.IOException
file
- info
-
java.io.IOException
public void addOptionToFileByActive(java.lang.String option) throws java.io.IOException, org.jdom.JDOMException
option
-
java.io.IOException
org.jdom.JDOMException
public void addOptionToFileByFile(CRasterFileInformation file, java.lang.String option) throws java.io.IOException, org.jdom.JDOMException
file
- option
-
java.io.IOException
org.jdom.JDOMException
public CRasterFileSet addSensitivityAnalysis(CRasterFileSet outputFileSet, java.lang.String newFileSetName, java.lang.String outputFileName, CIndexation prioritization) throws java.io.IOException, org.jdom.JDOMException, CRasterFileException
outputFileSet
- newFileSetName
- outputFileName
- prioritization
-
java.io.IOException
org.jdom.JDOMException
CRasterFileException
public void addUser(CUser user) throws java.io.IOException
user
-
java.io.IOException
public CUser addUser(java.lang.String user, java.lang.String workspace) throws java.io.IOException
user
- workspace
-
java.io.IOException
public CRasterFileSet createNewChildFileSet(CRasterFileSet parentFileSet, java.lang.String newFileSetName, boolean serialize) throws java.io.IOException, org.jdom.JDOMException, CRasterFileException
parentFileSet
- newFileSetName
- serialize
-
java.io.IOException
org.jdom.JDOMException
CRasterFileException
public CRasterFileSet createNewFileSet(java.lang.String name, boolean serialize) throws java.io.IOException, org.jdom.JDOMException, CRasterFileException
name
- serialize
-
java.io.IOException
org.jdom.JDOMException
CRasterFileException
public void executeAllConnection(WorkerStatusList workerStatus) throws java.io.IOException
path
- Root Path Parametername
- Name of the new Projectowner
- Your name
java.io.IOException
public void executeFileOptionsOnActiveFile(WorkerStatusList workerStatusList) throws java.io.IOException, org.jdom.JDOMException
workerStatusList
-
java.io.IOException
org.jdom.JDOMException
public void executeInfoReaderOnActiveFile(java.lang.String iReaderName, WorkerStatusList mWorkerStatusList) throws java.io.IOException
iReaderName
- mWorkerStatusList
-
java.io.IOException
public void executeInformationReadersOnActiveFile(WorkerStatusList mWorkerStatusList) throws java.io.IOException
mWorkerStatusList
-
java.io.IOException
public CProject getActiveProject()
public CRasterFileInformation getActiveRasterFileInformation()
public CRasterFileSet getActiveRasterFileSet()
public CUser getActiveUser()
public CConnectionManager getConnectionManager()
public CInfoManager getInfoManager()
public COptionManager getOptionManager()
public java.util.List<CUser> getUsers() throws java.io.IOException
java.io.IOException
org.jdom.JDOMException
public boolean openProject(CUser user, CProject project, WorkerStatus wStatus, java.util.List<IProjectListener> projectListener) throws java.io.IOException, org.jdom.JDOMException, CRasterFileException
user
- project
- wStatus
- projectListener
-
java.io.IOException
org.jdom.JDOMException
CRasterFileException
public int resolveOptionDependenciesOnActiveFile() throws java.io.IOException
java.io.IOException
public void setActiveRasterFile()
public void setActiveRasterFile(CRasterFileInformation activeRasterFile)
activeRasterFile
- public void setActiveRasterFileSet(CRasterFileSet fileSet)
fileSet
- public void setActiveUser(CUser user)
user
- public void testMethod()
public void writeNewFile(CRasterFileInformation file)
file
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |