Package net.officefloor.model.office
Class OfficeSupplierThreadLocalToOfficeManagedObjectModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.office.OfficeSupplierThreadLocalToOfficeManagedObjectModel
-
- All Implemented Interfaces:
ConnectionModel
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class OfficeSupplierThreadLocalToOfficeManagedObjectModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OfficeSupplierThreadLocalToOfficeManagedObjectModel.OfficeSupplierThreadLocalToOfficeManagedObjectEvent
-
Constructor Summary
Constructors Constructor Description OfficeSupplierThreadLocalToOfficeManagedObjectModel()
Default constructor.OfficeSupplierThreadLocalToOfficeManagedObjectModel(java.lang.String officeManagedObjectName)
Convenience constructor for new non-linked instance.OfficeSupplierThreadLocalToOfficeManagedObjectModel(java.lang.String officeManagedObjectName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.OfficeSupplierThreadLocalToOfficeManagedObjectModel(java.lang.String officeManagedObjectName, OfficeSupplierThreadLocalModel officeSupplierThreadLocal, OfficeManagedObjectModel officeManagedObject)
Convenience constructor.OfficeSupplierThreadLocalToOfficeManagedObjectModel(java.lang.String officeManagedObjectName, OfficeSupplierThreadLocalModel officeSupplierThreadLocal, OfficeManagedObjectModel officeManagedObject, 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.OfficeManagedObjectModel
getOfficeManagedObject()
java.lang.String
getOfficeManagedObjectName()
OfficeSupplierThreadLocalModel
getOfficeSupplierThreadLocal()
boolean
isRemovable()
Indicates if this connection is removable.void
remove()
Removes connection to theAbstractModel
instances.void
setOfficeManagedObject(OfficeManagedObjectModel officeManagedObject)
void
setOfficeManagedObjectName(java.lang.String officeManagedObjectName)
void
setOfficeSupplierThreadLocal(OfficeSupplierThreadLocalModel officeSupplierThreadLocal)
-
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
-
OfficeSupplierThreadLocalToOfficeManagedObjectModel
public OfficeSupplierThreadLocalToOfficeManagedObjectModel()
Default constructor.
-
OfficeSupplierThreadLocalToOfficeManagedObjectModel
public OfficeSupplierThreadLocalToOfficeManagedObjectModel(java.lang.String officeManagedObjectName)
Convenience constructor for new non-linked instance.- Parameters:
officeManagedObjectName
- Office managed object name.
-
OfficeSupplierThreadLocalToOfficeManagedObjectModel
public OfficeSupplierThreadLocalToOfficeManagedObjectModel(java.lang.String officeManagedObjectName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
officeManagedObjectName
- Office managed object name.x
- Horizontal location.y
- Vertical location.
-
OfficeSupplierThreadLocalToOfficeManagedObjectModel
public OfficeSupplierThreadLocalToOfficeManagedObjectModel(java.lang.String officeManagedObjectName, OfficeSupplierThreadLocalModel officeSupplierThreadLocal, OfficeManagedObjectModel officeManagedObject)
Convenience constructor.- Parameters:
officeManagedObjectName
- Office managed object name.officeSupplierThreadLocal
- Office supplier thread local.officeManagedObject
- Office managed object.
-
OfficeSupplierThreadLocalToOfficeManagedObjectModel
public OfficeSupplierThreadLocalToOfficeManagedObjectModel(java.lang.String officeManagedObjectName, OfficeSupplierThreadLocalModel officeSupplierThreadLocal, OfficeManagedObjectModel officeManagedObject, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
officeManagedObjectName
- Office managed object name.officeSupplierThreadLocal
- Office supplier thread local.officeManagedObject
- Office managed object.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getOfficeManagedObjectName
public java.lang.String getOfficeManagedObjectName()
- Returns:
- Office managed object name.
-
setOfficeManagedObjectName
public void setOfficeManagedObjectName(java.lang.String officeManagedObjectName)
- Parameters:
officeManagedObjectName
- Office managed object name.
-
getOfficeSupplierThreadLocal
public OfficeSupplierThreadLocalModel getOfficeSupplierThreadLocal()
- Returns:
- Office supplier thread local.
-
setOfficeSupplierThreadLocal
public void setOfficeSupplierThreadLocal(OfficeSupplierThreadLocalModel officeSupplierThreadLocal)
- Parameters:
officeSupplierThreadLocal
- Office supplier thread local.
-
getOfficeManagedObject
public OfficeManagedObjectModel getOfficeManagedObject()
- Returns:
- Office managed object.
-
setOfficeManagedObject
public void setOfficeManagedObject(OfficeManagedObjectModel officeManagedObject)
- Parameters:
officeManagedObject
- Office managed object.
-
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
-
-