Package net.officefloor.activity.model
Class ActivitySectionOutputToActivitySectionInputModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.activity.model.ActivitySectionOutputToActivitySectionInputModel
-
- All Implemented Interfaces:
ConnectionModel
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class ActivitySectionOutputToActivitySectionInputModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActivitySectionOutputToActivitySectionInputModel.ActivitySectionOutputToActivitySectionInputEvent
-
Constructor Summary
Constructors Constructor Description ActivitySectionOutputToActivitySectionInputModel()
Default constructor.ActivitySectionOutputToActivitySectionInputModel(java.lang.String sectionName, java.lang.String inputName)
Convenience constructor for new non-linked instance.ActivitySectionOutputToActivitySectionInputModel(java.lang.String sectionName, java.lang.String inputName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.ActivitySectionOutputToActivitySectionInputModel(java.lang.String sectionName, java.lang.String inputName, ActivitySectionOutputModel activitySectionOutput, ActivitySectionInputModel activitySectionInput)
Convenience constructor.ActivitySectionOutputToActivitySectionInputModel(java.lang.String sectionName, java.lang.String inputName, ActivitySectionOutputModel activitySectionOutput, ActivitySectionInputModel activitySectionInput, 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.ActivitySectionInputModel
getActivitySectionInput()
ActivitySectionOutputModel
getActivitySectionOutput()
java.lang.String
getInputName()
java.lang.String
getSectionName()
boolean
isRemovable()
Indicates if this connection is removable.void
remove()
Removes connection to theAbstractModel
instances.void
setActivitySectionInput(ActivitySectionInputModel activitySectionInput)
void
setActivitySectionOutput(ActivitySectionOutputModel activitySectionOutput)
void
setInputName(java.lang.String inputName)
void
setSectionName(java.lang.String sectionName)
-
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
-
ActivitySectionOutputToActivitySectionInputModel
public ActivitySectionOutputToActivitySectionInputModel()
Default constructor.
-
ActivitySectionOutputToActivitySectionInputModel
public ActivitySectionOutputToActivitySectionInputModel(java.lang.String sectionName, java.lang.String inputName)
Convenience constructor for new non-linked instance.- Parameters:
sectionName
- Section name.inputName
- Input name.
-
ActivitySectionOutputToActivitySectionInputModel
public ActivitySectionOutputToActivitySectionInputModel(java.lang.String sectionName, java.lang.String inputName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
sectionName
- Section name.inputName
- Input name.x
- Horizontal location.y
- Vertical location.
-
ActivitySectionOutputToActivitySectionInputModel
public ActivitySectionOutputToActivitySectionInputModel(java.lang.String sectionName, java.lang.String inputName, ActivitySectionOutputModel activitySectionOutput, ActivitySectionInputModel activitySectionInput)
Convenience constructor.- Parameters:
sectionName
- Section name.inputName
- Input name.activitySectionOutput
- Activity section output.activitySectionInput
- Activity section input.
-
ActivitySectionOutputToActivitySectionInputModel
public ActivitySectionOutputToActivitySectionInputModel(java.lang.String sectionName, java.lang.String inputName, ActivitySectionOutputModel activitySectionOutput, ActivitySectionInputModel activitySectionInput, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
sectionName
- Section name.inputName
- Input name.activitySectionOutput
- Activity section output.activitySectionInput
- Activity section input.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getSectionName
public java.lang.String getSectionName()
- Returns:
- Section name.
-
setSectionName
public void setSectionName(java.lang.String sectionName)
- Parameters:
sectionName
- Section name.
-
getInputName
public java.lang.String getInputName()
- Returns:
- Input name.
-
setInputName
public void setInputName(java.lang.String inputName)
- Parameters:
inputName
- Input name.
-
getActivitySectionOutput
public ActivitySectionOutputModel getActivitySectionOutput()
- Returns:
- Activity section output.
-
setActivitySectionOutput
public void setActivitySectionOutput(ActivitySectionOutputModel activitySectionOutput)
- Parameters:
activitySectionOutput
- Activity section output.
-
getActivitySectionInput
public ActivitySectionInputModel getActivitySectionInput()
- Returns:
- Activity section input.
-
setActivitySectionInput
public void setActivitySectionInput(ActivitySectionInputModel activitySectionInput)
- Parameters:
activitySectionInput
- Activity 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
-
-