Package net.officefloor.activity.model
Class ActivityInputModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.activity.model.ActivityInputModel
-
- All Implemented Interfaces:
ItemModel<ActivityInputModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class ActivityInputModel extends AbstractModel implements ItemModel<ActivityInputModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActivityInputModel.ActivityInputEvent
-
Constructor Summary
Constructors Constructor Description ActivityInputModel()
Default constructor.ActivityInputModel(java.lang.String activityInputName, java.lang.String argumentType)
Convenience constructor for new non-linked instance.ActivityInputModel(java.lang.String activityInputName, java.lang.String argumentType, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.ActivityInputModel(java.lang.String activityInputName, java.lang.String argumentType, ActivityInputToActivitySectionInputModel activitySectionInput, ActivityInputToActivityProcedureModel activityProcedure, ActivityInputToActivityOutputModel activityOutput)
Convenience constructor.ActivityInputModel(java.lang.String activityInputName, java.lang.String argumentType, ActivityInputToActivitySectionInputModel activitySectionInput, ActivityInputToActivityProcedureModel activityProcedure, ActivityInputToActivityOutputModel activityOutput, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getActivityInputName()
ActivityInputToActivityOutputModel
getActivityOutput()
ActivityInputToActivityProcedureModel
getActivityProcedure()
ActivityInputToActivitySectionInputModel
getActivitySectionInput()
java.lang.String
getArgumentType()
RemoveConnectionsAction<ActivityInputModel>
removeConnections()
Remove Connections.void
setActivityInputName(java.lang.String activityInputName)
void
setActivityOutput(ActivityInputToActivityOutputModel activityOutput)
void
setActivityProcedure(ActivityInputToActivityProcedureModel activityProcedure)
void
setActivitySectionInput(ActivityInputToActivitySectionInputModel activitySectionInput)
void
setArgumentType(java.lang.String argumentType)
-
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
-
ActivityInputModel
public ActivityInputModel()
Default constructor.
-
ActivityInputModel
public ActivityInputModel(java.lang.String activityInputName, java.lang.String argumentType)
Convenience constructor for new non-linked instance.- Parameters:
activityInputName
- Activity input name.argumentType
- Argument type.
-
ActivityInputModel
public ActivityInputModel(java.lang.String activityInputName, java.lang.String argumentType, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
activityInputName
- Activity input name.argumentType
- Argument type.x
- Horizontal location.y
- Vertical location.
-
ActivityInputModel
public ActivityInputModel(java.lang.String activityInputName, java.lang.String argumentType, ActivityInputToActivitySectionInputModel activitySectionInput, ActivityInputToActivityProcedureModel activityProcedure, ActivityInputToActivityOutputModel activityOutput)
Convenience constructor.- Parameters:
activityInputName
- Activity input name.argumentType
- Argument type.activitySectionInput
- Activity section input.activityProcedure
- Activity procedure.activityOutput
- Activity output.
-
ActivityInputModel
public ActivityInputModel(java.lang.String activityInputName, java.lang.String argumentType, ActivityInputToActivitySectionInputModel activitySectionInput, ActivityInputToActivityProcedureModel activityProcedure, ActivityInputToActivityOutputModel activityOutput, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
activityInputName
- Activity input name.argumentType
- Argument type.activitySectionInput
- Activity section input.activityProcedure
- Activity procedure.activityOutput
- Activity output.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getActivityInputName
public java.lang.String getActivityInputName()
- Returns:
- Activity input name.
-
setActivityInputName
public void setActivityInputName(java.lang.String activityInputName)
- Parameters:
activityInputName
- Activity input name.
-
getArgumentType
public java.lang.String getArgumentType()
- Returns:
- Argument type.
-
setArgumentType
public void setArgumentType(java.lang.String argumentType)
- Parameters:
argumentType
- Argument type.
-
getActivitySectionInput
public ActivityInputToActivitySectionInputModel getActivitySectionInput()
- Returns:
- Activity section input.
-
setActivitySectionInput
public void setActivitySectionInput(ActivityInputToActivitySectionInputModel activitySectionInput)
- Parameters:
activitySectionInput
- Activity section input.
-
getActivityProcedure
public ActivityInputToActivityProcedureModel getActivityProcedure()
- Returns:
- Activity procedure.
-
setActivityProcedure
public void setActivityProcedure(ActivityInputToActivityProcedureModel activityProcedure)
- Parameters:
activityProcedure
- Activity procedure.
-
getActivityOutput
public ActivityInputToActivityOutputModel getActivityOutput()
- Returns:
- Activity output.
-
setActivityOutput
public void setActivityOutput(ActivityInputToActivityOutputModel activityOutput)
- Parameters:
activityOutput
- Activity output.
-
removeConnections
public RemoveConnectionsAction<ActivityInputModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<ActivityInputModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-