Class DtoAllocation
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoAllocation
- All Implemented Interfaces:
IDtoAllocation
Proposed realization of a job.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoAllocation(String id, Long setupStart, Long setupEnd, Long runStart, Long runEnd, Long teardownStart, Long teardownEnd, String job, String device, Double runCost, Long runDuration, Double setupCost, Long setupDuration, Double teardownCost, Long teardownDuration, IDtoAllocationDependency[] dependencies, IDtoToolUsage[] toolUsages, IDtoSkillUsage[] skillUsages, IDtoTimedMaterialProduction[] producedMaterials, IDtoTimedMaterialConsumption[] consumedMaterials) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe Material produced at some time during this allocation.All allocations that this allocation directly depends on.Id of the device used by this allocation.getId()Unique identifier among all DtoAllocations.getJob()Id of the production job that is produced in this allocation.Id of the process executed in this allocation.The Material produced at some time during this allocation.The total cost in production (after setup, before teardown).The total duration in production (after setup, before teardown).Finish production at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart).Start production at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart).The total cost in setup (before production).The total duration in setup (before production).Finish preparation of the needed deviceState at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart).Start preparation of the needed deviceState at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart).The skills needed during some times by this allocation.The total cost in teardown (after production).The total duration in teardown (after production).Finish preparation of teardownDeviceState after run at this time (teardownEnd greater or equal teardownStart equal to runEnd greater than runStart equal to setupEnd greater or equal setupStart).Start preparation of teardownDeviceState after run at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart).The tools needed during some times by this allocation.inthashCode()voidsetConsumedMaterials(IDtoTimedMaterialConsumption[] consumedMaterials) The Material produced at some time during this allocation.voidsetDependencies(IDtoAllocationDependency[] dependencies) All allocations that this allocation directly depends on.voidId of the device used by this allocation.voidUnique identifier among all DtoAllocations.voidId of the production job that is produced in this allocation.voidsetProcess(String process) Id of the process executed in this allocation.voidsetProducedMaterials(IDtoTimedMaterialProduction[] producedMaterials) The Material produced at some time during this allocation.voidsetRunCost(Double runCost) The total cost in production (after setup, before teardown).voidsetRunDuration(Long runDuration) The total duration in production (after setup, before teardown).voidFinish production at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart).voidsetRunStart(Long runStart) Start production at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart).voidsetSetupCost(Double setupCost) The total cost in setup (before production).voidsetSetupDuration(Long setupDuration) The total duration in setup (before production).voidsetSetupEnd(Long setupEnd) Finish preparation of the needed deviceState at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart).voidsetSetupStart(Long setupStart) Start preparation of the needed deviceState at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart).voidsetSkillUsages(IDtoSkillUsage[] skillUsages) The skills needed during some times by this allocation.voidsetTeardownCost(Double teardownCost) The total cost in teardown (after production).voidsetTeardownDuration(Long teardownDuration) The total duration in teardown (after production).voidsetTeardownEnd(Long teardownEnd) Finish preparation of teardownDeviceState after run at this time (teardownEnd greater or equal teardownStart equal to runEnd greater than runStart equal to setupEnd greater or equal setupStart).voidsetTeardownStart(Long teardownStart) Start preparation of teardownDeviceState after run at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart).voidsetToolUsages(IDtoToolUsage[] toolUsages) The tools needed during some times by this allocation.withConsumedMaterials(IDtoTimedMaterialConsumption[] consumedMaterials) The Material produced at some time during this allocation.withDependencies(IDtoAllocationDependency[] dependencies) All allocations that this allocation directly depends on.withDevice(String device) Id of the device used by this allocation.Unique identifier among all DtoAllocations.Id of the production job that is produced in this allocation.withProcess(String process) Id of the process executed in this allocation.withProducedMaterials(IDtoTimedMaterialProduction[] producedMaterials) The Material produced at some time during this allocation.withRunCost(Double runCost) The total cost in production (after setup, before teardown).withRunDuration(Long runDuration) The total duration in production (after setup, before teardown).withRunEnd(Long runEnd) Finish production at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart).withRunStart(Long runStart) Start production at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart).withSetupCost(Double setupCost) The total cost in setup (before production).withSetupDuration(Long setupDuration) The total duration in setup (before production).withSetupEnd(Long setupEnd) Finish preparation of the needed deviceState at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart).withSetupStart(Long setupStart) Start preparation of the needed deviceState at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart).withSkillUsages(IDtoSkillUsage[] skillUsages) The skills needed during some times by this allocation.withTeardownCost(Double teardownCost) The total cost in teardown (after production).withTeardownDuration(Long teardownDuration) The total duration in teardown (after production).withTeardownEnd(Long teardownEnd) Finish preparation of teardownDeviceState after run at this time (teardownEnd greater or equal teardownStart equal to runEnd greater than runStart equal to setupEnd greater or equal setupStart).withTeardownStart(Long teardownStart) Start preparation of teardownDeviceState after run at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart).withToolUsages(IDtoToolUsage[] toolUsages) The tools needed during some times by this allocation.
-
Constructor Details
-
DtoAllocation
protected DtoAllocation() -
DtoAllocation
public DtoAllocation(String id, Long setupStart, Long setupEnd, Long runStart, Long runEnd, Long teardownStart, Long teardownEnd, String job, String device, Double runCost, Long runDuration, Double setupCost, Long setupDuration, Double teardownCost, Long teardownDuration, IDtoAllocationDependency[] dependencies, IDtoToolUsage[] toolUsages, IDtoSkillUsage[] skillUsages, IDtoTimedMaterialProduction[] producedMaterials, IDtoTimedMaterialConsumption[] consumedMaterials)
-
-
Method Details
-
getId
Unique identifier among all DtoAllocations.- Specified by:
getIdin interfaceIDtoAllocation
-
setId
Unique identifier among all DtoAllocations.- Specified by:
setIdin interfaceIDtoAllocation
-
getSetupStart
Start preparation of the needed deviceState at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart).- Specified by:
getSetupStartin interfaceIDtoAllocation
-
setSetupStart
Start preparation of the needed deviceState at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart).- Specified by:
setSetupStartin interfaceIDtoAllocation
-
getSetupEnd
Finish preparation of the needed deviceState at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart). Redundant information Will always be equal to runStart.- Specified by:
getSetupEndin interfaceIDtoAllocation
-
setSetupEnd
Finish preparation of the needed deviceState at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart). Redundant information Will always be equal to runStart.- Specified by:
setSetupEndin interfaceIDtoAllocation
-
getRunStart
Start production at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart). Will always be equal to setupEnd. tecnically Redundant information (see device avaiabilities, reservations, setup and run duration, ...)- Specified by:
getRunStartin interfaceIDtoAllocation
-
setRunStart
Start production at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart). Will always be equal to setupEnd. tecnically Redundant information (see device avaiabilities, reservations, setup and run duration, ...)- Specified by:
setRunStartin interfaceIDtoAllocation
-
getRunEnd
Finish production at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart). Redundant information Will always be equal to teardownStart.- Specified by:
getRunEndin interfaceIDtoAllocation
-
setRunEnd
Finish production at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart). Redundant information Will always be equal to teardownStart.- Specified by:
setRunEndin interfaceIDtoAllocation
-
getTeardownStart
Start preparation of teardownDeviceState after run at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart). Will always be equal to runEnd. tecnically Redundant information (see device avaiabilities, reservations, setup and run duration, ...)- Specified by:
getTeardownStartin interfaceIDtoAllocation
-
setTeardownStart
Start preparation of teardownDeviceState after run at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart). Will always be equal to runEnd. tecnically Redundant information (see device avaiabilities, reservations, setup and run duration, ...)- Specified by:
setTeardownStartin interfaceIDtoAllocation
-
getTeardownEnd
Finish preparation of teardownDeviceState after run at this time (teardownEnd greater or equal teardownStart equal to runEnd greater than runStart equal to setupEnd greater or equal setupStart). tecnically Redundant information (see device avaiabilities, reservations, setup and run duration, ...)- Specified by:
getTeardownEndin interfaceIDtoAllocation
-
setTeardownEnd
Finish preparation of teardownDeviceState after run at this time (teardownEnd greater or equal teardownStart equal to runEnd greater than runStart equal to setupEnd greater or equal setupStart). tecnically Redundant information (see device avaiabilities, reservations, setup and run duration, ...)- Specified by:
setTeardownEndin interfaceIDtoAllocation
-
getJob
Id of the production job that is produced in this allocation.- Specified by:
getJobin interfaceIDtoAllocation
-
setJob
Id of the production job that is produced in this allocation.- Specified by:
setJobin interfaceIDtoAllocation
-
getProcess
Id of the process executed in this allocation. Always set for non-fixed jobs, never set for fixed jobs.- Specified by:
getProcessin interfaceIDtoAllocation
-
setProcess
Id of the process executed in this allocation. Always set for non-fixed jobs, never set for fixed jobs.- Specified by:
setProcessin interfaceIDtoAllocation
-
getDevice
Id of the device used by this allocation.- Specified by:
getDevicein interfaceIDtoAllocation
-
setDevice
Id of the device used by this allocation.- Specified by:
setDevicein interfaceIDtoAllocation
-
getRunCost
The total cost in production (after setup, before teardown). Redundant information (see process, job, runModel)- Specified by:
getRunCostin interfaceIDtoAllocation
-
setRunCost
The total cost in production (after setup, before teardown). Redundant information (see process, job, runModel)- Specified by:
setRunCostin interfaceIDtoAllocation
-
getRunDuration
The total duration in production (after setup, before teardown). Does not include possible time spent in breaks (i.e. this can differ from runEnd - runStart). Redundant information (see process, job, runModel)- Specified by:
getRunDurationin interfaceIDtoAllocation
-
setRunDuration
The total duration in production (after setup, before teardown). Does not include possible time spent in breaks (i.e. this can differ from runEnd - runStart). Redundant information (see process, job, runModel)- Specified by:
setRunDurationin interfaceIDtoAllocation
-
getSetupCost
The total cost in setup (before production). Redundant information (see deviceState, other allocations, job, setupModel)- Specified by:
getSetupCostin interfaceIDtoAllocation
-
setSetupCost
The total cost in setup (before production). Redundant information (see deviceState, other allocations, job, setupModel)- Specified by:
setSetupCostin interfaceIDtoAllocation
-
getSetupDuration
The total duration in setup (before production). Does not include possible time spent in breaks (i.e. this can differ from setupEnd - setupStart). Redundant information (see deviceState, other allocations, job, setupModel)- Specified by:
getSetupDurationin interfaceIDtoAllocation
-
setSetupDuration
The total duration in setup (before production). Does not include possible time spent in breaks (i.e. this can differ from setupEnd - setupStart). Redundant information (see deviceState, other allocations, job, setupModel)- Specified by:
setSetupDurationin interfaceIDtoAllocation
-
getTeardownCost
The total cost in teardown (after production). Redundant information (see deviceState, other allocations, job, setupModel)- Specified by:
getTeardownCostin interfaceIDtoAllocation
-
setTeardownCost
The total cost in teardown (after production). Redundant information (see deviceState, other allocations, job, setupModel)- Specified by:
setTeardownCostin interfaceIDtoAllocation
-
getTeardownDuration
The total duration in teardown (after production). Does not include possible time spent in breaks (i.e. this can differ from teardownEnd - teardownStart) Redundant information (see deviceState, other allocations, job, setupModel)- Specified by:
getTeardownDurationin interfaceIDtoAllocation
-
setTeardownDuration
The total duration in teardown (after production). Does not include possible time spent in breaks (i.e. this can differ from teardownEnd - teardownStart) Redundant information (see deviceState, other allocations, job, setupModel)- Specified by:
setTeardownDurationin interfaceIDtoAllocation
-
getDependencies
All allocations that this allocation directly depends on. An allocation depends on the allocations for all productionJobs that this allocation's job has a dependency for. Redundant information (see job + device + other allocations + selectedAlterantives + input transportations)- Specified by:
getDependenciesin interfaceIDtoAllocation
-
setDependencies
All allocations that this allocation directly depends on. An allocation depends on the allocations for all productionJobs that this allocation's job has a dependency for. Redundant information (see job + device + other allocations + selectedAlterantives + input transportations)- Specified by:
setDependenciesin interfaceIDtoAllocation
-
getToolUsages
The tools needed during some times by this allocation. Redundant information (see process + setupStart/runStart/runEnd/teardownEnd)- Specified by:
getToolUsagesin interfaceIDtoAllocation
-
setToolUsages
The tools needed during some times by this allocation. Redundant information (see process + setupStart/runStart/runEnd/teardownEnd)- Specified by:
setToolUsagesin interfaceIDtoAllocation
-
getSkillUsages
The skills needed during some times by this allocation. Redundant information (see process + setupStart/runStart/runEnd/teardownEnd)- Specified by:
getSkillUsagesin interfaceIDtoAllocation
-
setSkillUsages
The skills needed during some times by this allocation. Redundant information (see process + setupStart/runStart/runEnd/teardownEnd)- Specified by:
setSkillUsagesin interfaceIDtoAllocation
-
getProducedMaterials
The Material produced at some time during this allocation. Redundant information (see job + setupStart/runStart/runEnd/teardownEnd)- Specified by:
getProducedMaterialsin interfaceIDtoAllocation
-
setProducedMaterials
The Material produced at some time during this allocation. Redundant information (see job + setupStart/runStart/runEnd/teardownEnd)- Specified by:
setProducedMaterialsin interfaceIDtoAllocation
-
getConsumedMaterials
The Material produced at some time during this allocation. Redundant information (see job + setupStart/runStart/runEnd/teardownEnd)- Specified by:
getConsumedMaterialsin interfaceIDtoAllocation
-
setConsumedMaterials
The Material produced at some time during this allocation. Redundant information (see job + setupStart/runStart/runEnd/teardownEnd)- Specified by:
setConsumedMaterialsin interfaceIDtoAllocation
-
equals
-
hashCode
public int hashCode() -
withId
Unique identifier among all DtoAllocations. -
withSetupStart
Start preparation of the needed deviceState at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart). -
withSetupEnd
Finish preparation of the needed deviceState at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart). Redundant information Will always be equal to runStart. -
withRunStart
Start production at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart). Will always be equal to setupEnd. tecnically Redundant information (see device avaiabilities, reservations, setup and run duration, ...) -
withRunEnd
Finish production at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart). Redundant information Will always be equal to teardownStart. -
withTeardownStart
Start preparation of teardownDeviceState after run at this time (TeardownEnd >= TeardownStart = RunEnd > RunStart = SetupEnd >= SetupStart). Will always be equal to runEnd. tecnically Redundant information (see device avaiabilities, reservations, setup and run duration, ...) -
withTeardownEnd
Finish preparation of teardownDeviceState after run at this time (teardownEnd greater or equal teardownStart equal to runEnd greater than runStart equal to setupEnd greater or equal setupStart). tecnically Redundant information (see device avaiabilities, reservations, setup and run duration, ...) -
withJob
Id of the production job that is produced in this allocation. -
withProcess
Id of the process executed in this allocation. Always set for non-fixed jobs, never set for fixed jobs. -
withDevice
Id of the device used by this allocation. -
withRunCost
The total cost in production (after setup, before teardown). Redundant information (see process, job, runModel) -
withRunDuration
The total duration in production (after setup, before teardown). Does not include possible time spent in breaks (i.e. this can differ from runEnd - runStart). Redundant information (see process, job, runModel) -
withSetupCost
The total cost in setup (before production). Redundant information (see deviceState, other allocations, job, setupModel) -
withSetupDuration
The total duration in setup (before production). Does not include possible time spent in breaks (i.e. this can differ from setupEnd - setupStart). Redundant information (see deviceState, other allocations, job, setupModel) -
withTeardownCost
The total cost in teardown (after production). Redundant information (see deviceState, other allocations, job, setupModel) -
withTeardownDuration
The total duration in teardown (after production). Does not include possible time spent in breaks (i.e. this can differ from teardownEnd - teardownStart) Redundant information (see deviceState, other allocations, job, setupModel) -
withDependencies
All allocations that this allocation directly depends on. An allocation depends on the allocations for all productionJobs that this allocation's job has a dependency for. Redundant information (see job + device + other allocations + selectedAlterantives + input transportations) -
withToolUsages
The tools needed during some times by this allocation. Redundant information (see process + setupStart/runStart/runEnd/teardownEnd) -
withSkillUsages
The skills needed during some times by this allocation. Redundant information (see process + setupStart/runStart/runEnd/teardownEnd) -
withProducedMaterials
The Material produced at some time during this allocation. Redundant information (see job + setupStart/runStart/runEnd/teardownEnd) -
withConsumedMaterials
The Material produced at some time during this allocation. Redundant information (see job + setupStart/runStart/runEnd/teardownEnd)
-