Package net.officefloor.model.office
Class GovernanceToOfficeSectionManagedObjectModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.office.GovernanceToOfficeSectionManagedObjectModel
-
- All Implemented Interfaces:
ConnectionModel
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class GovernanceToOfficeSectionManagedObjectModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GovernanceToOfficeSectionManagedObjectModel.GovernanceToOfficeSectionManagedObjectEvent
-
Constructor Summary
Constructors Constructor Description GovernanceToOfficeSectionManagedObjectModel()
Default constructor.GovernanceToOfficeSectionManagedObjectModel(java.lang.String governanceName)
Convenience constructor for new non-linked instance.GovernanceToOfficeSectionManagedObjectModel(java.lang.String governanceName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.GovernanceToOfficeSectionManagedObjectModel(java.lang.String governanceName, OfficeSectionManagedObjectModel officeSectionManagedObject, GovernanceModel governance)
Convenience constructor.GovernanceToOfficeSectionManagedObjectModel(java.lang.String governanceName, OfficeSectionManagedObjectModel officeSectionManagedObject, GovernanceModel governance, 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.GovernanceModel
getGovernance()
java.lang.String
getGovernanceName()
OfficeSectionManagedObjectModel
getOfficeSectionManagedObject()
boolean
isRemovable()
Indicates if this connection is removable.void
remove()
Removes connection to theAbstractModel
instances.void
setGovernance(GovernanceModel governance)
void
setGovernanceName(java.lang.String governanceName)
void
setOfficeSectionManagedObject(OfficeSectionManagedObjectModel officeSectionManagedObject)
-
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
-
GovernanceToOfficeSectionManagedObjectModel
public GovernanceToOfficeSectionManagedObjectModel()
Default constructor.
-
GovernanceToOfficeSectionManagedObjectModel
public GovernanceToOfficeSectionManagedObjectModel(java.lang.String governanceName)
Convenience constructor for new non-linked instance.- Parameters:
governanceName
- Governance name.
-
GovernanceToOfficeSectionManagedObjectModel
public GovernanceToOfficeSectionManagedObjectModel(java.lang.String governanceName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
governanceName
- Governance name.x
- Horizontal location.y
- Vertical location.
-
GovernanceToOfficeSectionManagedObjectModel
public GovernanceToOfficeSectionManagedObjectModel(java.lang.String governanceName, OfficeSectionManagedObjectModel officeSectionManagedObject, GovernanceModel governance)
Convenience constructor.- Parameters:
governanceName
- Governance name.officeSectionManagedObject
- Office section managed object.governance
- Governance.
-
GovernanceToOfficeSectionManagedObjectModel
public GovernanceToOfficeSectionManagedObjectModel(java.lang.String governanceName, OfficeSectionManagedObjectModel officeSectionManagedObject, GovernanceModel governance, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
governanceName
- Governance name.officeSectionManagedObject
- Office section managed object.governance
- Governance.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getGovernanceName
public java.lang.String getGovernanceName()
- Returns:
- Governance name.
-
setGovernanceName
public void setGovernanceName(java.lang.String governanceName)
- Parameters:
governanceName
- Governance name.
-
getOfficeSectionManagedObject
public OfficeSectionManagedObjectModel getOfficeSectionManagedObject()
- Returns:
- Office section managed object.
-
setOfficeSectionManagedObject
public void setOfficeSectionManagedObject(OfficeSectionManagedObjectModel officeSectionManagedObject)
- Parameters:
officeSectionManagedObject
- Office section managed object.
-
getGovernance
public GovernanceModel getGovernance()
- Returns:
- Governance.
-
setGovernance
public void setGovernance(GovernanceModel governance)
- Parameters:
governance
- Governance.
-
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
-
-