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 class
FunctionToNextSubSectionInputModel.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 void
connect()
Connects to theAbstractModel
instances.SubSectionInputModel
getNextSubSectionInput()
FunctionModel
getPreviousFunction()
java.lang.String
getSubSectionInputName()
java.lang.String
getSubSectionName()
boolean
isRemovable()
Indicates if this connection is removable.void
remove()
Removes connection to theAbstractModel
instances.void
setNextSubSectionInput(SubSectionInputModel nextSubSectionInput)
void
setPreviousFunction(FunctionModel previousFunction)
void
setSubSectionInputName(java.lang.String subSectionInputName)
void
setSubSectionName(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: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
-
-