Class OfficeFloorExecutiveModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.model.officefloor.OfficeFloorExecutiveModel
-
- All Implemented Interfaces:
ItemModel<OfficeFloorExecutiveModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class OfficeFloorExecutiveModel extends AbstractModel implements ItemModel<OfficeFloorExecutiveModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OfficeFloorExecutiveModel.OfficeFloorExecutiveEvent
-
Constructor Summary
Constructors Constructor Description OfficeFloorExecutiveModel()
Default constructor.OfficeFloorExecutiveModel(java.lang.String executiveSourceClassName)
Convenience constructor for new non-linked instance.OfficeFloorExecutiveModel(java.lang.String executiveSourceClassName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.OfficeFloorExecutiveModel(java.lang.String executiveSourceClassName, PropertyModel[] property, OfficeFloorExecutionStrategyModel[] executionStrategy)
Convenience constructor.OfficeFloorExecutiveModel(java.lang.String executiveSourceClassName, PropertyModel[] property, OfficeFloorExecutionStrategyModel[] executionStrategy, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addExecutionStrategy(OfficeFloorExecutionStrategyModel executionStrategy)
void
addProperty(PropertyModel property)
java.util.List<OfficeFloorExecutionStrategyModel>
getExecutionStrategies()
java.lang.String
getExecutiveSourceClassName()
java.util.List<PropertyModel>
getProperties()
RemoveConnectionsAction<OfficeFloorExecutiveModel>
removeConnections()
Remove Connections.void
removeExecutionStrategy(OfficeFloorExecutionStrategyModel executionStrategy)
void
removeProperty(PropertyModel property)
void
setExecutiveSourceClassName(java.lang.String executiveSourceClassName)
-
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
-
OfficeFloorExecutiveModel
public OfficeFloorExecutiveModel()
Default constructor.
-
OfficeFloorExecutiveModel
public OfficeFloorExecutiveModel(java.lang.String executiveSourceClassName)
Convenience constructor for new non-linked instance.- Parameters:
executiveSourceClassName
- Executive source class name.
-
OfficeFloorExecutiveModel
public OfficeFloorExecutiveModel(java.lang.String executiveSourceClassName, int x, int y)
Convenience constructor for new non-linked instance allowing XY initialising.- Parameters:
executiveSourceClassName
- Executive source class name.x
- Horizontal location.y
- Vertical location.
-
OfficeFloorExecutiveModel
public OfficeFloorExecutiveModel(java.lang.String executiveSourceClassName, PropertyModel[] property, OfficeFloorExecutionStrategyModel[] executionStrategy)
Convenience constructor.- Parameters:
executiveSourceClassName
- Executive source class name.property
- Property.executionStrategy
- Execution strategy.
-
OfficeFloorExecutiveModel
public OfficeFloorExecutiveModel(java.lang.String executiveSourceClassName, PropertyModel[] property, OfficeFloorExecutionStrategyModel[] executionStrategy, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
executiveSourceClassName
- Executive source class name.property
- Property.executionStrategy
- Execution strategy.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getExecutiveSourceClassName
public java.lang.String getExecutiveSourceClassName()
- Returns:
- Executive source class name.
-
setExecutiveSourceClassName
public void setExecutiveSourceClassName(java.lang.String executiveSourceClassName)
- Parameters:
executiveSourceClassName
- Executive source class name.
-
getProperties
public java.util.List<PropertyModel> getProperties()
- Returns:
- Property.
-
addProperty
public void addProperty(PropertyModel property)
- Parameters:
property
- Property.
-
removeProperty
public void removeProperty(PropertyModel property)
- Parameters:
property
- Property.
-
getExecutionStrategies
public java.util.List<OfficeFloorExecutionStrategyModel> getExecutionStrategies()
- Returns:
- Execution strategy.
-
addExecutionStrategy
public void addExecutionStrategy(OfficeFloorExecutionStrategyModel executionStrategy)
- Parameters:
executionStrategy
- Execution strategy.
-
removeExecutionStrategy
public void removeExecutionStrategy(OfficeFloorExecutionStrategyModel executionStrategy)
- Parameters:
executionStrategy
- Execution strategy.
-
removeConnections
public RemoveConnectionsAction<OfficeFloorExecutiveModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<OfficeFloorExecutiveModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-