Package net.officefloor.model.section
Class SubSectionModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.SubSectionModel
-
- All Implemented Interfaces:
ItemModel<SubSectionModel>,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class SubSectionModel extends AbstractModel implements ItemModel<SubSectionModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubSectionModel.SubSectionEvent
-
Constructor Summary
Constructors Constructor Description SubSectionModel()Default constructor.SubSectionModel(java.lang.String subSectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation)Convenience constructor for new non-linked instance.SubSectionModel(java.lang.String subSectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation, int x, int y)Convenience constructor for new non-linked instance allowing XY initialising.SubSectionModel(java.lang.String subSectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation, PropertyModel[] property, SubSectionInputModel[] subSectionInput, SubSectionOutputModel[] subSectionOutput, SubSectionObjectModel[] subSectionObject)Convenience constructor.SubSectionModel(java.lang.String subSectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation, PropertyModel[] property, SubSectionInputModel[] subSectionInput, SubSectionOutputModel[] subSectionOutput, SubSectionObjectModel[] subSectionObject, 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
-
SubSectionModel
public SubSectionModel()
Default constructor.
-
SubSectionModel
public SubSectionModel(java.lang.String subSectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation)Convenience constructor for new non-linked instance.- Parameters:
subSectionName- Sub section name.sectionSourceClassName- Section source class name.sectionLocation- Section location.
-
SubSectionModel
public SubSectionModel(java.lang.String subSectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation, int x, int y)Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
subSectionName- Sub section name.sectionSourceClassName- Section source class name.sectionLocation- Section location.x- Horizontal location.y- Vertical location.
-
SubSectionModel
public SubSectionModel(java.lang.String subSectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation, PropertyModel[] property, SubSectionInputModel[] subSectionInput, SubSectionOutputModel[] subSectionOutput, SubSectionObjectModel[] subSectionObject)Convenience constructor.- Parameters:
subSectionName- Sub section name.sectionSourceClassName- Section source class name.sectionLocation- Section location.property- Property.subSectionInput- Sub section input.subSectionOutput- Sub section output.subSectionObject- Sub section object.
-
SubSectionModel
public SubSectionModel(java.lang.String subSectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation, PropertyModel[] property, SubSectionInputModel[] subSectionInput, SubSectionOutputModel[] subSectionOutput, SubSectionObjectModel[] subSectionObject, int x, int y)Convenience constructor allowing XY initialising.- Parameters:
subSectionName- Sub section name.sectionSourceClassName- Section source class name.sectionLocation- Section location.property- Property.subSectionInput- Sub section input.subSectionOutput- Sub section output.subSectionObject- Sub section object.x- Horizontal location.y- Vertical location.
-
-
Method Detail
-
getSubSectionName
public java.lang.String getSubSectionName()
- Returns:
- Sub section name.
-
setSubSectionName
public void setSubSectionName(java.lang.String subSectionName)
- Parameters:
subSectionName- Sub 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.
-
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.
-
getSubSectionInputs
public java.util.List<SubSectionInputModel> getSubSectionInputs()
- Returns:
- Sub section input.
-
addSubSectionInput
public void addSubSectionInput(SubSectionInputModel subSectionInput)
- Parameters:
subSectionInput- Sub section input.
-
removeSubSectionInput
public void removeSubSectionInput(SubSectionInputModel subSectionInput)
- Parameters:
subSectionInput- Sub section input.
-
getSubSectionOutputs
public java.util.List<SubSectionOutputModel> getSubSectionOutputs()
- Returns:
- Sub section output.
-
addSubSectionOutput
public void addSubSectionOutput(SubSectionOutputModel subSectionOutput)
- Parameters:
subSectionOutput- Sub section output.
-
removeSubSectionOutput
public void removeSubSectionOutput(SubSectionOutputModel subSectionOutput)
- Parameters:
subSectionOutput- Sub section output.
-
getSubSectionObjects
public java.util.List<SubSectionObjectModel> getSubSectionObjects()
- Returns:
- Sub section object.
-
addSubSectionObject
public void addSubSectionObject(SubSectionObjectModel subSectionObject)
- Parameters:
subSectionObject- Sub section object.
-
removeSubSectionObject
public void removeSubSectionObject(SubSectionObjectModel subSectionObject)
- Parameters:
subSectionObject- Sub section object.
-
removeConnections
public RemoveConnectionsAction<SubSectionModel> removeConnections()
Remove Connections.- Specified by:
removeConnectionsin interfaceItemModel<SubSectionModel>- Returns:
RemoveConnectionsActionto remove theConnectionModelinstances.
-
-