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