Package net.officefloor.model.office
Class OfficeSubSectionModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.office.OfficeSubSectionModel
-
- All Implemented Interfaces:
ItemModel<OfficeSubSectionModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class OfficeSubSectionModel extends AbstractModel implements ItemModel<OfficeSubSectionModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OfficeSubSectionModel.OfficeSubSectionEvent
-
Constructor Summary
Constructors Constructor Description OfficeSubSectionModel()
Default constructor.OfficeSubSectionModel(java.lang.String officeSubSectionName)
Convenience constructor for new non-linked instance.OfficeSubSectionModel(java.lang.String officeSubSectionName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.OfficeSubSectionModel(java.lang.String officeSubSectionName, OfficeFunctionModel[] officeFunction, OfficeSectionManagedObjectModel[] officeSectionManagedObject, OfficeSubSectionModel[] officeSubSection, OfficeSubSectionToGovernanceModel[] governance)
Convenience constructor.OfficeSubSectionModel(java.lang.String officeSubSectionName, OfficeFunctionModel[] officeFunction, OfficeSectionManagedObjectModel[] officeSectionManagedObject, OfficeSubSectionModel[] officeSubSection, OfficeSubSectionToGovernanceModel[] 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
-
OfficeSubSectionModel
public OfficeSubSectionModel()
Default constructor.
-
OfficeSubSectionModel
public OfficeSubSectionModel(java.lang.String officeSubSectionName)
Convenience constructor for new non-linked instance.- Parameters:
officeSubSectionName
- Office sub section name.
-
OfficeSubSectionModel
public OfficeSubSectionModel(java.lang.String officeSubSectionName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
officeSubSectionName
- Office sub section name.x
- Horizontal location.y
- Vertical location.
-
OfficeSubSectionModel
public OfficeSubSectionModel(java.lang.String officeSubSectionName, OfficeFunctionModel[] officeFunction, OfficeSectionManagedObjectModel[] officeSectionManagedObject, OfficeSubSectionModel[] officeSubSection, OfficeSubSectionToGovernanceModel[] governance)
Convenience constructor.- Parameters:
officeSubSectionName
- Office sub section name.officeFunction
- Office function.officeSectionManagedObject
- Office section managed object.officeSubSection
- Office sub section.governance
- Governance.
-
OfficeSubSectionModel
public OfficeSubSectionModel(java.lang.String officeSubSectionName, OfficeFunctionModel[] officeFunction, OfficeSectionManagedObjectModel[] officeSectionManagedObject, OfficeSubSectionModel[] officeSubSection, OfficeSubSectionToGovernanceModel[] governance, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
officeSubSectionName
- Office sub section name.officeFunction
- Office function.officeSectionManagedObject
- Office section managed object.officeSubSection
- Office sub section.governance
- Governance.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getOfficeSubSectionName
public java.lang.String getOfficeSubSectionName()
- Returns:
- Office sub section name.
-
setOfficeSubSectionName
public void setOfficeSubSectionName(java.lang.String officeSubSectionName)
- Parameters:
officeSubSectionName
- Office sub section name.
-
getOfficeFunctions
public java.util.List<OfficeFunctionModel> getOfficeFunctions()
- Returns:
- Office function.
-
addOfficeFunction
public void addOfficeFunction(OfficeFunctionModel officeFunction)
- Parameters:
officeFunction
- Office function.
-
removeOfficeFunction
public void removeOfficeFunction(OfficeFunctionModel officeFunction)
- Parameters:
officeFunction
- Office function.
-
getOfficeSectionManagedObjects
public java.util.List<OfficeSectionManagedObjectModel> getOfficeSectionManagedObjects()
- Returns:
- Office section managed object.
-
addOfficeSectionManagedObject
public void addOfficeSectionManagedObject(OfficeSectionManagedObjectModel officeSectionManagedObject)
- Parameters:
officeSectionManagedObject
- Office section managed object.
-
removeOfficeSectionManagedObject
public void removeOfficeSectionManagedObject(OfficeSectionManagedObjectModel officeSectionManagedObject)
- Parameters:
officeSectionManagedObject
- Office section managed object.
-
getOfficeSubSections
public java.util.List<OfficeSubSectionModel> getOfficeSubSections()
- Returns:
- Office sub section.
-
addOfficeSubSection
public void addOfficeSubSection(OfficeSubSectionModel officeSubSection)
- Parameters:
officeSubSection
- Office sub section.
-
removeOfficeSubSection
public void removeOfficeSubSection(OfficeSubSectionModel officeSubSection)
- Parameters:
officeSubSection
- Office sub section.
-
getGovernances
public java.util.List<OfficeSubSectionToGovernanceModel> getGovernances()
- Returns:
- Governance.
-
addGovernance
public void addGovernance(OfficeSubSectionToGovernanceModel governance)
- Parameters:
governance
- Governance.
-
removeGovernance
public void removeGovernance(OfficeSubSectionToGovernanceModel governance)
- Parameters:
governance
- Governance.
-
removeConnections
public RemoveConnectionsAction<OfficeSubSectionModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<OfficeSubSectionModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-