Package net.officefloor.model.office
Class OfficeFunctionModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.office.OfficeFunctionModel
-
- All Implemented Interfaces:
ItemModel<OfficeFunctionModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class OfficeFunctionModel extends AbstractModel implements ItemModel<OfficeFunctionModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OfficeFunctionModel.OfficeFunctionEvent
-
Constructor Summary
Constructors Constructor Description OfficeFunctionModel()
Default constructor.OfficeFunctionModel(java.lang.String officeFunctionName)
Convenience constructor for new non-linked instance.OfficeFunctionModel(java.lang.String officeFunctionName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.OfficeFunctionModel(java.lang.String officeFunctionName, OfficeFunctionToOfficeTeamModel officeTeam, OfficeFunctionToPreAdministrationModel[] preAdministration, OfficeFunctionToPostAdministrationModel[] postAdministration, OfficeFunctionToGovernanceModel[] governance)
Convenience constructor.OfficeFunctionModel(java.lang.String officeFunctionName, OfficeFunctionToOfficeTeamModel officeTeam, OfficeFunctionToPreAdministrationModel[] preAdministration, OfficeFunctionToPostAdministrationModel[] postAdministration, OfficeFunctionToGovernanceModel[] governance, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
-
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
-
OfficeFunctionModel
public OfficeFunctionModel()
Default constructor.
-
OfficeFunctionModel
public OfficeFunctionModel(java.lang.String officeFunctionName)
Convenience constructor for new non-linked instance.- Parameters:
officeFunctionName
- Office function name.
-
OfficeFunctionModel
public OfficeFunctionModel(java.lang.String officeFunctionName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
officeFunctionName
- Office function name.x
- Horizontal location.y
- Vertical location.
-
OfficeFunctionModel
public OfficeFunctionModel(java.lang.String officeFunctionName, OfficeFunctionToOfficeTeamModel officeTeam, OfficeFunctionToPreAdministrationModel[] preAdministration, OfficeFunctionToPostAdministrationModel[] postAdministration, OfficeFunctionToGovernanceModel[] governance)
Convenience constructor.- Parameters:
officeFunctionName
- Office function name.officeTeam
- Office team.preAdministration
- Pre administration.postAdministration
- Post administration.governance
- Governance.
-
OfficeFunctionModel
public OfficeFunctionModel(java.lang.String officeFunctionName, OfficeFunctionToOfficeTeamModel officeTeam, OfficeFunctionToPreAdministrationModel[] preAdministration, OfficeFunctionToPostAdministrationModel[] postAdministration, OfficeFunctionToGovernanceModel[] governance, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
officeFunctionName
- Office function name.officeTeam
- Office team.preAdministration
- Pre administration.postAdministration
- Post administration.governance
- Governance.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getOfficeFunctionName
public java.lang.String getOfficeFunctionName()
- Returns:
- Office function name.
-
setOfficeFunctionName
public void setOfficeFunctionName(java.lang.String officeFunctionName)
- Parameters:
officeFunctionName
- Office function name.
-
getOfficeTeam
public OfficeFunctionToOfficeTeamModel getOfficeTeam()
- Returns:
- Office team.
-
setOfficeTeam
public void setOfficeTeam(OfficeFunctionToOfficeTeamModel officeTeam)
- Parameters:
officeTeam
- Office team.
-
getPreAdministrations
public java.util.List<OfficeFunctionToPreAdministrationModel> getPreAdministrations()
- Returns:
- Pre administration.
-
addPreAdministration
public void addPreAdministration(OfficeFunctionToPreAdministrationModel preAdministration)
- Parameters:
preAdministration
- Pre administration.
-
removePreAdministration
public void removePreAdministration(OfficeFunctionToPreAdministrationModel preAdministration)
- Parameters:
preAdministration
- Pre administration.
-
getPostAdministrations
public java.util.List<OfficeFunctionToPostAdministrationModel> getPostAdministrations()
- Returns:
- Post administration.
-
addPostAdministration
public void addPostAdministration(OfficeFunctionToPostAdministrationModel postAdministration)
- Parameters:
postAdministration
- Post administration.
-
removePostAdministration
public void removePostAdministration(OfficeFunctionToPostAdministrationModel postAdministration)
- Parameters:
postAdministration
- Post administration.
-
getGovernances
public java.util.List<OfficeFunctionToGovernanceModel> getGovernances()
- Returns:
- Governance.
-
addGovernance
public void addGovernance(OfficeFunctionToGovernanceModel governance)
- Parameters:
governance
- Governance.
-
removeGovernance
public void removeGovernance(OfficeFunctionToGovernanceModel governance)
- Parameters:
governance
- Governance.
-
removeConnections
public RemoveConnectionsAction<OfficeFunctionModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<OfficeFunctionModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-