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