Package net.officefloor.model.office
Class OfficeStartModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.office.OfficeStartModel
-
- All Implemented Interfaces:
ItemModel<OfficeStartModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class OfficeStartModel extends AbstractModel implements ItemModel<OfficeStartModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OfficeStartModel.OfficeStartEvent
-
Constructor Summary
Constructors Constructor Description OfficeStartModel()
Default constructor.OfficeStartModel(java.lang.String startName)
Convenience constructor for new non-linked instance.OfficeStartModel(java.lang.String startName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.OfficeStartModel(java.lang.String startName, OfficeStartToOfficeSectionInputModel officeSectionInput)
Convenience constructor.OfficeStartModel(java.lang.String startName, OfficeStartToOfficeSectionInputModel officeSectionInput, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OfficeStartToOfficeSectionInputModel
getOfficeSectionInput()
java.lang.String
getStartName()
RemoveConnectionsAction<OfficeStartModel>
removeConnections()
Remove Connections.void
setOfficeSectionInput(OfficeStartToOfficeSectionInputModel officeSectionInput)
void
setStartName(java.lang.String startName)
-
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
-
OfficeStartModel
public OfficeStartModel()
Default constructor.
-
OfficeStartModel
public OfficeStartModel(java.lang.String startName)
Convenience constructor for new non-linked instance.- Parameters:
startName
- Start name.
-
OfficeStartModel
public OfficeStartModel(java.lang.String startName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
startName
- Start name.x
- Horizontal location.y
- Vertical location.
-
OfficeStartModel
public OfficeStartModel(java.lang.String startName, OfficeStartToOfficeSectionInputModel officeSectionInput)
Convenience constructor.- Parameters:
startName
- Start name.officeSectionInput
- Office section input.
-
OfficeStartModel
public OfficeStartModel(java.lang.String startName, OfficeStartToOfficeSectionInputModel officeSectionInput, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
startName
- Start name.officeSectionInput
- Office section input.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getStartName
public java.lang.String getStartName()
- Returns:
- Start name.
-
setStartName
public void setStartName(java.lang.String startName)
- Parameters:
startName
- Start name.
-
getOfficeSectionInput
public OfficeStartToOfficeSectionInputModel getOfficeSectionInput()
- Returns:
- Office section input.
-
setOfficeSectionInput
public void setOfficeSectionInput(OfficeStartToOfficeSectionInputModel officeSectionInput)
- Parameters:
officeSectionInput
- Office section input.
-
removeConnections
public RemoveConnectionsAction<OfficeStartModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<OfficeStartModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-