Package net.officefloor.activity.model
Class ActivitySectionOutputToActivityOutputModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.activity.model.ActivitySectionOutputToActivityOutputModel
-
- All Implemented Interfaces:
ConnectionModel
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class ActivitySectionOutputToActivityOutputModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActivitySectionOutputToActivityOutputModel.ActivitySectionOutputToActivityOutputEvent
-
Constructor Summary
Constructors Constructor Description ActivitySectionOutputToActivityOutputModel()
Default constructor.ActivitySectionOutputToActivityOutputModel(java.lang.String outputName)
Convenience constructor for new non-linked instance.ActivitySectionOutputToActivityOutputModel(java.lang.String outputName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.ActivitySectionOutputToActivityOutputModel(java.lang.String outputName, ActivitySectionOutputModel activitySectionOutput, ActivityOutputModel activityOutput)
Convenience constructor.ActivitySectionOutputToActivityOutputModel(java.lang.String outputName, ActivitySectionOutputModel activitySectionOutput, ActivityOutputModel activityOutput, 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.ActivityOutputModel
getActivityOutput()
ActivitySectionOutputModel
getActivitySectionOutput()
java.lang.String
getOutputName()
boolean
isRemovable()
Indicates if this connection is removable.void
remove()
Removes connection to theAbstractModel
instances.void
setActivityOutput(ActivityOutputModel activityOutput)
void
setActivitySectionOutput(ActivitySectionOutputModel activitySectionOutput)
void
setOutputName(java.lang.String outputName)
-
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
-
ActivitySectionOutputToActivityOutputModel
public ActivitySectionOutputToActivityOutputModel()
Default constructor.
-
ActivitySectionOutputToActivityOutputModel
public ActivitySectionOutputToActivityOutputModel(java.lang.String outputName)
Convenience constructor for new non-linked instance.- Parameters:
outputName
- Output name.
-
ActivitySectionOutputToActivityOutputModel
public ActivitySectionOutputToActivityOutputModel(java.lang.String outputName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
outputName
- Output name.x
- Horizontal location.y
- Vertical location.
-
ActivitySectionOutputToActivityOutputModel
public ActivitySectionOutputToActivityOutputModel(java.lang.String outputName, ActivitySectionOutputModel activitySectionOutput, ActivityOutputModel activityOutput)
Convenience constructor.- Parameters:
outputName
- Output name.activitySectionOutput
- Activity section output.activityOutput
- Activity output.
-
ActivitySectionOutputToActivityOutputModel
public ActivitySectionOutputToActivityOutputModel(java.lang.String outputName, ActivitySectionOutputModel activitySectionOutput, ActivityOutputModel activityOutput, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
outputName
- Output name.activitySectionOutput
- Activity section output.activityOutput
- Activity output.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getOutputName
public java.lang.String getOutputName()
- Returns:
- Output name.
-
setOutputName
public void setOutputName(java.lang.String outputName)
- Parameters:
outputName
- Output name.
-
getActivitySectionOutput
public ActivitySectionOutputModel getActivitySectionOutput()
- Returns:
- Activity section output.
-
setActivitySectionOutput
public void setActivitySectionOutput(ActivitySectionOutputModel activitySectionOutput)
- Parameters:
activitySectionOutput
- Activity section output.
-
getActivityOutput
public ActivityOutputModel getActivityOutput()
- Returns:
- Activity output.
-
setActivityOutput
public void setActivityOutput(ActivityOutputModel activityOutput)
- Parameters:
activityOutput
- Activity output.
-
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
-
-