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