@Generated(value="net.officefloor.model.generate.ModelGenerator") public class OfficeGovernanceToOfficeTeamModel extends AbstractModel implements ConnectionModel
Modifier and Type | Class and Description |
---|---|
static class |
OfficeGovernanceToOfficeTeamModel.OfficeGovernanceToOfficeTeamEvent |
Constructor and Description |
---|
OfficeGovernanceToOfficeTeamModel()
Default constructor.
|
OfficeGovernanceToOfficeTeamModel(String officeTeamName)
Convenience constructor for new non-linked instance.
|
OfficeGovernanceToOfficeTeamModel(String officeTeamName,
OfficeGovernanceModel officeGovernance,
OfficeTeamModel officeTeam)
Convenience constructor.
|
OfficeGovernanceToOfficeTeamModel(String officeTeamName,
OfficeGovernanceModel officeGovernance,
OfficeTeamModel officeTeam,
int x,
int y)
Convenience constructor allowing XY initialising.
|
Modifier and Type | Method and Description |
---|---|
void |
connect()
Connects to the
AbstractModel instances. |
OfficeGovernanceModel |
getOfficeGovernance() |
OfficeTeamModel |
getOfficeTeam() |
String |
getOfficeTeamName() |
boolean |
isRemovable()
Indicates if this connection is removable.
|
void |
remove()
Removes connection to the
AbstractModel instances. |
void |
setOfficeGovernance(OfficeGovernanceModel officeGovernance) |
void |
setOfficeTeam(OfficeTeamModel officeTeam) |
void |
setOfficeTeamName(String officeTeamName) |
addItemToList, addPropertyChangeListener, changeField, firePropertyChange, getX, getY, removeItemFromList, removePropertyChangeListener, setX, setY
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getX, getY, removePropertyChangeListener, setX, setY
public OfficeGovernanceToOfficeTeamModel()
public OfficeGovernanceToOfficeTeamModel(String officeTeamName)
officeTeamName
- Office team name.public OfficeGovernanceToOfficeTeamModel(String officeTeamName, OfficeGovernanceModel officeGovernance, OfficeTeamModel officeTeam)
officeTeamName
- Office team name.officeGovernance
- Office governance.officeTeam
- Office team.public OfficeGovernanceToOfficeTeamModel(String officeTeamName, OfficeGovernanceModel officeGovernance, OfficeTeamModel officeTeam, int x, int y)
officeTeamName
- Office team name.officeGovernance
- Office governance.officeTeam
- Office team.x
- Horizontal location.y
- Vertical location.public String getOfficeTeamName()
public void setOfficeTeamName(String officeTeamName)
officeTeamName
- Office team name.public OfficeGovernanceModel getOfficeGovernance()
public void setOfficeGovernance(OfficeGovernanceModel officeGovernance)
officeGovernance
- Office governance.public OfficeTeamModel getOfficeTeam()
public void setOfficeTeam(OfficeTeamModel officeTeam)
officeTeam
- Office team.public boolean isRemovable()
ConnectionModel
isRemovable
in interface ConnectionModel
public void connect()
AbstractModel
instances.connect
in interface ConnectionModel
public void remove()
AbstractModel
instances.remove
in interface ConnectionModel
Copyright © 2005–2016. All rights reserved.