Package net.officefloor.activity.model
Class ActivitySectionModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.activity.model.ActivitySectionModel
-
- All Implemented Interfaces:
ItemModel<ActivitySectionModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class ActivitySectionModel extends AbstractModel implements ItemModel<ActivitySectionModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActivitySectionModel.ActivitySectionEvent
-
Constructor Summary
Constructors Constructor Description ActivitySectionModel()
Default constructor.ActivitySectionModel(java.lang.String activitySectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation)
Convenience constructor for new non-linked instance.ActivitySectionModel(java.lang.String activitySectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.ActivitySectionModel(java.lang.String activitySectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation, PropertyModel[] property, ActivitySectionInputModel[] input, ActivitySectionOutputModel[] output)
Convenience constructor.ActivitySectionModel(java.lang.String activitySectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation, PropertyModel[] property, ActivitySectionInputModel[] input, ActivitySectionOutputModel[] output, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInput(ActivitySectionInputModel input)
void
addOutput(ActivitySectionOutputModel output)
void
addProperty(PropertyModel property)
java.lang.String
getActivitySectionName()
java.util.List<ActivitySectionInputModel>
getInputs()
java.util.List<ActivitySectionOutputModel>
getOutputs()
java.util.List<PropertyModel>
getProperties()
java.lang.String
getSectionLocation()
java.lang.String
getSectionSourceClassName()
RemoveConnectionsAction<ActivitySectionModel>
removeConnections()
Remove Connections.void
removeInput(ActivitySectionInputModel input)
void
removeOutput(ActivitySectionOutputModel output)
void
removeProperty(PropertyModel property)
void
setActivitySectionName(java.lang.String activitySectionName)
void
setSectionLocation(java.lang.String sectionLocation)
void
setSectionSourceClassName(java.lang.String sectionSourceClassName)
-
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
-
ActivitySectionModel
public ActivitySectionModel()
Default constructor.
-
ActivitySectionModel
public ActivitySectionModel(java.lang.String activitySectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation)
Convenience constructor for new non-linked instance.- Parameters:
activitySectionName
- Activity section name.sectionSourceClassName
- Section source class name.sectionLocation
- Section location.
-
ActivitySectionModel
public ActivitySectionModel(java.lang.String activitySectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
activitySectionName
- Activity section name.sectionSourceClassName
- Section source class name.sectionLocation
- Section location.x
- Horizontal location.y
- Vertical location.
-
ActivitySectionModel
public ActivitySectionModel(java.lang.String activitySectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation, PropertyModel[] property, ActivitySectionInputModel[] input, ActivitySectionOutputModel[] output)
Convenience constructor.- Parameters:
activitySectionName
- Activity section name.sectionSourceClassName
- Section source class name.sectionLocation
- Section location.property
- Property.input
- Input.output
- Output.
-
ActivitySectionModel
public ActivitySectionModel(java.lang.String activitySectionName, java.lang.String sectionSourceClassName, java.lang.String sectionLocation, PropertyModel[] property, ActivitySectionInputModel[] input, ActivitySectionOutputModel[] output, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
activitySectionName
- Activity section name.sectionSourceClassName
- Section source class name.sectionLocation
- Section location.property
- Property.input
- Input.output
- Output.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getActivitySectionName
public java.lang.String getActivitySectionName()
- Returns:
- Activity section name.
-
setActivitySectionName
public void setActivitySectionName(java.lang.String activitySectionName)
- Parameters:
activitySectionName
- Activity section name.
-
getSectionSourceClassName
public java.lang.String getSectionSourceClassName()
- Returns:
- Section source class name.
-
setSectionSourceClassName
public void setSectionSourceClassName(java.lang.String sectionSourceClassName)
- Parameters:
sectionSourceClassName
- Section source class name.
-
getSectionLocation
public java.lang.String getSectionLocation()
- Returns:
- Section location.
-
setSectionLocation
public void setSectionLocation(java.lang.String sectionLocation)
- Parameters:
sectionLocation
- Section location.
-
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.
-
getInputs
public java.util.List<ActivitySectionInputModel> getInputs()
- Returns:
- Input.
-
addInput
public void addInput(ActivitySectionInputModel input)
- Parameters:
input
- Input.
-
removeInput
public void removeInput(ActivitySectionInputModel input)
- Parameters:
input
- Input.
-
getOutputs
public java.util.List<ActivitySectionOutputModel> getOutputs()
- Returns:
- Output.
-
addOutput
public void addOutput(ActivitySectionOutputModel output)
- Parameters:
output
- Output.
-
removeOutput
public void removeOutput(ActivitySectionOutputModel output)
- Parameters:
output
- Output.
-
removeConnections
public RemoveConnectionsAction<ActivitySectionModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<ActivitySectionModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-