Package jasima.shopSim.util.modelDef
Class ShopDef
- java.lang.Object
-
- jasima.shopSim.util.modelDef.PropertySupport
-
- jasima.shopSim.util.modelDef.ShopDef
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ShopDef extends PropertySupport implements Cloneable
Simple data model object to hold the parameters necessary to configure aShop.- Author:
- Torsten Hildebrandt
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShopDef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShopDefclone()SourceDef[]getJobSources()intgetMaxJobsInSystem()StringgetName()RouteDef[]getRoutes()ShopConfiguratorgetShopConfigurator()doublegetSimulationLength()intgetStopAfterNumJobs()WorkstationDef[]getWorkstations()booleanisEnableLookAhead()voidsetEnableLookAhead(boolean enableLookAhead)voidsetJobSources(SourceDef[] js)voidsetMaxJobsInSystem(int maxJobsInSystem)voidsetName(String name)voidsetRoutes(RouteDef[] rs)voidsetSimulationLength(double simulationLength)voidsetStopAfterNumJobs(int stopAfterNumJobs)voidsetWorkstations(WorkstationDef[] workstations)-
Methods inherited from class jasima.shopSim.util.modelDef.PropertySupport
addPropertyChangeListener, firePropertyChange, removePropertyChangeListener
-
-
-
-
Method Detail
-
getSimulationLength
public double getSimulationLength()
-
setSimulationLength
public void setSimulationLength(double simulationLength)
-
getMaxJobsInSystem
public int getMaxJobsInSystem()
-
setMaxJobsInSystem
public void setMaxJobsInSystem(int maxJobsInSystem)
-
getStopAfterNumJobs
public int getStopAfterNumJobs()
-
setStopAfterNumJobs
public void setStopAfterNumJobs(int stopAfterNumJobs)
-
isEnableLookAhead
public boolean isEnableLookAhead()
-
setEnableLookAhead
public void setEnableLookAhead(boolean enableLookAhead)
-
getWorkstations
public WorkstationDef[] getWorkstations()
-
setWorkstations
public void setWorkstations(WorkstationDef[] workstations)
-
getJobSources
public SourceDef[] getJobSources()
-
setJobSources
public void setJobSources(SourceDef[] js)
-
getRoutes
public RouteDef[] getRoutes()
-
setRoutes
public void setRoutes(RouteDef[] rs)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getShopConfigurator
public ShopConfigurator getShopConfigurator()
-
clone
public ShopDef clone()
- Overrides:
clonein classPropertySupport
-
-