Package net.officefloor.woof.model.woof
Class WoofTemplateOutputToWoofResourceModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.woof.model.woof.WoofTemplateOutputToWoofResourceModel
-
- All Implemented Interfaces:
ConnectionModel
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class WoofTemplateOutputToWoofResourceModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WoofTemplateOutputToWoofResourceModel.WoofTemplateOutputToWoofResourceEvent
-
Constructor Summary
Constructors Constructor Description WoofTemplateOutputToWoofResourceModel()
Default constructor.WoofTemplateOutputToWoofResourceModel(java.lang.String resourcePath)
Convenience constructor for new non-linked instance.WoofTemplateOutputToWoofResourceModel(java.lang.String resourcePath, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.WoofTemplateOutputToWoofResourceModel(java.lang.String resourcePath, WoofTemplateOutputModel woofTemplateOutput, WoofResourceModel woofResource)
Convenience constructor.WoofTemplateOutputToWoofResourceModel(java.lang.String resourcePath, WoofTemplateOutputModel woofTemplateOutput, 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()
WoofTemplateOutputModel
getWoofTemplateOutput()
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
setWoofTemplateOutput(WoofTemplateOutputModel woofTemplateOutput)
-
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
-
WoofTemplateOutputToWoofResourceModel
public WoofTemplateOutputToWoofResourceModel()
Default constructor.
-
WoofTemplateOutputToWoofResourceModel
public WoofTemplateOutputToWoofResourceModel(java.lang.String resourcePath)
Convenience constructor for new non-linked instance.- Parameters:
resourcePath
- Resource path.
-
WoofTemplateOutputToWoofResourceModel
public WoofTemplateOutputToWoofResourceModel(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.
-
WoofTemplateOutputToWoofResourceModel
public WoofTemplateOutputToWoofResourceModel(java.lang.String resourcePath, WoofTemplateOutputModel woofTemplateOutput, WoofResourceModel woofResource)
Convenience constructor.- Parameters:
resourcePath
- Resource path.woofTemplateOutput
- Woof template output.woofResource
- Woof resource.
-
WoofTemplateOutputToWoofResourceModel
public WoofTemplateOutputToWoofResourceModel(java.lang.String resourcePath, WoofTemplateOutputModel woofTemplateOutput, WoofResourceModel woofResource, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
resourcePath
- Resource path.woofTemplateOutput
- Woof template 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.
-
getWoofTemplateOutput
public WoofTemplateOutputModel getWoofTemplateOutput()
- Returns:
- Woof template output.
-
setWoofTemplateOutput
public void setWoofTemplateOutput(WoofTemplateOutputModel woofTemplateOutput)
- Parameters:
woofTemplateOutput
- Woof template 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
-
-