Package net.officefloor.activity.model
Class ActivityProcedureModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.activity.model.ActivityProcedureModel
-
- All Implemented Interfaces:
ItemModel<ActivityProcedureModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class ActivityProcedureModel extends AbstractModel implements ItemModel<ActivityProcedureModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActivityProcedureModel.ActivityProcedureEvent
-
Constructor Summary
Constructors Constructor Description ActivityProcedureModel()
Default constructor.ActivityProcedureModel(java.lang.String activityProcedureName, java.lang.String resource, java.lang.String sourceName, java.lang.String procedureName)
Convenience constructor for new non-linked instance.ActivityProcedureModel(java.lang.String activityProcedureName, java.lang.String resource, java.lang.String sourceName, java.lang.String procedureName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.ActivityProcedureModel(java.lang.String activityProcedureName, java.lang.String resource, java.lang.String sourceName, java.lang.String procedureName, ActivityProcedureNextModel next, PropertyModel[] property, ActivityProcedureOutputModel[] output, ActivitySectionOutputToActivityProcedureModel[] activitySectionOutput, ActivityProcedureOutputToActivityProcedureModel[] activityProcedureOutput, ActivityProcedureNextToActivityProcedureModel[] activityProcedureNext, ActivityExceptionToActivityProcedureModel[] activityException, ActivityInputToActivityProcedureModel[] activityInput)
Convenience constructor.ActivityProcedureModel(java.lang.String activityProcedureName, java.lang.String resource, java.lang.String sourceName, java.lang.String procedureName, ActivityProcedureNextModel next, PropertyModel[] property, ActivityProcedureOutputModel[] output, ActivitySectionOutputToActivityProcedureModel[] activitySectionOutput, ActivityProcedureOutputToActivityProcedureModel[] activityProcedureOutput, ActivityProcedureNextToActivityProcedureModel[] activityProcedureNext, ActivityExceptionToActivityProcedureModel[] activityException, ActivityInputToActivityProcedureModel[] activityInput, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
-
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
-
ActivityProcedureModel
public ActivityProcedureModel()
Default constructor.
-
ActivityProcedureModel
public ActivityProcedureModel(java.lang.String activityProcedureName, java.lang.String resource, java.lang.String sourceName, java.lang.String procedureName)
Convenience constructor for new non-linked instance.- Parameters:
activityProcedureName
- Activity procedure name.resource
- Resource.sourceName
- Source name.procedureName
- Procedure name.
-
ActivityProcedureModel
public ActivityProcedureModel(java.lang.String activityProcedureName, java.lang.String resource, java.lang.String sourceName, java.lang.String procedureName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
activityProcedureName
- Activity procedure name.resource
- Resource.sourceName
- Source name.procedureName
- Procedure name.x
- Horizontal location.y
- Vertical location.
-
ActivityProcedureModel
public ActivityProcedureModel(java.lang.String activityProcedureName, java.lang.String resource, java.lang.String sourceName, java.lang.String procedureName, ActivityProcedureNextModel next, PropertyModel[] property, ActivityProcedureOutputModel[] output, ActivitySectionOutputToActivityProcedureModel[] activitySectionOutput, ActivityProcedureOutputToActivityProcedureModel[] activityProcedureOutput, ActivityProcedureNextToActivityProcedureModel[] activityProcedureNext, ActivityExceptionToActivityProcedureModel[] activityException, ActivityInputToActivityProcedureModel[] activityInput)
Convenience constructor.- Parameters:
activityProcedureName
- Activity procedure name.resource
- Resource.sourceName
- Source name.procedureName
- Procedure name.next
- Next.property
- Property.output
- Output.activitySectionOutput
- Activity section output.activityProcedureOutput
- Activity procedure output.activityProcedureNext
- Activity procedure next.activityException
- Activity exception.activityInput
- Activity input.
-
ActivityProcedureModel
public ActivityProcedureModel(java.lang.String activityProcedureName, java.lang.String resource, java.lang.String sourceName, java.lang.String procedureName, ActivityProcedureNextModel next, PropertyModel[] property, ActivityProcedureOutputModel[] output, ActivitySectionOutputToActivityProcedureModel[] activitySectionOutput, ActivityProcedureOutputToActivityProcedureModel[] activityProcedureOutput, ActivityProcedureNextToActivityProcedureModel[] activityProcedureNext, ActivityExceptionToActivityProcedureModel[] activityException, ActivityInputToActivityProcedureModel[] activityInput, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
activityProcedureName
- Activity procedure name.resource
- Resource.sourceName
- Source name.procedureName
- Procedure name.next
- Next.property
- Property.output
- Output.activitySectionOutput
- Activity section output.activityProcedureOutput
- Activity procedure output.activityProcedureNext
- Activity procedure next.activityException
- Activity exception.activityInput
- Activity input.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getActivityProcedureName
public java.lang.String getActivityProcedureName()
- Returns:
- Activity procedure name.
-
setActivityProcedureName
public void setActivityProcedureName(java.lang.String activityProcedureName)
- Parameters:
activityProcedureName
- Activity procedure name.
-
getResource
public java.lang.String getResource()
- Returns:
- Resource.
-
setResource
public void setResource(java.lang.String resource)
- Parameters:
resource
- Resource.
-
getSourceName
public java.lang.String getSourceName()
- Returns:
- Source name.
-
setSourceName
public void setSourceName(java.lang.String sourceName)
- Parameters:
sourceName
- Source name.
-
getProcedureName
public java.lang.String getProcedureName()
- Returns:
- Procedure name.
-
setProcedureName
public void setProcedureName(java.lang.String procedureName)
- Parameters:
procedureName
- Procedure name.
-
getNext
public ActivityProcedureNextModel getNext()
- Returns:
- Next.
-
setNext
public void setNext(ActivityProcedureNextModel next)
- Parameters:
next
- Next.
-
getProperties
public java.util.List<PropertyModel> getProperties()
- Returns:
- Property.
-
addProperty
public void addProperty(PropertyModel property)
- Parameters:
property
- Property.
-
removeProperty
public void removeProperty(PropertyModel property)
- Parameters:
property
- Property.
-
getOutputs
public java.util.List<ActivityProcedureOutputModel> getOutputs()
- Returns:
- Output.
-
addOutput
public void addOutput(ActivityProcedureOutputModel output)
- Parameters:
output
- Output.
-
removeOutput
public void removeOutput(ActivityProcedureOutputModel output)
- Parameters:
output
- Output.
-
getActivitySectionOutputs
public java.util.List<ActivitySectionOutputToActivityProcedureModel> getActivitySectionOutputs()
- Returns:
- Activity section output.
-
addActivitySectionOutput
public void addActivitySectionOutput(ActivitySectionOutputToActivityProcedureModel activitySectionOutput)
- Parameters:
activitySectionOutput
- Activity section output.
-
removeActivitySectionOutput
public void removeActivitySectionOutput(ActivitySectionOutputToActivityProcedureModel activitySectionOutput)
- Parameters:
activitySectionOutput
- Activity section output.
-
getActivityProcedureOutputs
public java.util.List<ActivityProcedureOutputToActivityProcedureModel> getActivityProcedureOutputs()
- Returns:
- Activity procedure output.
-
addActivityProcedureOutput
public void addActivityProcedureOutput(ActivityProcedureOutputToActivityProcedureModel activityProcedureOutput)
- Parameters:
activityProcedureOutput
- Activity procedure output.
-
removeActivityProcedureOutput
public void removeActivityProcedureOutput(ActivityProcedureOutputToActivityProcedureModel activityProcedureOutput)
- Parameters:
activityProcedureOutput
- Activity procedure output.
-
getActivityProcedureNexts
public java.util.List<ActivityProcedureNextToActivityProcedureModel> getActivityProcedureNexts()
- Returns:
- Activity procedure next.
-
addActivityProcedureNext
public void addActivityProcedureNext(ActivityProcedureNextToActivityProcedureModel activityProcedureNext)
- Parameters:
activityProcedureNext
- Activity procedure next.
-
removeActivityProcedureNext
public void removeActivityProcedureNext(ActivityProcedureNextToActivityProcedureModel activityProcedureNext)
- Parameters:
activityProcedureNext
- Activity procedure next.
-
getActivityExceptions
public java.util.List<ActivityExceptionToActivityProcedureModel> getActivityExceptions()
- Returns:
- Activity exception.
-
addActivityException
public void addActivityException(ActivityExceptionToActivityProcedureModel activityException)
- Parameters:
activityException
- Activity exception.
-
removeActivityException
public void removeActivityException(ActivityExceptionToActivityProcedureModel activityException)
- Parameters:
activityException
- Activity exception.
-
getActivityInputs
public java.util.List<ActivityInputToActivityProcedureModel> getActivityInputs()
- Returns:
- Activity input.
-
addActivityInput
public void addActivityInput(ActivityInputToActivityProcedureModel activityInput)
- Parameters:
activityInput
- Activity input.
-
removeActivityInput
public void removeActivityInput(ActivityInputToActivityProcedureModel activityInput)
- Parameters:
activityInput
- Activity input.
-
removeConnections
public RemoveConnectionsAction<ActivityProcedureModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<ActivityProcedureModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-