Package net.officefloor.model.office
Class AdministrationToOfficeSectionManagedObjectModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.office.AdministrationToOfficeSectionManagedObjectModel
-
- All Implemented Interfaces:
ConnectionModel
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class AdministrationToOfficeSectionManagedObjectModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdministrationToOfficeSectionManagedObjectModel.AdministrationToOfficeSectionManagedObjectEvent
-
Constructor Summary
Constructors Constructor Description AdministrationToOfficeSectionManagedObjectModel()
Default constructor.AdministrationToOfficeSectionManagedObjectModel(java.lang.String administrationName, java.lang.String order)
Convenience constructor for new non-linked instance.AdministrationToOfficeSectionManagedObjectModel(java.lang.String administrationName, java.lang.String order, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.AdministrationToOfficeSectionManagedObjectModel(java.lang.String administrationName, java.lang.String order, OfficeSectionManagedObjectModel officeSectionManagedObject, AdministrationModel administration)
Convenience constructor.AdministrationToOfficeSectionManagedObjectModel(java.lang.String administrationName, java.lang.String order, OfficeSectionManagedObjectModel officeSectionManagedObject, AdministrationModel administration, 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.AdministrationModel
getAdministration()
java.lang.String
getAdministrationName()
OfficeSectionManagedObjectModel
getOfficeSectionManagedObject()
java.lang.String
getOrder()
boolean
isRemovable()
Indicates if this connection is removable.void
remove()
Removes connection to theAbstractModel
instances.void
setAdministration(AdministrationModel administration)
void
setAdministrationName(java.lang.String administrationName)
void
setOfficeSectionManagedObject(OfficeSectionManagedObjectModel officeSectionManagedObject)
void
setOrder(java.lang.String order)
-
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
-
AdministrationToOfficeSectionManagedObjectModel
public AdministrationToOfficeSectionManagedObjectModel()
Default constructor.
-
AdministrationToOfficeSectionManagedObjectModel
public AdministrationToOfficeSectionManagedObjectModel(java.lang.String administrationName, java.lang.String order)
Convenience constructor for new non-linked instance.- Parameters:
administrationName
- Administration name.order
- Order.
-
AdministrationToOfficeSectionManagedObjectModel
public AdministrationToOfficeSectionManagedObjectModel(java.lang.String administrationName, java.lang.String order, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
administrationName
- Administration name.order
- Order.x
- Horizontal location.y
- Vertical location.
-
AdministrationToOfficeSectionManagedObjectModel
public AdministrationToOfficeSectionManagedObjectModel(java.lang.String administrationName, java.lang.String order, OfficeSectionManagedObjectModel officeSectionManagedObject, AdministrationModel administration)
Convenience constructor.- Parameters:
administrationName
- Administration name.order
- Order.officeSectionManagedObject
- Office section managed object.administration
- Administration.
-
AdministrationToOfficeSectionManagedObjectModel
public AdministrationToOfficeSectionManagedObjectModel(java.lang.String administrationName, java.lang.String order, OfficeSectionManagedObjectModel officeSectionManagedObject, AdministrationModel administration, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
administrationName
- Administration name.order
- Order.officeSectionManagedObject
- Office section managed object.administration
- Administration.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getAdministrationName
public java.lang.String getAdministrationName()
- Returns:
- Administration name.
-
setAdministrationName
public void setAdministrationName(java.lang.String administrationName)
- Parameters:
administrationName
- Administration name.
-
getOrder
public java.lang.String getOrder()
- Returns:
- Order.
-
setOrder
public void setOrder(java.lang.String order)
- Parameters:
order
- Order.
-
getOfficeSectionManagedObject
public OfficeSectionManagedObjectModel getOfficeSectionManagedObject()
- Returns:
- Office section managed object.
-
setOfficeSectionManagedObject
public void setOfficeSectionManagedObject(OfficeSectionManagedObjectModel officeSectionManagedObject)
- Parameters:
officeSectionManagedObject
- Office section managed object.
-
getAdministration
public AdministrationModel getAdministration()
- Returns:
- Administration.
-
setAdministration
public void setAdministration(AdministrationModel administration)
- Parameters:
administration
- Administration.
-
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
-
-