Package net.officefloor.model.section
Class SubSectionOutputToSubSectionInputModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.SubSectionOutputToSubSectionInputModel
-
- All Implemented Interfaces:
ConnectionModel,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class SubSectionOutputToSubSectionInputModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubSectionOutputToSubSectionInputModel.SubSectionOutputToSubSectionInputEvent
-
Constructor Summary
Constructors Constructor Description SubSectionOutputToSubSectionInputModel()Default constructor.SubSectionOutputToSubSectionInputModel(java.lang.String subSectionName, java.lang.String subSectionInputName)Convenience constructor for new non-linked instance.SubSectionOutputToSubSectionInputModel(java.lang.String subSectionName, java.lang.String subSectionInputName, int x, int y)Convenience constructor for new non-linked instance allowing XY initialising.SubSectionOutputToSubSectionInputModel(java.lang.String subSectionName, java.lang.String subSectionInputName, SubSectionOutputModel subSectionOutput, SubSectionInputModel subSectionInput)Convenience constructor.SubSectionOutputToSubSectionInputModel(java.lang.String subSectionName, java.lang.String subSectionInputName, SubSectionOutputModel subSectionOutput, SubSectionInputModel subSectionInput, int x, int y)Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnect()Connects to theAbstractModelinstances.SubSectionInputModelgetSubSectionInput()java.lang.StringgetSubSectionInputName()java.lang.StringgetSubSectionName()SubSectionOutputModelgetSubSectionOutput()booleanisRemovable()Indicates if this connection is removable.voidremove()Removes connection to theAbstractModelinstances.voidsetSubSectionInput(SubSectionInputModel subSectionInput)voidsetSubSectionInputName(java.lang.String subSectionInputName)voidsetSubSectionName(java.lang.String subSectionName)voidsetSubSectionOutput(SubSectionOutputModel subSectionOutput)-
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
-
SubSectionOutputToSubSectionInputModel
public SubSectionOutputToSubSectionInputModel()
Default constructor.
-
SubSectionOutputToSubSectionInputModel
public SubSectionOutputToSubSectionInputModel(java.lang.String subSectionName, java.lang.String subSectionInputName)Convenience constructor for new non-linked instance.- Parameters:
subSectionName- Sub section name.subSectionInputName- Sub section input name.
-
SubSectionOutputToSubSectionInputModel
public SubSectionOutputToSubSectionInputModel(java.lang.String subSectionName, java.lang.String subSectionInputName, int x, int y)Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
subSectionName- Sub section name.subSectionInputName- Sub section input name.x- Horizontal location.y- Vertical location.
-
SubSectionOutputToSubSectionInputModel
public SubSectionOutputToSubSectionInputModel(java.lang.String subSectionName, java.lang.String subSectionInputName, SubSectionOutputModel subSectionOutput, SubSectionInputModel subSectionInput)Convenience constructor.- Parameters:
subSectionName- Sub section name.subSectionInputName- Sub section input name.subSectionOutput- Sub section output.subSectionInput- Sub section input.
-
SubSectionOutputToSubSectionInputModel
public SubSectionOutputToSubSectionInputModel(java.lang.String subSectionName, java.lang.String subSectionInputName, SubSectionOutputModel subSectionOutput, SubSectionInputModel subSectionInput, int x, int y)Convenience constructor allowing XY initialising.- Parameters:
subSectionName- Sub section name.subSectionInputName- Sub section input name.subSectionOutput- Sub section output.subSectionInput- Sub section input.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.
-
getSubSectionInputName
public java.lang.String getSubSectionInputName()
- Returns:
- Sub section input name.
-
setSubSectionInputName
public void setSubSectionInputName(java.lang.String subSectionInputName)
- Parameters:
subSectionInputName- Sub section input name.
-
getSubSectionOutput
public SubSectionOutputModel getSubSectionOutput()
- Returns:
- Sub section output.
-
setSubSectionOutput
public void setSubSectionOutput(SubSectionOutputModel subSectionOutput)
- Parameters:
subSectionOutput- Sub section output.
-
getSubSectionInput
public SubSectionInputModel getSubSectionInput()
- Returns:
- Sub section input.
-
setSubSectionInput
public void setSubSectionInput(SubSectionInputModel subSectionInput)
- Parameters:
subSectionInput- Sub section input.
-
isRemovable
public boolean isRemovable()
Description copied from interface:ConnectionModelIndicates if this connection is removable.- Specified by:
isRemovablein interfaceConnectionModel- Returns:
- Indicates if removable.
-
connect
public void connect()
Connects to theAbstractModelinstances.- Specified by:
connectin interfaceConnectionModel
-
remove
public void remove()
Removes connection to theAbstractModelinstances.- Specified by:
removein interfaceConnectionModel
-
-