Package net.officefloor.model.office
Class OfficeModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.office.OfficeModel
-
- All Implemented Interfaces:
ItemModel<OfficeModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class OfficeModel extends AbstractModel implements ItemModel<OfficeModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OfficeModel.OfficeEvent
-
Constructor Summary
Constructors Constructor Description OfficeModel()
Default constructor.OfficeModel(boolean isAutoWireObjects, boolean isAutoWireTeams)
Convenience constructor for new non-linked instance.OfficeModel(boolean isAutoWireObjects, boolean isAutoWireTeams, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.OfficeModel(boolean isAutoWireObjects, boolean isAutoWireTeams, OfficeSectionModel[] officeSection, OfficeTeamModel[] officeTeam, OfficeSupplierModel[] officeSupplier, ExternalManagedObjectModel[] externalManagedObject, OfficeManagedObjectSourceModel[] officeManagedObjectSource, OfficeManagedObjectModel[] officeManagedObject, OfficeManagedObjectPoolModel[] officeManagedObjectPool, OfficeEscalationModel[] officeEscalation, AdministrationModel[] administration, GovernanceModel[] governance, OfficeStartModel[] officeStart)
Convenience constructor.OfficeModel(boolean isAutoWireObjects, boolean isAutoWireTeams, OfficeSectionModel[] officeSection, OfficeTeamModel[] officeTeam, OfficeSupplierModel[] officeSupplier, ExternalManagedObjectModel[] externalManagedObject, OfficeManagedObjectSourceModel[] officeManagedObjectSource, OfficeManagedObjectModel[] officeManagedObject, OfficeManagedObjectPoolModel[] officeManagedObjectPool, OfficeEscalationModel[] officeEscalation, AdministrationModel[] administration, GovernanceModel[] governance, OfficeStartModel[] officeStart, 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
-
OfficeModel
public OfficeModel()
Default constructor.
-
OfficeModel
public OfficeModel(boolean isAutoWireObjects, boolean isAutoWireTeams)
Convenience constructor for new non-linked instance.- Parameters:
isAutoWireObjects
- Is auto wire objects.isAutoWireTeams
- Is auto wire teams.
-
OfficeModel
public OfficeModel(boolean isAutoWireObjects, boolean isAutoWireTeams, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
isAutoWireObjects
- Is auto wire objects.isAutoWireTeams
- Is auto wire teams.x
- Horizontal location.y
- Vertical location.
-
OfficeModel
public OfficeModel(boolean isAutoWireObjects, boolean isAutoWireTeams, OfficeSectionModel[] officeSection, OfficeTeamModel[] officeTeam, OfficeSupplierModel[] officeSupplier, ExternalManagedObjectModel[] externalManagedObject, OfficeManagedObjectSourceModel[] officeManagedObjectSource, OfficeManagedObjectModel[] officeManagedObject, OfficeManagedObjectPoolModel[] officeManagedObjectPool, OfficeEscalationModel[] officeEscalation, AdministrationModel[] administration, GovernanceModel[] governance, OfficeStartModel[] officeStart)
Convenience constructor.- Parameters:
isAutoWireObjects
- Is auto wire objects.isAutoWireTeams
- Is auto wire teams.officeSection
- Office section.officeTeam
- Office team.officeSupplier
- Office supplier.externalManagedObject
- External managed object.officeManagedObjectSource
- Office managed object source.officeManagedObject
- Office managed object.officeManagedObjectPool
- Office managed object pool.officeEscalation
- Office escalation.administration
- Administration.governance
- Governance.officeStart
- Office start.
-
OfficeModel
public OfficeModel(boolean isAutoWireObjects, boolean isAutoWireTeams, OfficeSectionModel[] officeSection, OfficeTeamModel[] officeTeam, OfficeSupplierModel[] officeSupplier, ExternalManagedObjectModel[] externalManagedObject, OfficeManagedObjectSourceModel[] officeManagedObjectSource, OfficeManagedObjectModel[] officeManagedObject, OfficeManagedObjectPoolModel[] officeManagedObjectPool, OfficeEscalationModel[] officeEscalation, AdministrationModel[] administration, GovernanceModel[] governance, OfficeStartModel[] officeStart, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
isAutoWireObjects
- Is auto wire objects.isAutoWireTeams
- Is auto wire teams.officeSection
- Office section.officeTeam
- Office team.officeSupplier
- Office supplier.externalManagedObject
- External managed object.officeManagedObjectSource
- Office managed object source.officeManagedObject
- Office managed object.officeManagedObjectPool
- Office managed object pool.officeEscalation
- Office escalation.administration
- Administration.governance
- Governance.officeStart
- Office start.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getIsAutoWireObjects
public boolean getIsAutoWireObjects()
- Returns:
- Is auto wire objects.
-
setIsAutoWireObjects
public void setIsAutoWireObjects(boolean isAutoWireObjects)
- Parameters:
isAutoWireObjects
- Is auto wire objects.
-
getIsAutoWireTeams
public boolean getIsAutoWireTeams()
- Returns:
- Is auto wire teams.
-
setIsAutoWireTeams
public void setIsAutoWireTeams(boolean isAutoWireTeams)
- Parameters:
isAutoWireTeams
- Is auto wire teams.
-
getOfficeSections
public java.util.List<OfficeSectionModel> getOfficeSections()
- Returns:
- Office section.
-
addOfficeSection
public void addOfficeSection(OfficeSectionModel officeSection)
- Parameters:
officeSection
- Office section.
-
removeOfficeSection
public void removeOfficeSection(OfficeSectionModel officeSection)
- Parameters:
officeSection
- Office section.
-
getOfficeTeams
public java.util.List<OfficeTeamModel> getOfficeTeams()
- Returns:
- Office team.
-
addOfficeTeam
public void addOfficeTeam(OfficeTeamModel officeTeam)
- Parameters:
officeTeam
- Office team.
-
removeOfficeTeam
public void removeOfficeTeam(OfficeTeamModel officeTeam)
- Parameters:
officeTeam
- Office team.
-
getOfficeSuppliers
public java.util.List<OfficeSupplierModel> getOfficeSuppliers()
- Returns:
- Office supplier.
-
addOfficeSupplier
public void addOfficeSupplier(OfficeSupplierModel officeSupplier)
- Parameters:
officeSupplier
- Office supplier.
-
removeOfficeSupplier
public void removeOfficeSupplier(OfficeSupplierModel officeSupplier)
- Parameters:
officeSupplier
- Office supplier.
-
getExternalManagedObjects
public java.util.List<ExternalManagedObjectModel> getExternalManagedObjects()
- Returns:
- External managed object.
-
addExternalManagedObject
public void addExternalManagedObject(ExternalManagedObjectModel externalManagedObject)
- Parameters:
externalManagedObject
- External managed object.
-
removeExternalManagedObject
public void removeExternalManagedObject(ExternalManagedObjectModel externalManagedObject)
- Parameters:
externalManagedObject
- External managed object.
-
getOfficeManagedObjectSources
public java.util.List<OfficeManagedObjectSourceModel> getOfficeManagedObjectSources()
- Returns:
- Office managed object source.
-
addOfficeManagedObjectSource
public void addOfficeManagedObjectSource(OfficeManagedObjectSourceModel officeManagedObjectSource)
- Parameters:
officeManagedObjectSource
- Office managed object source.
-
removeOfficeManagedObjectSource
public void removeOfficeManagedObjectSource(OfficeManagedObjectSourceModel officeManagedObjectSource)
- Parameters:
officeManagedObjectSource
- Office managed object source.
-
getOfficeManagedObjects
public java.util.List<OfficeManagedObjectModel> getOfficeManagedObjects()
- Returns:
- Office managed object.
-
addOfficeManagedObject
public void addOfficeManagedObject(OfficeManagedObjectModel officeManagedObject)
- Parameters:
officeManagedObject
- Office managed object.
-
removeOfficeManagedObject
public void removeOfficeManagedObject(OfficeManagedObjectModel officeManagedObject)
- Parameters:
officeManagedObject
- Office managed object.
-
getOfficeManagedObjectPools
public java.util.List<OfficeManagedObjectPoolModel> getOfficeManagedObjectPools()
- Returns:
- Office managed object pool.
-
addOfficeManagedObjectPool
public void addOfficeManagedObjectPool(OfficeManagedObjectPoolModel officeManagedObjectPool)
- Parameters:
officeManagedObjectPool
- Office managed object pool.
-
removeOfficeManagedObjectPool
public void removeOfficeManagedObjectPool(OfficeManagedObjectPoolModel officeManagedObjectPool)
- Parameters:
officeManagedObjectPool
- Office managed object pool.
-
getOfficeEscalations
public java.util.List<OfficeEscalationModel> getOfficeEscalations()
- Returns:
- Office escalation.
-
addOfficeEscalation
public void addOfficeEscalation(OfficeEscalationModel officeEscalation)
- Parameters:
officeEscalation
- Office escalation.
-
removeOfficeEscalation
public void removeOfficeEscalation(OfficeEscalationModel officeEscalation)
- Parameters:
officeEscalation
- Office escalation.
-
getAdministrations
public java.util.List<AdministrationModel> getAdministrations()
- Returns:
- Administration.
-
addAdministration
public void addAdministration(AdministrationModel administration)
- Parameters:
administration
- Administration.
-
removeAdministration
public void removeAdministration(AdministrationModel administration)
- Parameters:
administration
- Administration.
-
getGovernances
public java.util.List<GovernanceModel> getGovernances()
- Returns:
- Governance.
-
addGovernance
public void addGovernance(GovernanceModel governance)
- Parameters:
governance
- Governance.
-
removeGovernance
public void removeGovernance(GovernanceModel governance)
- Parameters:
governance
- Governance.
-
getOfficeStarts
public java.util.List<OfficeStartModel> getOfficeStarts()
- Returns:
- Office start.
-
addOfficeStart
public void addOfficeStart(OfficeStartModel officeStart)
- Parameters:
officeStart
- Office start.
-
removeOfficeStart
public void removeOfficeStart(OfficeStartModel officeStart)
- Parameters:
officeStart
- Office start.
-
removeConnections
public RemoveConnectionsAction<OfficeModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<OfficeModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-