@Generated(value="net.officefloor.model.generate.ModelGenerator") public class OfficeTaskToOfficeGovernanceModel extends AbstractModel implements ConnectionModel
Modifier and Type | Class and Description |
---|---|
static class |
OfficeTaskToOfficeGovernanceModel.OfficeTaskToOfficeGovernanceEvent |
Constructor and Description |
---|
OfficeTaskToOfficeGovernanceModel()
Default constructor.
|
OfficeTaskToOfficeGovernanceModel(String officeGovernanceName)
Convenience constructor for new non-linked instance.
|
OfficeTaskToOfficeGovernanceModel(String officeGovernanceName,
OfficeTaskModel officeTask,
OfficeGovernanceModel officeGovernance)
Convenience constructor.
|
OfficeTaskToOfficeGovernanceModel(String officeGovernanceName,
OfficeTaskModel officeTask,
OfficeGovernanceModel officeGovernance,
int x,
int y)
Convenience constructor allowing XY initialising.
|
Modifier and Type | Method and Description |
---|---|
void |
connect()
Connects to the
AbstractModel instances. |
OfficeGovernanceModel |
getOfficeGovernance() |
String |
getOfficeGovernanceName() |
OfficeTaskModel |
getOfficeTask() |
boolean |
isRemovable()
Indicates if this connection is removable.
|
void |
remove()
Removes connection to the
AbstractModel instances. |
void |
setOfficeGovernance(OfficeGovernanceModel officeGovernance) |
void |
setOfficeGovernanceName(String officeGovernanceName) |
void |
setOfficeTask(OfficeTaskModel officeTask) |
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 OfficeTaskToOfficeGovernanceModel()
public OfficeTaskToOfficeGovernanceModel(String officeGovernanceName)
officeGovernanceName
- Office governance name.public OfficeTaskToOfficeGovernanceModel(String officeGovernanceName, OfficeTaskModel officeTask, OfficeGovernanceModel officeGovernance)
officeGovernanceName
- Office governance name.officeTask
- Office task.officeGovernance
- Office governance.public OfficeTaskToOfficeGovernanceModel(String officeGovernanceName, OfficeTaskModel officeTask, OfficeGovernanceModel officeGovernance, int x, int y)
officeGovernanceName
- Office governance name.officeTask
- Office task.officeGovernance
- Office governance.x
- Horizontal location.y
- Vertical location.public String getOfficeGovernanceName()
public void setOfficeGovernanceName(String officeGovernanceName)
officeGovernanceName
- Office governance name.public OfficeTaskModel getOfficeTask()
public void setOfficeTask(OfficeTaskModel officeTask)
officeTask
- Office task.public OfficeGovernanceModel getOfficeGovernance()
public void setOfficeGovernance(OfficeGovernanceModel officeGovernance)
officeGovernance
- Office governance.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.