Package net.officefloor.model.section
Class FunctionToNextSubSectionInputModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.section.FunctionToNextSubSectionInputModel
-
- All Implemented Interfaces:
ConnectionModel,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class FunctionToNextSubSectionInputModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFunctionToNextSubSectionInputModel.FunctionToNextSubSectionInputEvent
-
Constructor Summary
Constructors Constructor Description FunctionToNextSubSectionInputModel()Default constructor.FunctionToNextSubSectionInputModel(java.lang.String subSectionName, java.lang.String subSectionInputName)Convenience constructor for new non-linked instance.FunctionToNextSubSectionInputModel(java.lang.String subSectionName, java.lang.String subSectionInputName, int x, int y)Convenience constructor for new non-linked instance allowing XY initialising.FunctionToNextSubSectionInputModel(java.lang.String subSectionName, java.lang.String subSectionInputName, FunctionModel previousFunction, SubSectionInputModel nextSubSectionInput)Convenience constructor.FunctionToNextSubSectionInputModel(java.lang.String subSectionName, java.lang.String subSectionInputName, FunctionModel previousFunction, SubSectionInputModel nextSubSectionInput, 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.SubSectionInputModelgetNextSubSectionInput()FunctionModelgetPreviousFunction()java.lang.StringgetSubSectionInputName()java.lang.StringgetSubSectionName()booleanisRemovable()Indicates if this connection is removable.voidremove()Removes connection to theAbstractModelinstances.voidsetNextSubSectionInput(SubSectionInputModel nextSubSectionInput)voidsetPreviousFunction(FunctionModel previousFunction)voidsetSubSectionInputName(java.lang.String subSectionInputName)voidsetSubSectionName(java.lang.String subSectionName)-
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
-
FunctionToNextSubSectionInputModel
public FunctionToNextSubSectionInputModel()
Default constructor.
-
FunctionToNextSubSectionInputModel
public FunctionToNextSubSectionInputModel(java.lang.String subSectionName, java.lang.String subSectionInputName)Convenience constructor for new non-linked instance.- Parameters:
subSectionName- Sub section name.subSectionInputName- Sub section input name.
-
FunctionToNextSubSectionInputModel
public FunctionToNextSubSectionInputModel(java.lang.String subSectionName, java.lang.String subSectionInputName, int x, int y)Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
subSectionName- Sub section name.subSectionInputName- Sub section input name.x- Horizontal location.y- Vertical location.
-
FunctionToNextSubSectionInputModel
public FunctionToNextSubSectionInputModel(java.lang.String subSectionName, java.lang.String subSectionInputName, FunctionModel previousFunction, SubSectionInputModel nextSubSectionInput)Convenience constructor.- Parameters:
subSectionName- Sub section name.subSectionInputName- Sub section input name.previousFunction- Previous function.nextSubSectionInput- Next sub section input.
-
FunctionToNextSubSectionInputModel
public FunctionToNextSubSectionInputModel(java.lang.String subSectionName, java.lang.String subSectionInputName, FunctionModel previousFunction, SubSectionInputModel nextSubSectionInput, int x, int y)Convenience constructor allowing XY initialising.- Parameters:
subSectionName- Sub section name.subSectionInputName- Sub section input name.previousFunction- Previous function.nextSubSectionInput- Next sub section input.x- Horizontal location.y- Vertical location.
-
-
Method Detail
-
getSubSectionName
public java.lang.String getSubSectionName()
- Returns:
- Sub section name.
-
setSubSectionName
public void setSubSectionName(java.lang.String subSectionName)
- Parameters:
subSectionName- Sub section name.
-
getSubSectionInputName
public java.lang.String getSubSectionInputName()
- Returns:
- Sub section input name.
-
setSubSectionInputName
public void setSubSectionInputName(java.lang.String subSectionInputName)
- Parameters:
subSectionInputName- Sub section input name.
-
getPreviousFunction
public FunctionModel getPreviousFunction()
- Returns:
- Previous function.
-
setPreviousFunction
public void setPreviousFunction(FunctionModel previousFunction)
- Parameters:
previousFunction- Previous function.
-
getNextSubSectionInput
public SubSectionInputModel getNextSubSectionInput()
- Returns:
- Next sub section input.
-
setNextSubSectionInput
public void setNextSubSectionInput(SubSectionInputModel nextSubSectionInput)
- Parameters:
nextSubSectionInput- Next sub section input.
-
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
-
-