public class SelectionModel
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SelectionModel.FlowType
The Enumeration for the different energy or good flow types.
|
Constructor and Description |
---|
SelectionModel()
Instantiates a new selection model.
|
SelectionModel(OptionModelController optionModelController)
Instantiates a new selection model that .
|
SelectionModel(OptionModelController optionModelController,
boolean doControllerNotifications)
Instantiates a new selection model.
|
Modifier and Type | Method and Description |
---|---|
SelectionModel |
getCopy()
Returns a copy of the current SelectionModel - instance.
|
AbstractFlow |
getSelectedFlow()
Returns the selected flow (energy or good).
|
State |
getSelectedState()
Gets the selected state.
|
StateTransition |
getSelectedStateTransition()
Gets the selected state transition.
|
TechnicalInterface |
getSelectedTechnicalInterface()
Gets the selected technical interface.
|
TechnicalInterfaceConfiguration |
getSelectedTechnicalInterfaceConfiguration()
Gets the selected technical interface configuration.
|
TechnicalSystemState |
getSelectedTechnicalSystemState()
Gets the selected technical system state.
|
void |
setSelectedFlow(AbstractFlow selectedFlow)
Sets the selected flow (energy or good).
|
void |
setSelectedState(State selectedState)
Sets the selected state.
|
void |
setSelectedStateTransition(StateTransition selectedStateTransition)
Sets the selected state transition.
|
void |
setSelectedTechnicalInterface(TechnicalInterface selectedTechnicalInterface)
Sets the selected technical interface.
|
void |
setSelectedTechnicalInterfaceConfiguration(TechnicalInterfaceConfiguration selectedTechnicalInterfaceConfiguration)
Sets the selected technical interface configuration.
|
void |
setSelectedTechnicalSystemState(TechnicalSystemState selectedTechnicalSystemState)
Sets the selected technical system state.
|
public SelectionModel()
public SelectionModel(OptionModelController optionModelController)
optionModelController
- the current option model controllerpublic SelectionModel(OptionModelController optionModelController, boolean doControllerNotifications)
optionModelController
- the option model controllerdoControllerNotifications
- the do option model controller notificationspublic SelectionModel getCopy()
public TechnicalSystemState getSelectedTechnicalSystemState()
public void setSelectedTechnicalSystemState(TechnicalSystemState selectedTechnicalSystemState)
selectedTechnicalSystemState
- the new selected technical system statepublic TechnicalInterfaceConfiguration getSelectedTechnicalInterfaceConfiguration()
public void setSelectedTechnicalInterfaceConfiguration(TechnicalInterfaceConfiguration selectedTechnicalInterfaceConfiguration)
selectedTechnicalInterfaceConfiguration
- the new selected technical interface configurationpublic TechnicalInterface getSelectedTechnicalInterface()
public void setSelectedTechnicalInterface(TechnicalInterface selectedTechnicalInterface)
selectedTechnicalInterface
- the new selected technical interfacepublic State getSelectedState()
public void setSelectedState(State selectedState)
selectedState
- the new selected statepublic StateTransition getSelectedStateTransition()
public void setSelectedStateTransition(StateTransition selectedStateTransition)
selectedStateTransition
- the new selected state transitionpublic AbstractFlow getSelectedFlow()
public void setSelectedFlow(AbstractFlow selectedFlow)
selectedFlow
- the new selected flow