Package net.officefloor.activity.model
Class ActivityProcedureNextToActivityProcedureModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.activity.model.ActivityProcedureNextToActivityProcedureModel
-
- All Implemented Interfaces:
ConnectionModel
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class ActivityProcedureNextToActivityProcedureModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActivityProcedureNextToActivityProcedureModel.ActivityProcedureNextToActivityProcedureEvent
-
Constructor Summary
Constructors Constructor Description ActivityProcedureNextToActivityProcedureModel()
Default constructor.ActivityProcedureNextToActivityProcedureModel(java.lang.String procedureName)
Convenience constructor for new non-linked instance.ActivityProcedureNextToActivityProcedureModel(java.lang.String procedureName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.ActivityProcedureNextToActivityProcedureModel(java.lang.String procedureName, ActivityProcedureNextModel activityProcedureNext, ActivityProcedureModel activityProcedure)
Convenience constructor.ActivityProcedureNextToActivityProcedureModel(java.lang.String procedureName, ActivityProcedureNextModel activityProcedureNext, ActivityProcedureModel activityProcedure, 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.ActivityProcedureModel
getActivityProcedure()
ActivityProcedureNextModel
getActivityProcedureNext()
java.lang.String
getProcedureName()
boolean
isRemovable()
Indicates if this connection is removable.void
remove()
Removes connection to theAbstractModel
instances.void
setActivityProcedure(ActivityProcedureModel activityProcedure)
void
setActivityProcedureNext(ActivityProcedureNextModel activityProcedureNext)
void
setProcedureName(java.lang.String procedureName)
-
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
-
ActivityProcedureNextToActivityProcedureModel
public ActivityProcedureNextToActivityProcedureModel()
Default constructor.
-
ActivityProcedureNextToActivityProcedureModel
public ActivityProcedureNextToActivityProcedureModel(java.lang.String procedureName)
Convenience constructor for new non-linked instance.- Parameters:
procedureName
- Procedure name.
-
ActivityProcedureNextToActivityProcedureModel
public ActivityProcedureNextToActivityProcedureModel(java.lang.String procedureName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
procedureName
- Procedure name.x
- Horizontal location.y
- Vertical location.
-
ActivityProcedureNextToActivityProcedureModel
public ActivityProcedureNextToActivityProcedureModel(java.lang.String procedureName, ActivityProcedureNextModel activityProcedureNext, ActivityProcedureModel activityProcedure)
Convenience constructor.- Parameters:
procedureName
- Procedure name.activityProcedureNext
- Activity procedure next.activityProcedure
- Activity procedure.
-
ActivityProcedureNextToActivityProcedureModel
public ActivityProcedureNextToActivityProcedureModel(java.lang.String procedureName, ActivityProcedureNextModel activityProcedureNext, ActivityProcedureModel activityProcedure, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
procedureName
- Procedure name.activityProcedureNext
- Activity procedure next.activityProcedure
- Activity procedure.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getProcedureName
public java.lang.String getProcedureName()
- Returns:
- Procedure name.
-
setProcedureName
public void setProcedureName(java.lang.String procedureName)
- Parameters:
procedureName
- Procedure name.
-
getActivityProcedureNext
public ActivityProcedureNextModel getActivityProcedureNext()
- Returns:
- Activity procedure next.
-
setActivityProcedureNext
public void setActivityProcedureNext(ActivityProcedureNextModel activityProcedureNext)
- Parameters:
activityProcedureNext
- Activity procedure next.
-
getActivityProcedure
public ActivityProcedureModel getActivityProcedure()
- Returns:
- Activity procedure.
-
setActivityProcedure
public void setActivityProcedure(ActivityProcedureModel activityProcedure)
- Parameters:
activityProcedure
- Activity procedure.
-
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
-
-