Package net.officefloor.model.section
Class FunctionToNextExternalFlowModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.FunctionToNextExternalFlowModel
-
- All Implemented Interfaces:
ConnectionModel
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class FunctionToNextExternalFlowModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FunctionToNextExternalFlowModel.FunctionToNextExternalFlowEvent
-
Constructor Summary
Constructors Constructor Description FunctionToNextExternalFlowModel()
Default constructor.FunctionToNextExternalFlowModel(java.lang.String externalFlowName)
Convenience constructor for new non-linked instance.FunctionToNextExternalFlowModel(java.lang.String externalFlowName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.FunctionToNextExternalFlowModel(java.lang.String externalFlowName, FunctionModel previousFunction, ExternalFlowModel nextExternalFlow)
Convenience constructor.FunctionToNextExternalFlowModel(java.lang.String externalFlowName, FunctionModel previousFunction, ExternalFlowModel nextExternalFlow, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connect()
Connects to theAbstractModel
instances.java.lang.String
getExternalFlowName()
ExternalFlowModel
getNextExternalFlow()
FunctionModel
getPreviousFunction()
boolean
isRemovable()
Indicates if this connection is removable.void
remove()
Removes connection to theAbstractModel
instances.void
setExternalFlowName(java.lang.String externalFlowName)
void
setNextExternalFlow(ExternalFlowModel nextExternalFlow)
void
setPreviousFunction(FunctionModel previousFunction)
-
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
-
FunctionToNextExternalFlowModel
public FunctionToNextExternalFlowModel()
Default constructor.
-
FunctionToNextExternalFlowModel
public FunctionToNextExternalFlowModel(java.lang.String externalFlowName)
Convenience constructor for new non-linked instance.- Parameters:
externalFlowName
- External flow name.
-
FunctionToNextExternalFlowModel
public FunctionToNextExternalFlowModel(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.
-
FunctionToNextExternalFlowModel
public FunctionToNextExternalFlowModel(java.lang.String externalFlowName, FunctionModel previousFunction, ExternalFlowModel nextExternalFlow)
Convenience constructor.- Parameters:
externalFlowName
- External flow name.previousFunction
- Previous function.nextExternalFlow
- Next external flow.
-
FunctionToNextExternalFlowModel
public FunctionToNextExternalFlowModel(java.lang.String externalFlowName, FunctionModel previousFunction, ExternalFlowModel nextExternalFlow, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
externalFlowName
- External flow name.previousFunction
- Previous function.nextExternalFlow
- Next 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.
-
getPreviousFunction
public FunctionModel getPreviousFunction()
- Returns:
- Previous function.
-
setPreviousFunction
public void setPreviousFunction(FunctionModel previousFunction)
- Parameters:
previousFunction
- Previous function.
-
getNextExternalFlow
public ExternalFlowModel getNextExternalFlow()
- Returns:
- Next external flow.
-
setNextExternalFlow
public void setNextExternalFlow(ExternalFlowModel nextExternalFlow)
- Parameters:
nextExternalFlow
- Next external flow.
-
isRemovable
public boolean isRemovable()
Description copied from interface:ConnectionModel
Indicates if this connection is removable.- Specified by:
isRemovable
in interfaceConnectionModel
- Returns:
- Indicates if removable.
-
connect
public void connect()
Connects to theAbstractModel
instances.- Specified by:
connect
in interfaceConnectionModel
-
remove
public void remove()
Removes connection to theAbstractModel
instances.- Specified by:
remove
in interfaceConnectionModel
-
-