Package net.officefloor.model.section
Class FunctionEscalationModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.FunctionEscalationModel
-
- All Implemented Interfaces:
ItemModel<FunctionEscalationModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class FunctionEscalationModel extends AbstractModel implements ItemModel<FunctionEscalationModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FunctionEscalationModel.FunctionEscalationEvent
-
Constructor Summary
Constructors Constructor Description FunctionEscalationModel()
Default constructor.FunctionEscalationModel(java.lang.String escalationType)
Convenience constructor for new non-linked instance.FunctionEscalationModel(java.lang.String escalationType, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.FunctionEscalationModel(java.lang.String escalationType, FunctionEscalationToFunctionModel function, FunctionEscalationToExternalFlowModel externalFlow, FunctionEscalationToSubSectionInputModel subSectionInput)
Convenience constructor.FunctionEscalationModel(java.lang.String escalationType, FunctionEscalationToFunctionModel function, FunctionEscalationToExternalFlowModel externalFlow, FunctionEscalationToSubSectionInputModel subSectionInput, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEscalationType()
FunctionEscalationToExternalFlowModel
getExternalFlow()
FunctionEscalationToFunctionModel
getFunction()
FunctionEscalationToSubSectionInputModel
getSubSectionInput()
RemoveConnectionsAction<FunctionEscalationModel>
removeConnections()
Remove Connections.void
setEscalationType(java.lang.String escalationType)
void
setExternalFlow(FunctionEscalationToExternalFlowModel externalFlow)
void
setFunction(FunctionEscalationToFunctionModel function)
void
setSubSectionInput(FunctionEscalationToSubSectionInputModel subSectionInput)
-
Methods inherited from class net.officefloor.model.AbstractModel
addItemToList, addPropertyChangeListener, changeField, firePropertyChange, getX, getY, removeItemFromList, removePropertyChangeListener, setX, setY
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.model.Model
addPropertyChangeListener, getX, getY, removePropertyChangeListener, setX, setY
-
-
-
-
Constructor Detail
-
FunctionEscalationModel
public FunctionEscalationModel()
Default constructor.
-
FunctionEscalationModel
public FunctionEscalationModel(java.lang.String escalationType)
Convenience constructor for new non-linked instance.- Parameters:
escalationType
- Escalation type.
-
FunctionEscalationModel
public FunctionEscalationModel(java.lang.String escalationType, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
escalationType
- Escalation type.x
- Horizontal location.y
- Vertical location.
-
FunctionEscalationModel
public FunctionEscalationModel(java.lang.String escalationType, FunctionEscalationToFunctionModel function, FunctionEscalationToExternalFlowModel externalFlow, FunctionEscalationToSubSectionInputModel subSectionInput)
Convenience constructor.- Parameters:
escalationType
- Escalation type.function
- Function.externalFlow
- External flow.subSectionInput
- Sub section input.
-
FunctionEscalationModel
public FunctionEscalationModel(java.lang.String escalationType, FunctionEscalationToFunctionModel function, FunctionEscalationToExternalFlowModel externalFlow, FunctionEscalationToSubSectionInputModel subSectionInput, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
escalationType
- Escalation type.function
- Function.externalFlow
- External flow.subSectionInput
- Sub section input.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getEscalationType
public java.lang.String getEscalationType()
- Returns:
- Escalation type.
-
setEscalationType
public void setEscalationType(java.lang.String escalationType)
- Parameters:
escalationType
- Escalation type.
-
getFunction
public FunctionEscalationToFunctionModel getFunction()
- Returns:
- Function.
-
setFunction
public void setFunction(FunctionEscalationToFunctionModel function)
- Parameters:
function
- Function.
-
getExternalFlow
public FunctionEscalationToExternalFlowModel getExternalFlow()
- Returns:
- External flow.
-
setExternalFlow
public void setExternalFlow(FunctionEscalationToExternalFlowModel externalFlow)
- Parameters:
externalFlow
- External flow.
-
getSubSectionInput
public FunctionEscalationToSubSectionInputModel getSubSectionInput()
- Returns:
- Sub section input.
-
setSubSectionInput
public void setSubSectionInput(FunctionEscalationToSubSectionInputModel subSectionInput)
- Parameters:
subSectionInput
- Sub section input.
-
removeConnections
public RemoveConnectionsAction<FunctionEscalationModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<FunctionEscalationModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-