Package net.officefloor.model.office
Class OfficeEscalationModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.office.OfficeEscalationModel
-
- All Implemented Interfaces:
ItemModel<OfficeEscalationModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class OfficeEscalationModel extends AbstractModel implements ItemModel<OfficeEscalationModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OfficeEscalationModel.OfficeEscalationEvent
-
Constructor Summary
Constructors Constructor Description OfficeEscalationModel()
Default constructor.OfficeEscalationModel(java.lang.String escalationType)
Convenience constructor for new non-linked instance.OfficeEscalationModel(java.lang.String escalationType, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.OfficeEscalationModel(java.lang.String escalationType, OfficeEscalationToOfficeSectionInputModel officeSectionInput)
Convenience constructor.OfficeEscalationModel(java.lang.String escalationType, OfficeEscalationToOfficeSectionInputModel officeSectionInput, 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()
OfficeEscalationToOfficeSectionInputModel
getOfficeSectionInput()
RemoveConnectionsAction<OfficeEscalationModel>
removeConnections()
Remove Connections.void
setEscalationType(java.lang.String escalationType)
void
setOfficeSectionInput(OfficeEscalationToOfficeSectionInputModel officeSectionInput)
-
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
-
OfficeEscalationModel
public OfficeEscalationModel()
Default constructor.
-
OfficeEscalationModel
public OfficeEscalationModel(java.lang.String escalationType)
Convenience constructor for new non-linked instance.- Parameters:
escalationType
- Escalation type.
-
OfficeEscalationModel
public OfficeEscalationModel(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.
-
OfficeEscalationModel
public OfficeEscalationModel(java.lang.String escalationType, OfficeEscalationToOfficeSectionInputModel officeSectionInput)
Convenience constructor.- Parameters:
escalationType
- Escalation type.officeSectionInput
- Office section input.
-
OfficeEscalationModel
public OfficeEscalationModel(java.lang.String escalationType, OfficeEscalationToOfficeSectionInputModel officeSectionInput, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
escalationType
- Escalation type.officeSectionInput
- Office 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.
-
getOfficeSectionInput
public OfficeEscalationToOfficeSectionInputModel getOfficeSectionInput()
- Returns:
- Office section input.
-
setOfficeSectionInput
public void setOfficeSectionInput(OfficeEscalationToOfficeSectionInputModel officeSectionInput)
- Parameters:
officeSectionInput
- Office section input.
-
removeConnections
public RemoveConnectionsAction<OfficeEscalationModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<OfficeEscalationModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-