Package net.officefloor.woof.model.woof
Class WoofGovernanceAreaModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.woof.model.woof.WoofGovernanceAreaModel
-
- All Implemented Interfaces:
ItemModel<WoofGovernanceAreaModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class WoofGovernanceAreaModel extends AbstractModel implements ItemModel<WoofGovernanceAreaModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WoofGovernanceAreaModel.WoofGovernanceAreaEvent
-
Constructor Summary
Constructors Constructor Description WoofGovernanceAreaModel()
Default constructor.WoofGovernanceAreaModel(int width, int height)
Convenience constructor for new non-linked instance.WoofGovernanceAreaModel(int width, int height, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.WoofGovernanceAreaModel(int width, int height, WoofGovernanceToWoofGovernanceAreaModel governanceConnection)
Convenience constructor.WoofGovernanceAreaModel(int width, int height, WoofGovernanceToWoofGovernanceAreaModel governanceConnection, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WoofGovernanceToWoofGovernanceAreaModel
getGovernanceConnection()
int
getHeight()
int
getWidth()
RemoveConnectionsAction<WoofGovernanceAreaModel>
removeConnections()
Remove Connections.void
setGovernanceConnection(WoofGovernanceToWoofGovernanceAreaModel governanceConnection)
void
setHeight(int height)
void
setWidth(int width)
-
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
-
WoofGovernanceAreaModel
public WoofGovernanceAreaModel()
Default constructor.
-
WoofGovernanceAreaModel
public WoofGovernanceAreaModel(int width, int height)
Convenience constructor for new non-linked instance.- Parameters:
width
- Width.height
- Height.
-
WoofGovernanceAreaModel
public WoofGovernanceAreaModel(int width, int height, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
width
- Width.height
- Height.x
- Horizontal location.y
- Vertical location.
-
WoofGovernanceAreaModel
public WoofGovernanceAreaModel(int width, int height, WoofGovernanceToWoofGovernanceAreaModel governanceConnection)
Convenience constructor.- Parameters:
width
- Width.height
- Height.governanceConnection
- Governance connection.
-
WoofGovernanceAreaModel
public WoofGovernanceAreaModel(int width, int height, WoofGovernanceToWoofGovernanceAreaModel governanceConnection, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
width
- Width.height
- Height.governanceConnection
- Governance connection.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getWidth
public int getWidth()
- Returns:
- Width.
-
setWidth
public void setWidth(int width)
- Parameters:
width
- Width.
-
getHeight
public int getHeight()
- Returns:
- Height.
-
setHeight
public void setHeight(int height)
- Parameters:
height
- Height.
-
getGovernanceConnection
public WoofGovernanceToWoofGovernanceAreaModel getGovernanceConnection()
- Returns:
- Governance connection.
-
setGovernanceConnection
public void setGovernanceConnection(WoofGovernanceToWoofGovernanceAreaModel governanceConnection)
- Parameters:
governanceConnection
- Governance connection.
-
removeConnections
public RemoveConnectionsAction<WoofGovernanceAreaModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<WoofGovernanceAreaModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-