Package net.simplace.pipe.system
Class FWSystemModel
java.lang.Object
net.simplace.pipe.system.FWSystemModel
- Author:
- Andreas Enders
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
doesScenarioNameExist
(String aName) getChartStyle
(String aKey, FWObservable aObservable) void
org.jdom2.Element
getFeatureStyle
(String aKey) Returns a style from the .getFunction
(String aID) org.jdom2.Element
getGridStyle
(String aKey) Returns a style from the .getID()
getOID()
org.jdom2.Element
getScenarioByName
(String aName) int
void
void
removeScenario
(String aOID) void
saveScenario
(Map<String, Object> aParameterMap) void
-
Constructor Details
-
FWSystemModel
- Parameters:
aSystemElement
-- Throws:
SystemNotFoundException
-
-
Method Details
-
clone
-
getID
- Returns:
- the iD
-
getParameterMap
- Returns:
- the parameterMap
-
getFunction
- Parameters:
aID
-- Returns:
- the nextFunction
-
getChartStyle
- Parameters:
aKey
-aObservable
-- Returns:
- the choosen ChartStyle
-
getScenarioByName
- Parameters:
aName
-- Returns:
- the choosen scenario element
-
getFeatureStyle
Returns a style from the .- Parameters:
aKey
-- Returns:
- the chosen feature style
-
getGridStyle
Returns a style from the .- Parameters:
aKey
-- Returns:
- the chosen grid style
-
getStartFunctionModel
- Returns:
- the startFunction
-
getRemoveFunctionModel
- Returns:
- the startFunction
-
getScenarioFunctionModel
- Returns:
- the startFunction
-
getResultsFunctionModel
- Returns:
- the startFunction
-
getOID
- Returns:
- the oID
-
getRessourcPartList
- Returns:
- the ressourcPartList
-
getUserGroup
- Returns:
- the userGroup
-
getClientConfigName
- Returns:
- the userGroup
-
getInfoLocation
- Returns:
- the URL leading to Infos to the System
-
getClientConfigElement
- Throws:
SystemNotFoundException
-
initScenarioConfig
public void initScenarioConfig() -
getScenarioCount
public int getScenarioCount()- Returns:
- the number of scenarios in system
-
saveScenarioConfig
public void saveScenarioConfig() -
saveScenario
- Parameters:
aParameterMap
-- Throws:
AlreadyExistingException
-
removeScenario
- Parameters:
aOID
-
-
getScenarioMap
- Returns:
- ScenarioMap
-
doesScenarioNameExist
- Parameters:
aName
-- Returns:
- if scenario name already was used
-