Package net.officefloor.woof.model.woof
Class WoofSectionOutputToWoofResourceModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.woof.model.woof.WoofSectionOutputToWoofResourceModel
-
- All Implemented Interfaces:
ConnectionModel
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class WoofSectionOutputToWoofResourceModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WoofSectionOutputToWoofResourceModel.WoofSectionOutputToWoofResourceEvent
-
Constructor Summary
Constructors Constructor Description WoofSectionOutputToWoofResourceModel()
Default constructor.WoofSectionOutputToWoofResourceModel(java.lang.String resourcePath)
Convenience constructor for new non-linked instance.WoofSectionOutputToWoofResourceModel(java.lang.String resourcePath, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.WoofSectionOutputToWoofResourceModel(java.lang.String resourcePath, WoofSectionOutputModel woofSectionOutput, WoofResourceModel woofResource)
Convenience constructor.WoofSectionOutputToWoofResourceModel(java.lang.String resourcePath, WoofSectionOutputModel woofSectionOutput, WoofResourceModel woofResource, 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.java.lang.String
getResourcePath()
WoofResourceModel
getWoofResource()
WoofSectionOutputModel
getWoofSectionOutput()
boolean
isRemovable()
Indicates if this connection is removable.void
remove()
Removes connection to theAbstractModel
instances.void
setResourcePath(java.lang.String resourcePath)
void
setWoofResource(WoofResourceModel woofResource)
void
setWoofSectionOutput(WoofSectionOutputModel woofSectionOutput)
-
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
-
WoofSectionOutputToWoofResourceModel
public WoofSectionOutputToWoofResourceModel()
Default constructor.
-
WoofSectionOutputToWoofResourceModel
public WoofSectionOutputToWoofResourceModel(java.lang.String resourcePath)
Convenience constructor for new non-linked instance.- Parameters:
resourcePath
- Resource path.
-
WoofSectionOutputToWoofResourceModel
public WoofSectionOutputToWoofResourceModel(java.lang.String resourcePath, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
resourcePath
- Resource path.x
- Horizontal location.y
- Vertical location.
-
WoofSectionOutputToWoofResourceModel
public WoofSectionOutputToWoofResourceModel(java.lang.String resourcePath, WoofSectionOutputModel woofSectionOutput, WoofResourceModel woofResource)
Convenience constructor.- Parameters:
resourcePath
- Resource path.woofSectionOutput
- Woof section output.woofResource
- Woof resource.
-
WoofSectionOutputToWoofResourceModel
public WoofSectionOutputToWoofResourceModel(java.lang.String resourcePath, WoofSectionOutputModel woofSectionOutput, WoofResourceModel woofResource, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
resourcePath
- Resource path.woofSectionOutput
- Woof section output.woofResource
- Woof resource.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getResourcePath
public java.lang.String getResourcePath()
- Returns:
- Resource path.
-
setResourcePath
public void setResourcePath(java.lang.String resourcePath)
- Parameters:
resourcePath
- Resource path.
-
getWoofSectionOutput
public WoofSectionOutputModel getWoofSectionOutput()
- Returns:
- Woof section output.
-
setWoofSectionOutput
public void setWoofSectionOutput(WoofSectionOutputModel woofSectionOutput)
- Parameters:
woofSectionOutput
- Woof section output.
-
getWoofResource
public WoofResourceModel getWoofResource()
- Returns:
- Woof resource.
-
setWoofResource
public void setWoofResource(WoofResourceModel woofResource)
- Parameters:
woofResource
- Woof resource.
-
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
-
-