@Generated(value="net.officefloor.model.generate.ModelGenerator") public class OfficeSubSectionToOfficeGovernanceModel extends AbstractModel implements ConnectionModel
Modifier and Type | Class and Description |
---|---|
static class |
OfficeSubSectionToOfficeGovernanceModel.OfficeSubSectionToOfficeGovernanceEvent |
Constructor and Description |
---|
OfficeSubSectionToOfficeGovernanceModel()
Default constructor.
|
OfficeSubSectionToOfficeGovernanceModel(String officeGovernanceName)
Convenience constructor for new non-linked instance.
|
OfficeSubSectionToOfficeGovernanceModel(String officeGovernanceName,
OfficeSubSectionModel officeSubSection,
OfficeGovernanceModel officeGovernance)
Convenience constructor.
|
OfficeSubSectionToOfficeGovernanceModel(String officeGovernanceName,
OfficeSubSectionModel officeSubSection,
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() |
OfficeSubSectionModel |
getOfficeSubSection() |
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 |
setOfficeSubSection(OfficeSubSectionModel officeSubSection) |
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 OfficeSubSectionToOfficeGovernanceModel()
public OfficeSubSectionToOfficeGovernanceModel(String officeGovernanceName)
officeGovernanceName
- Office governance name.public OfficeSubSectionToOfficeGovernanceModel(String officeGovernanceName, OfficeSubSectionModel officeSubSection, OfficeGovernanceModel officeGovernance)
officeGovernanceName
- Office governance name.officeSubSection
- Office sub section.officeGovernance
- Office governance.public OfficeSubSectionToOfficeGovernanceModel(String officeGovernanceName, OfficeSubSectionModel officeSubSection, OfficeGovernanceModel officeGovernance, int x, int y)
officeGovernanceName
- Office governance name.officeSubSection
- Office sub section.officeGovernance
- Office governance.x
- Horizontal location.y
- Vertical location.public String getOfficeGovernanceName()
public void setOfficeGovernanceName(String officeGovernanceName)
officeGovernanceName
- Office governance name.public OfficeSubSectionModel getOfficeSubSection()
public void setOfficeSubSection(OfficeSubSectionModel officeSubSection)
officeSubSection
- Office sub section.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.