Package net.officefloor.model.section
Class SectionManagedObjectSourceFlowToFunctionModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.SectionManagedObjectSourceFlowToFunctionModel
-
- All Implemented Interfaces:
ConnectionModel,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class SectionManagedObjectSourceFlowToFunctionModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSectionManagedObjectSourceFlowToFunctionModel.SectionManagedObjectSourceFlowToFunctionEvent
-
Constructor Summary
Constructors Constructor Description SectionManagedObjectSourceFlowToFunctionModel()Default constructor.SectionManagedObjectSourceFlowToFunctionModel(java.lang.String functionName)Convenience constructor for new non-linked instance.SectionManagedObjectSourceFlowToFunctionModel(java.lang.String functionName, int x, int y)Convenience constructor for new non-linked instance allowing XY initialising.SectionManagedObjectSourceFlowToFunctionModel(java.lang.String functionName, SectionManagedObjectSourceFlowModel sectionManagedObjectSourceFlow, FunctionModel function)Convenience constructor.SectionManagedObjectSourceFlowToFunctionModel(java.lang.String functionName, SectionManagedObjectSourceFlowModel sectionManagedObjectSourceFlow, FunctionModel function, 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.FunctionModelgetFunction()java.lang.StringgetFunctionName()SectionManagedObjectSourceFlowModelgetSectionManagedObjectSourceFlow()booleanisRemovable()Indicates if this connection is removable.voidremove()Removes connection to theAbstractModelinstances.voidsetFunction(FunctionModel function)voidsetFunctionName(java.lang.String functionName)voidsetSectionManagedObjectSourceFlow(SectionManagedObjectSourceFlowModel sectionManagedObjectSourceFlow)-
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
-
SectionManagedObjectSourceFlowToFunctionModel
public SectionManagedObjectSourceFlowToFunctionModel()
Default constructor.
-
SectionManagedObjectSourceFlowToFunctionModel
public SectionManagedObjectSourceFlowToFunctionModel(java.lang.String functionName)
Convenience constructor for new non-linked instance.- Parameters:
functionName- Function name.
-
SectionManagedObjectSourceFlowToFunctionModel
public SectionManagedObjectSourceFlowToFunctionModel(java.lang.String functionName, int x, int y)Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
functionName- Function name.x- Horizontal location.y- Vertical location.
-
SectionManagedObjectSourceFlowToFunctionModel
public SectionManagedObjectSourceFlowToFunctionModel(java.lang.String functionName, SectionManagedObjectSourceFlowModel sectionManagedObjectSourceFlow, FunctionModel function)Convenience constructor.- Parameters:
functionName- Function name.sectionManagedObjectSourceFlow- Section managed object source flow.function- Function.
-
SectionManagedObjectSourceFlowToFunctionModel
public SectionManagedObjectSourceFlowToFunctionModel(java.lang.String functionName, SectionManagedObjectSourceFlowModel sectionManagedObjectSourceFlow, FunctionModel function, int x, int y)Convenience constructor allowing XY initialising.- Parameters:
functionName- Function name.sectionManagedObjectSourceFlow- Section managed object source flow.function- Function.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.
-
getSectionManagedObjectSourceFlow
public SectionManagedObjectSourceFlowModel getSectionManagedObjectSourceFlow()
- Returns:
- Section managed object source flow.
-
setSectionManagedObjectSourceFlow
public void setSectionManagedObjectSourceFlow(SectionManagedObjectSourceFlowModel sectionManagedObjectSourceFlow)
- Parameters:
sectionManagedObjectSourceFlow- Section managed object source flow.
-
getFunction
public FunctionModel getFunction()
- Returns:
- Function.
-
setFunction
public void setFunction(FunctionModel function)
- Parameters:
function- Function.
-
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
-
-