Package net.officefloor.model.office
Class OfficeManagedObjectSourceTeamToOfficeTeamModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.office.OfficeManagedObjectSourceTeamToOfficeTeamModel
-
- All Implemented Interfaces:
ConnectionModel
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class OfficeManagedObjectSourceTeamToOfficeTeamModel extends AbstractModel implements ConnectionModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OfficeManagedObjectSourceTeamToOfficeTeamModel.OfficeManagedObjectSourceTeamToOfficeTeamEvent
-
Constructor Summary
Constructors Constructor Description OfficeManagedObjectSourceTeamToOfficeTeamModel()
Default constructor.OfficeManagedObjectSourceTeamToOfficeTeamModel(java.lang.String officeTeamName)
Convenience constructor for new non-linked instance.OfficeManagedObjectSourceTeamToOfficeTeamModel(java.lang.String officeTeamName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.OfficeManagedObjectSourceTeamToOfficeTeamModel(java.lang.String officeTeamName, OfficeManagedObjectSourceTeamModel officeManagedObjectSourceTeam, OfficeTeamModel officeTeam)
Convenience constructor.OfficeManagedObjectSourceTeamToOfficeTeamModel(java.lang.String officeTeamName, OfficeManagedObjectSourceTeamModel officeManagedObjectSourceTeam, OfficeTeamModel officeTeam, 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.OfficeManagedObjectSourceTeamModel
getOfficeManagedObjectSourceTeam()
OfficeTeamModel
getOfficeTeam()
java.lang.String
getOfficeTeamName()
boolean
isRemovable()
Indicates if this connection is removable.void
remove()
Removes connection to theAbstractModel
instances.void
setOfficeManagedObjectSourceTeam(OfficeManagedObjectSourceTeamModel officeManagedObjectSourceTeam)
void
setOfficeTeam(OfficeTeamModel officeTeam)
void
setOfficeTeamName(java.lang.String officeTeamName)
-
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
-
OfficeManagedObjectSourceTeamToOfficeTeamModel
public OfficeManagedObjectSourceTeamToOfficeTeamModel()
Default constructor.
-
OfficeManagedObjectSourceTeamToOfficeTeamModel
public OfficeManagedObjectSourceTeamToOfficeTeamModel(java.lang.String officeTeamName)
Convenience constructor for new non-linked instance.- Parameters:
officeTeamName
- Office team name.
-
OfficeManagedObjectSourceTeamToOfficeTeamModel
public OfficeManagedObjectSourceTeamToOfficeTeamModel(java.lang.String officeTeamName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
officeTeamName
- Office team name.x
- Horizontal location.y
- Vertical location.
-
OfficeManagedObjectSourceTeamToOfficeTeamModel
public OfficeManagedObjectSourceTeamToOfficeTeamModel(java.lang.String officeTeamName, OfficeManagedObjectSourceTeamModel officeManagedObjectSourceTeam, OfficeTeamModel officeTeam)
Convenience constructor.- Parameters:
officeTeamName
- Office team name.officeManagedObjectSourceTeam
- Office managed object source team.officeTeam
- Office team.
-
OfficeManagedObjectSourceTeamToOfficeTeamModel
public OfficeManagedObjectSourceTeamToOfficeTeamModel(java.lang.String officeTeamName, OfficeManagedObjectSourceTeamModel officeManagedObjectSourceTeam, OfficeTeamModel officeTeam, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
officeTeamName
- Office team name.officeManagedObjectSourceTeam
- Office managed object source team.officeTeam
- Office team.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getOfficeTeamName
public java.lang.String getOfficeTeamName()
- Returns:
- Office team name.
-
setOfficeTeamName
public void setOfficeTeamName(java.lang.String officeTeamName)
- Parameters:
officeTeamName
- Office team name.
-
getOfficeManagedObjectSourceTeam
public OfficeManagedObjectSourceTeamModel getOfficeManagedObjectSourceTeam()
- Returns:
- Office managed object source team.
-
setOfficeManagedObjectSourceTeam
public void setOfficeManagedObjectSourceTeam(OfficeManagedObjectSourceTeamModel officeManagedObjectSourceTeam)
- Parameters:
officeManagedObjectSourceTeam
- Office managed object source team.
-
getOfficeTeam
public OfficeTeamModel getOfficeTeam()
- Returns:
- Office team.
-
setOfficeTeam
public void setOfficeTeam(OfficeTeamModel officeTeam)
- Parameters:
officeTeam
- Office team.
-
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
-
-