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