Package net.simplace.pipe.system
Class FWSystemModel
java.lang.Object
net.simplace.pipe.system.FWSystemModel
- Author:
- Andreas Enders
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleandoesScenarioNameExist(String aName) getChartStyle(String aKey, FWObservable aObservable) voidorg.jdom2.ElementgetFeatureStyle(String aKey) Returns a style from the .getFunction(String aID) org.jdom2.ElementgetGridStyle(String aKey) Returns a style from the .getID()getOID()org.jdom2.ElementgetScenarioByName(String aName) intvoidvoidremoveScenario(String aOID) voidsaveScenario(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
-