Package net.officefloor.model.section
Class FunctionFlowToExternalFlowModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.FunctionFlowToExternalFlowModel
-
- All Implemented Interfaces:
ConnectionModel
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class FunctionFlowToExternalFlowModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FunctionFlowToExternalFlowModel.FunctionFlowToExternalFlowEvent
-
Constructor Summary
Constructors Constructor Description FunctionFlowToExternalFlowModel()
Default constructor.FunctionFlowToExternalFlowModel(java.lang.String externalFlowName, boolean isSpawnThreadState)
Convenience constructor for new non-linked instance.FunctionFlowToExternalFlowModel(java.lang.String externalFlowName, boolean isSpawnThreadState, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.FunctionFlowToExternalFlowModel(java.lang.String externalFlowName, FunctionFlowModel functionFlow, ExternalFlowModel externalFlow, boolean isSpawnThreadState)
Convenience constructor.FunctionFlowToExternalFlowModel(java.lang.String externalFlowName, FunctionFlowModel functionFlow, ExternalFlowModel externalFlow, boolean isSpawnThreadState, 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.ExternalFlowModel
getExternalFlow()
java.lang.String
getExternalFlowName()
FunctionFlowModel
getFunctionFlow()
boolean
getIsSpawnThreadState()
boolean
isRemovable()
Indicates if this connection is removable.void
remove()
Removes connection to theAbstractModel
instances.void
setExternalFlow(ExternalFlowModel externalFlow)
void
setExternalFlowName(java.lang.String externalFlowName)
void
setFunctionFlow(FunctionFlowModel functionFlow)
void
setIsSpawnThreadState(boolean isSpawnThreadState)
-
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
-
FunctionFlowToExternalFlowModel
public FunctionFlowToExternalFlowModel()
Default constructor.
-
FunctionFlowToExternalFlowModel
public FunctionFlowToExternalFlowModel(java.lang.String externalFlowName, boolean isSpawnThreadState)
Convenience constructor for new non-linked instance.- Parameters:
externalFlowName
- External flow name.isSpawnThreadState
- Is spawn thread state.
-
FunctionFlowToExternalFlowModel
public FunctionFlowToExternalFlowModel(java.lang.String externalFlowName, boolean isSpawnThreadState, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
externalFlowName
- External flow name.isSpawnThreadState
- Is spawn thread state.x
- Horizontal location.y
- Vertical location.
-
FunctionFlowToExternalFlowModel
public FunctionFlowToExternalFlowModel(java.lang.String externalFlowName, FunctionFlowModel functionFlow, ExternalFlowModel externalFlow, boolean isSpawnThreadState)
Convenience constructor.- Parameters:
externalFlowName
- External flow name.functionFlow
- Function flow.externalFlow
- External flow.isSpawnThreadState
- Is spawn thread state.
-
FunctionFlowToExternalFlowModel
public FunctionFlowToExternalFlowModel(java.lang.String externalFlowName, FunctionFlowModel functionFlow, ExternalFlowModel externalFlow, boolean isSpawnThreadState, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
externalFlowName
- External flow name.functionFlow
- Function flow.externalFlow
- External flow.isSpawnThreadState
- Is spawn thread state.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.
-
getFunctionFlow
public FunctionFlowModel getFunctionFlow()
- Returns:
- Function flow.
-
setFunctionFlow
public void setFunctionFlow(FunctionFlowModel functionFlow)
- Parameters:
functionFlow
- Function flow.
-
getExternalFlow
public ExternalFlowModel getExternalFlow()
- Returns:
- External flow.
-
setExternalFlow
public void setExternalFlow(ExternalFlowModel externalFlow)
- Parameters:
externalFlow
- External flow.
-
getIsSpawnThreadState
public boolean getIsSpawnThreadState()
- Returns:
- Is spawn thread state.
-
setIsSpawnThreadState
public void setIsSpawnThreadState(boolean isSpawnThreadState)
- Parameters:
isSpawnThreadState
- Is spawn thread state.
-
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
-
-