Package net.officefloor.model.section
Class SubSectionOutputToExternalFlowModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.SubSectionOutputToExternalFlowModel
-
- All Implemented Interfaces:
ConnectionModel,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class SubSectionOutputToExternalFlowModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubSectionOutputToExternalFlowModel.SubSectionOutputToExternalFlowEvent
-
Constructor Summary
Constructors Constructor Description SubSectionOutputToExternalFlowModel()Default constructor.SubSectionOutputToExternalFlowModel(java.lang.String externalFlowName)Convenience constructor for new non-linked instance.SubSectionOutputToExternalFlowModel(java.lang.String externalFlowName, int x, int y)Convenience constructor for new non-linked instance allowing XY initialising.SubSectionOutputToExternalFlowModel(java.lang.String externalFlowName, SubSectionOutputModel subSectionOutput, ExternalFlowModel externalFlow)Convenience constructor.SubSectionOutputToExternalFlowModel(java.lang.String externalFlowName, SubSectionOutputModel subSectionOutput, ExternalFlowModel externalFlow, 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.ExternalFlowModelgetExternalFlow()java.lang.StringgetExternalFlowName()SubSectionOutputModelgetSubSectionOutput()booleanisRemovable()Indicates if this connection is removable.voidremove()Removes connection to theAbstractModelinstances.voidsetExternalFlow(ExternalFlowModel externalFlow)voidsetExternalFlowName(java.lang.String externalFlowName)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
-
SubSectionOutputToExternalFlowModel
public SubSectionOutputToExternalFlowModel()
Default constructor.
-
SubSectionOutputToExternalFlowModel
public SubSectionOutputToExternalFlowModel(java.lang.String externalFlowName)
Convenience constructor for new non-linked instance.- Parameters:
externalFlowName- External flow name.
-
SubSectionOutputToExternalFlowModel
public SubSectionOutputToExternalFlowModel(java.lang.String externalFlowName, int x, int y)Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
externalFlowName- External flow name.x- Horizontal location.y- Vertical location.
-
SubSectionOutputToExternalFlowModel
public SubSectionOutputToExternalFlowModel(java.lang.String externalFlowName, SubSectionOutputModel subSectionOutput, ExternalFlowModel externalFlow)Convenience constructor.- Parameters:
externalFlowName- External flow name.subSectionOutput- Sub section output.externalFlow- External flow.
-
SubSectionOutputToExternalFlowModel
public SubSectionOutputToExternalFlowModel(java.lang.String externalFlowName, SubSectionOutputModel subSectionOutput, ExternalFlowModel externalFlow, int x, int y)Convenience constructor allowing XY initialising.- Parameters:
externalFlowName- External flow name.subSectionOutput- Sub section output.externalFlow- External flow.x- Horizontal location.y- Vertical location.
-
-
Method Detail
-
getExternalFlowName
public java.lang.String getExternalFlowName()
- Returns:
- External flow name.
-
setExternalFlowName
public void setExternalFlowName(java.lang.String externalFlowName)
- Parameters:
externalFlowName- External flow name.
-
getSubSectionOutput
public SubSectionOutputModel getSubSectionOutput()
- Returns:
- Sub section output.
-
setSubSectionOutput
public void setSubSectionOutput(SubSectionOutputModel subSectionOutput)
- Parameters:
subSectionOutput- Sub section output.
-
getExternalFlow
public ExternalFlowModel getExternalFlow()
- Returns:
- External flow.
-
setExternalFlow
public void setExternalFlow(ExternalFlowModel externalFlow)
- Parameters:
externalFlow- External flow.
-
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
-
-