Package net.officefloor.model.office
Class OfficeSectionModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.office.OfficeSectionModel
-
- All Implemented Interfaces:
ItemModel<OfficeSectionModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class OfficeSectionModel extends AbstractModel implements ItemModel<OfficeSectionModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OfficeSectionModel.OfficeSectionEvent
-
Constructor Summary
Constructors Constructor Description OfficeSectionModel()
Default constructor.OfficeSectionModel(java.lang.String officeSectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation)
Convenience constructor for new non-linked instance.OfficeSectionModel(java.lang.String officeSectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.OfficeSectionModel(java.lang.String officeSectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation, OfficeSubSectionModel officeSubSection, PropertyModel[] property, OfficeSectionInputModel[] officeSectionInput, OfficeSectionOutputModel[] officeSectionOutput, OfficeSectionObjectModel[] officeSectionObject)
Convenience constructor.OfficeSectionModel(java.lang.String officeSectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation, OfficeSubSectionModel officeSubSection, PropertyModel[] property, OfficeSectionInputModel[] officeSectionInput, OfficeSectionOutputModel[] officeSectionOutput, OfficeSectionObjectModel[] officeSectionObject, 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
-
OfficeSectionModel
public OfficeSectionModel()
Default constructor.
-
OfficeSectionModel
public OfficeSectionModel(java.lang.String officeSectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation)
Convenience constructor for new non-linked instance.- Parameters:
officeSectionName
- Office section name.sectionSourceClassName
- Section source class name.sectionLocation
- Section location.
-
OfficeSectionModel
public OfficeSectionModel(java.lang.String officeSectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
officeSectionName
- Office section name.sectionSourceClassName
- Section source class name.sectionLocation
- Section location.x
- Horizontal location.y
- Vertical location.
-
OfficeSectionModel
public OfficeSectionModel(java.lang.String officeSectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation, OfficeSubSectionModel officeSubSection, PropertyModel[] property, OfficeSectionInputModel[] officeSectionInput, OfficeSectionOutputModel[] officeSectionOutput, OfficeSectionObjectModel[] officeSectionObject)
Convenience constructor.- Parameters:
officeSectionName
- Office section name.sectionSourceClassName
- Section source class name.sectionLocation
- Section location.officeSubSection
- Office sub section.property
- Property.officeSectionInput
- Office section input.officeSectionOutput
- Office section output.officeSectionObject
- Office section object.
-
OfficeSectionModel
public OfficeSectionModel(java.lang.String officeSectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation, OfficeSubSectionModel officeSubSection, PropertyModel[] property, OfficeSectionInputModel[] officeSectionInput, OfficeSectionOutputModel[] officeSectionOutput, OfficeSectionObjectModel[] officeSectionObject, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
officeSectionName
- Office section name.sectionSourceClassName
- Section source class name.sectionLocation
- Section location.officeSubSection
- Office sub section.property
- Property.officeSectionInput
- Office section input.officeSectionOutput
- Office section output.officeSectionObject
- Office section object.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getOfficeSectionName
public java.lang.String getOfficeSectionName()
- Returns:
- Office section name.
-
setOfficeSectionName
public void setOfficeSectionName(java.lang.String officeSectionName)
- Parameters:
officeSectionName
- Office section name.
-
getSectionSourceClassName
public java.lang.String getSectionSourceClassName()
- Returns:
- Section source class name.
-
setSectionSourceClassName
public void setSectionSourceClassName(java.lang.String sectionSourceClassName)
- Parameters:
sectionSourceClassName
- Section source class name.
-
getSectionLocation
public java.lang.String getSectionLocation()
- Returns:
- Section location.
-
setSectionLocation
public void setSectionLocation(java.lang.String sectionLocation)
- Parameters:
sectionLocation
- Section location.
-
getOfficeSubSection
public OfficeSubSectionModel getOfficeSubSection()
- Returns:
- Office sub section.
-
setOfficeSubSection
public void setOfficeSubSection(OfficeSubSectionModel officeSubSection)
- Parameters:
officeSubSection
- Office sub section.
-
getProperties
public java.util.List<PropertyModel> getProperties()
- Returns:
- Property.
-
addProperty
public void addProperty(PropertyModel property)
- Parameters:
property
- Property.
-
removeProperty
public void removeProperty(PropertyModel property)
- Parameters:
property
- Property.
-
getOfficeSectionInputs
public java.util.List<OfficeSectionInputModel> getOfficeSectionInputs()
- Returns:
- Office section input.
-
addOfficeSectionInput
public void addOfficeSectionInput(OfficeSectionInputModel officeSectionInput)
- Parameters:
officeSectionInput
- Office section input.
-
removeOfficeSectionInput
public void removeOfficeSectionInput(OfficeSectionInputModel officeSectionInput)
- Parameters:
officeSectionInput
- Office section input.
-
getOfficeSectionOutputs
public java.util.List<OfficeSectionOutputModel> getOfficeSectionOutputs()
- Returns:
- Office section output.
-
addOfficeSectionOutput
public void addOfficeSectionOutput(OfficeSectionOutputModel officeSectionOutput)
- Parameters:
officeSectionOutput
- Office section output.
-
removeOfficeSectionOutput
public void removeOfficeSectionOutput(OfficeSectionOutputModel officeSectionOutput)
- Parameters:
officeSectionOutput
- Office section output.
-
getOfficeSectionObjects
public java.util.List<OfficeSectionObjectModel> getOfficeSectionObjects()
- Returns:
- Office section object.
-
addOfficeSectionObject
public void addOfficeSectionObject(OfficeSectionObjectModel officeSectionObject)
- Parameters:
officeSectionObject
- Office section object.
-
removeOfficeSectionObject
public void removeOfficeSectionObject(OfficeSectionObjectModel officeSectionObject)
- Parameters:
officeSectionObject
- Office section object.
-
removeConnections
public RemoveConnectionsAction<OfficeSectionModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<OfficeSectionModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-