Package net.officefloor.woof.model.woof
Class WoofGovernanceModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.woof.model.woof.WoofGovernanceModel
-
- All Implemented Interfaces:
ItemModel<WoofGovernanceModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class WoofGovernanceModel extends AbstractModel implements ItemModel<WoofGovernanceModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WoofGovernanceModel.WoofGovernanceEvent
-
Constructor Summary
Constructors Constructor Description WoofGovernanceModel()
Default constructor.WoofGovernanceModel(java.lang.String woofGovernanceName, java.lang.String governanceSourceClassName)
Convenience constructor for new non-linked instance.WoofGovernanceModel(java.lang.String woofGovernanceName, java.lang.String governanceSourceClassName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.WoofGovernanceModel(java.lang.String woofGovernanceName, java.lang.String governanceSourceClassName, PropertyModel[] property, WoofGovernanceAreaModel[] governanceArea, WoofGovernanceToWoofGovernanceAreaModel[] governanceAreaConnection)
Convenience constructor.WoofGovernanceModel(java.lang.String woofGovernanceName, java.lang.String governanceSourceClassName, PropertyModel[] property, WoofGovernanceAreaModel[] governanceArea, WoofGovernanceToWoofGovernanceAreaModel[] governanceAreaConnection, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
-
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
-
WoofGovernanceModel
public WoofGovernanceModel()
Default constructor.
-
WoofGovernanceModel
public WoofGovernanceModel(java.lang.String woofGovernanceName, java.lang.String governanceSourceClassName)
Convenience constructor for new non-linked instance.- Parameters:
woofGovernanceName
- Woof governance name.governanceSourceClassName
- Governance source class name.
-
WoofGovernanceModel
public WoofGovernanceModel(java.lang.String woofGovernanceName, java.lang.String governanceSourceClassName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
woofGovernanceName
- Woof governance name.governanceSourceClassName
- Governance source class name.x
- Horizontal location.y
- Vertical location.
-
WoofGovernanceModel
public WoofGovernanceModel(java.lang.String woofGovernanceName, java.lang.String governanceSourceClassName, PropertyModel[] property, WoofGovernanceAreaModel[] governanceArea, WoofGovernanceToWoofGovernanceAreaModel[] governanceAreaConnection)
Convenience constructor.- Parameters:
woofGovernanceName
- Woof governance name.governanceSourceClassName
- Governance source class name.property
- Property.governanceArea
- Governance area.governanceAreaConnection
- Governance area connection.
-
WoofGovernanceModel
public WoofGovernanceModel(java.lang.String woofGovernanceName, java.lang.String governanceSourceClassName, PropertyModel[] property, WoofGovernanceAreaModel[] governanceArea, WoofGovernanceToWoofGovernanceAreaModel[] governanceAreaConnection, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
woofGovernanceName
- Woof governance name.governanceSourceClassName
- Governance source class name.property
- Property.governanceArea
- Governance area.governanceAreaConnection
- Governance area connection.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getWoofGovernanceName
public java.lang.String getWoofGovernanceName()
- Returns:
- Woof governance name.
-
setWoofGovernanceName
public void setWoofGovernanceName(java.lang.String woofGovernanceName)
- Parameters:
woofGovernanceName
- Woof governance name.
-
getGovernanceSourceClassName
public java.lang.String getGovernanceSourceClassName()
- Returns:
- Governance source class name.
-
setGovernanceSourceClassName
public void setGovernanceSourceClassName(java.lang.String governanceSourceClassName)
- Parameters:
governanceSourceClassName
- Governance source class name.
-
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.
-
getGovernanceAreas
public java.util.List<WoofGovernanceAreaModel> getGovernanceAreas()
- Returns:
- Governance area.
-
addGovernanceArea
public void addGovernanceArea(WoofGovernanceAreaModel governanceArea)
- Parameters:
governanceArea
- Governance area.
-
removeGovernanceArea
public void removeGovernanceArea(WoofGovernanceAreaModel governanceArea)
- Parameters:
governanceArea
- Governance area.
-
getGovernanceAreaConnections
public java.util.List<WoofGovernanceToWoofGovernanceAreaModel> getGovernanceAreaConnections()
- Returns:
- Governance area connection.
-
addGovernanceAreaConnection
public void addGovernanceAreaConnection(WoofGovernanceToWoofGovernanceAreaModel governanceAreaConnection)
- Parameters:
governanceAreaConnection
- Governance area connection.
-
removeGovernanceAreaConnection
public void removeGovernanceAreaConnection(WoofGovernanceToWoofGovernanceAreaModel governanceAreaConnection)
- Parameters:
governanceAreaConnection
- Governance area connection.
-
removeConnections
public RemoveConnectionsAction<WoofGovernanceModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<WoofGovernanceModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-