Package net.officefloor.model.office
Class OfficeTeamModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.office.OfficeTeamModel
-
- All Implemented Interfaces:
ItemModel<OfficeTeamModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class OfficeTeamModel extends AbstractModel implements ItemModel<OfficeTeamModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OfficeTeamModel.OfficeTeamEvent
-
Constructor Summary
Constructors Constructor Description OfficeTeamModel()
Default constructor.OfficeTeamModel(java.lang.String officeTeamName)
Convenience constructor for new non-linked instance.OfficeTeamModel(java.lang.String officeTeamName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.OfficeTeamModel(java.lang.String officeTeamName, TypeQualificationModel[] typeQualification, OfficeFunctionToOfficeTeamModel[] officeFunction, OfficeManagedObjectSourceTeamToOfficeTeamModel[] officeManagedObjectSourceTeam, AdministrationToOfficeTeamModel[] administration, GovernanceToOfficeTeamModel[] governance)
Convenience constructor.OfficeTeamModel(java.lang.String officeTeamName, TypeQualificationModel[] typeQualification, OfficeFunctionToOfficeTeamModel[] officeFunction, OfficeManagedObjectSourceTeamToOfficeTeamModel[] officeManagedObjectSourceTeam, AdministrationToOfficeTeamModel[] administration, GovernanceToOfficeTeamModel[] governance, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
-
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
-
OfficeTeamModel
public OfficeTeamModel()
Default constructor.
-
OfficeTeamModel
public OfficeTeamModel(java.lang.String officeTeamName)
Convenience constructor for new non-linked instance.- Parameters:
officeTeamName
- Office team name.
-
OfficeTeamModel
public OfficeTeamModel(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.
-
OfficeTeamModel
public OfficeTeamModel(java.lang.String officeTeamName, TypeQualificationModel[] typeQualification, OfficeFunctionToOfficeTeamModel[] officeFunction, OfficeManagedObjectSourceTeamToOfficeTeamModel[] officeManagedObjectSourceTeam, AdministrationToOfficeTeamModel[] administration, GovernanceToOfficeTeamModel[] governance)
Convenience constructor.- Parameters:
officeTeamName
- Office team name.typeQualification
- Type qualification.officeFunction
- Office function.officeManagedObjectSourceTeam
- Office managed object source team.administration
- Administration.governance
- Governance.
-
OfficeTeamModel
public OfficeTeamModel(java.lang.String officeTeamName, TypeQualificationModel[] typeQualification, OfficeFunctionToOfficeTeamModel[] officeFunction, OfficeManagedObjectSourceTeamToOfficeTeamModel[] officeManagedObjectSourceTeam, AdministrationToOfficeTeamModel[] administration, GovernanceToOfficeTeamModel[] governance, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
officeTeamName
- Office team name.typeQualification
- Type qualification.officeFunction
- Office function.officeManagedObjectSourceTeam
- Office managed object source team.administration
- Administration.governance
- Governance.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.
-
getTypeQualifications
public java.util.List<TypeQualificationModel> getTypeQualifications()
- Returns:
- Type qualification.
-
addTypeQualification
public void addTypeQualification(TypeQualificationModel typeQualification)
- Parameters:
typeQualification
- Type qualification.
-
removeTypeQualification
public void removeTypeQualification(TypeQualificationModel typeQualification)
- Parameters:
typeQualification
- Type qualification.
-
getOfficeFunctions
public java.util.List<OfficeFunctionToOfficeTeamModel> getOfficeFunctions()
- Returns:
- Office function.
-
addOfficeFunction
public void addOfficeFunction(OfficeFunctionToOfficeTeamModel officeFunction)
- Parameters:
officeFunction
- Office function.
-
removeOfficeFunction
public void removeOfficeFunction(OfficeFunctionToOfficeTeamModel officeFunction)
- Parameters:
officeFunction
- Office function.
-
getOfficeManagedObjectSourceTeams
public java.util.List<OfficeManagedObjectSourceTeamToOfficeTeamModel> getOfficeManagedObjectSourceTeams()
- Returns:
- Office managed object source team.
-
addOfficeManagedObjectSourceTeam
public void addOfficeManagedObjectSourceTeam(OfficeManagedObjectSourceTeamToOfficeTeamModel officeManagedObjectSourceTeam)
- Parameters:
officeManagedObjectSourceTeam
- Office managed object source team.
-
removeOfficeManagedObjectSourceTeam
public void removeOfficeManagedObjectSourceTeam(OfficeManagedObjectSourceTeamToOfficeTeamModel officeManagedObjectSourceTeam)
- Parameters:
officeManagedObjectSourceTeam
- Office managed object source team.
-
getAdministrations
public java.util.List<AdministrationToOfficeTeamModel> getAdministrations()
- Returns:
- Administration.
-
addAdministration
public void addAdministration(AdministrationToOfficeTeamModel administration)
- Parameters:
administration
- Administration.
-
removeAdministration
public void removeAdministration(AdministrationToOfficeTeamModel administration)
- Parameters:
administration
- Administration.
-
getGovernances
public java.util.List<GovernanceToOfficeTeamModel> getGovernances()
- Returns:
- Governance.
-
addGovernance
public void addGovernance(GovernanceToOfficeTeamModel governance)
- Parameters:
governance
- Governance.
-
removeGovernance
public void removeGovernance(GovernanceToOfficeTeamModel governance)
- Parameters:
governance
- Governance.
-
removeConnections
public RemoveConnectionsAction<OfficeTeamModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<OfficeTeamModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-