Package net.officefloor.woof.model.teams
Class WoofTeamModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.woof.model.teams.WoofTeamModel
-
- All Implemented Interfaces:
ItemModel<WoofTeamModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class WoofTeamModel extends AbstractModel implements ItemModel<WoofTeamModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WoofTeamModel.WoofTeamEvent
-
Constructor Summary
Constructors Constructor Description WoofTeamModel()
Default constructor.WoofTeamModel(int teamSize, java.lang.String teamSourceClassName, java.lang.String qualifier, java.lang.String type)
Convenience constructor for new non-linked instance.WoofTeamModel(int teamSize, java.lang.String teamSourceClassName, java.lang.String qualifier, java.lang.String type, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.WoofTeamModel(int teamSize, java.lang.String teamSourceClassName, java.lang.String qualifier, java.lang.String type, PropertySourceModel[] propertySource, TypeQualificationModel[] typeQualification)
Convenience constructor.WoofTeamModel(int teamSize, java.lang.String teamSourceClassName, java.lang.String qualifier, java.lang.String type, PropertySourceModel[] propertySource, TypeQualificationModel[] typeQualification, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPropertySource(PropertySourceModel propertySource)
void
addTypeQualification(TypeQualificationModel typeQualification)
java.util.List<PropertySourceModel>
getPropertySources()
java.lang.String
getQualifier()
int
getTeamSize()
java.lang.String
getTeamSourceClassName()
java.lang.String
getType()
java.util.List<TypeQualificationModel>
getTypeQualifications()
RemoveConnectionsAction<WoofTeamModel>
removeConnections()
Remove Connections.void
removePropertySource(PropertySourceModel propertySource)
void
removeTypeQualification(TypeQualificationModel typeQualification)
void
setQualifier(java.lang.String qualifier)
void
setTeamSize(int teamSize)
void
setTeamSourceClassName(java.lang.String teamSourceClassName)
void
setType(java.lang.String type)
-
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
-
WoofTeamModel
public WoofTeamModel()
Default constructor.
-
WoofTeamModel
public WoofTeamModel(int teamSize, java.lang.String teamSourceClassName, java.lang.String qualifier, java.lang.String type)
Convenience constructor for new non-linked instance.- Parameters:
teamSize
- Team size.teamSourceClassName
- Team source class name.qualifier
- Qualifier.type
- Type.
-
WoofTeamModel
public WoofTeamModel(int teamSize, java.lang.String teamSourceClassName, java.lang.String qualifier, java.lang.String type, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
teamSize
- Team size.teamSourceClassName
- Team source class name.qualifier
- Qualifier.type
- Type.x
- Horizontal location.y
- Vertical location.
-
WoofTeamModel
public WoofTeamModel(int teamSize, java.lang.String teamSourceClassName, java.lang.String qualifier, java.lang.String type, PropertySourceModel[] propertySource, TypeQualificationModel[] typeQualification)
Convenience constructor.- Parameters:
teamSize
- Team size.teamSourceClassName
- Team source class name.qualifier
- Qualifier.type
- Type.propertySource
- Property source.typeQualification
- Type qualification.
-
WoofTeamModel
public WoofTeamModel(int teamSize, java.lang.String teamSourceClassName, java.lang.String qualifier, java.lang.String type, PropertySourceModel[] propertySource, TypeQualificationModel[] typeQualification, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
teamSize
- Team size.teamSourceClassName
- Team source class name.qualifier
- Qualifier.type
- Type.propertySource
- Property source.typeQualification
- Type qualification.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getTeamSize
public int getTeamSize()
- Returns:
- Team size.
-
setTeamSize
public void setTeamSize(int teamSize)
- Parameters:
teamSize
- Team size.
-
getTeamSourceClassName
public java.lang.String getTeamSourceClassName()
- Returns:
- Team source class name.
-
setTeamSourceClassName
public void setTeamSourceClassName(java.lang.String teamSourceClassName)
- Parameters:
teamSourceClassName
- Team source class name.
-
getQualifier
public java.lang.String getQualifier()
- Returns:
- Qualifier.
-
setQualifier
public void setQualifier(java.lang.String qualifier)
- Parameters:
qualifier
- Qualifier.
-
getType
public java.lang.String getType()
- Returns:
- Type.
-
setType
public void setType(java.lang.String type)
- Parameters:
type
- Type.
-
getPropertySources
public java.util.List<PropertySourceModel> getPropertySources()
- Returns:
- Property source.
-
addPropertySource
public void addPropertySource(PropertySourceModel propertySource)
- Parameters:
propertySource
- Property source.
-
removePropertySource
public void removePropertySource(PropertySourceModel propertySource)
- Parameters:
propertySource
- Property source.
-
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.
-
removeConnections
public RemoveConnectionsAction<WoofTeamModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<WoofTeamModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-