@Generated(value="net.officefloor.model.generate.ModelGenerator") public class OfficeTaskModel extends AbstractModel implements ItemModel<OfficeTaskModel>
Modifier and Type | Class and Description |
---|---|
static class |
OfficeTaskModel.OfficeTaskEvent |
Constructor and Description |
---|
OfficeTaskModel()
Default constructor.
|
OfficeTaskModel(String officeTaskName)
Convenience constructor for new non-linked instance.
|
OfficeTaskModel(String officeTaskName,
OfficeTaskToPreDutyModel[] preDuty,
OfficeTaskToPostDutyModel[] postDuty,
OfficeTaskToOfficeGovernanceModel[] officeGovernance)
Convenience constructor.
|
OfficeTaskModel(String officeTaskName,
OfficeTaskToPreDutyModel[] preDuty,
OfficeTaskToPostDutyModel[] postDuty,
OfficeTaskToOfficeGovernanceModel[] officeGovernance,
int x,
int y)
Convenience constructor allowing XY initialising.
|
Modifier and Type | Method and Description |
---|---|
void |
addOfficeGovernance(OfficeTaskToOfficeGovernanceModel officeGovernance) |
void |
addPostDuty(OfficeTaskToPostDutyModel postDuty) |
void |
addPreDuty(OfficeTaskToPreDutyModel preDuty) |
List<OfficeTaskToOfficeGovernanceModel> |
getOfficeGovernances() |
String |
getOfficeTaskName() |
List<OfficeTaskToPostDutyModel> |
getPostDuties() |
List<OfficeTaskToPreDutyModel> |
getPreDuties() |
RemoveConnectionsAction<OfficeTaskModel> |
removeConnections()
Remove Connections.
|
void |
removeOfficeGovernance(OfficeTaskToOfficeGovernanceModel officeGovernance) |
void |
removePostDuty(OfficeTaskToPostDutyModel postDuty) |
void |
removePreDuty(OfficeTaskToPreDutyModel preDuty) |
void |
setOfficeTaskName(String officeTaskName) |
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 OfficeTaskModel()
public OfficeTaskModel(String officeTaskName)
officeTaskName
- Office task name.public OfficeTaskModel(String officeTaskName, OfficeTaskToPreDutyModel[] preDuty, OfficeTaskToPostDutyModel[] postDuty, OfficeTaskToOfficeGovernanceModel[] officeGovernance)
officeTaskName
- Office task name.preDuty
- Pre duty.postDuty
- Post duty.officeGovernance
- Office governance.public OfficeTaskModel(String officeTaskName, OfficeTaskToPreDutyModel[] preDuty, OfficeTaskToPostDutyModel[] postDuty, OfficeTaskToOfficeGovernanceModel[] officeGovernance, int x, int y)
officeTaskName
- Office task name.preDuty
- Pre duty.postDuty
- Post duty.officeGovernance
- Office governance.x
- Horizontal location.y
- Vertical location.public String getOfficeTaskName()
public void setOfficeTaskName(String officeTaskName)
officeTaskName
- Office task name.public List<OfficeTaskToPreDutyModel> getPreDuties()
public void addPreDuty(OfficeTaskToPreDutyModel preDuty)
preDuty
- Pre duty.public void removePreDuty(OfficeTaskToPreDutyModel preDuty)
preDuty
- Pre duty.public List<OfficeTaskToPostDutyModel> getPostDuties()
public void addPostDuty(OfficeTaskToPostDutyModel postDuty)
postDuty
- Post duty.public void removePostDuty(OfficeTaskToPostDutyModel postDuty)
postDuty
- Post duty.public List<OfficeTaskToOfficeGovernanceModel> getOfficeGovernances()
public void addOfficeGovernance(OfficeTaskToOfficeGovernanceModel officeGovernance)
officeGovernance
- Office governance.public void removeOfficeGovernance(OfficeTaskToOfficeGovernanceModel officeGovernance)
officeGovernance
- Office governance.public RemoveConnectionsAction<OfficeTaskModel> removeConnections()
removeConnections
in interface ItemModel<OfficeTaskModel>
RemoveConnectionsAction
to remove the ConnectionModel
instances.Copyright © 2005–2016. All rights reserved.